MCPcopy Index your code
hub / github.com/coder/code-server / waitForTab

Method waitForTab

test/e2e/models/CodeServer.ts:422–424  ·  view source on GitHub ↗

* Wait for a tab to open for the specified file.

(file: string)

Source from the content-addressed store, hash-verified

420 * Wait for a tab to open for the specified file.
421 */
422 async waitForTab(file: string): Promise<void> {
423 await this.page.waitForSelector(`.tab :text("${path.basename(file)}")`)
424 }
425
426 /**
427 * See if the specified tab is open.

Callers 4

openFileMethod · 0.95
terminal.test.tsFile · 0.80
webview.test.tsFile · 0.80
downloads.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected