MCPcopy Index your code
hub / github.com/bytebase/bytebase / activeTab

Method activeTab

frontend/tests/e2e/sql-editor/sql-editor.page.ts:178–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176
177 // Returns the active (current) tab element, or null if none.
178 activeTab(): Locator {
179 return this.page.locator("[data-tab-id].current").first();
180 }
181
182 // Tab status is encoded as a class on [data-tab-id]: "status-dirty"
183 // when unsaved, "status-clean" otherwise (per TabList state model).

Calls

no outgoing calls

Tested by

no test coverage detected