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

Method isEditorVisible

test/e2e/models/CodeServer.ts:354–363  ·  view source on GitHub ↗

* Checks if the editor is visible

()

Source from the content-addressed store, hash-verified

352 * Checks if the editor is visible
353 */
354 async isEditorVisible() {
355 this.codeServer.logger.debug("Waiting for editor to be visible...")
356 // Make sure the editor actually loaded
357 await this.page.waitForSelector(this.editorSelector)
358 const visible = await this.page.isVisible(this.editorSelector)
359
360 this.codeServer.logger.debug(`Editor is ${visible ? "not visible" : "visible"}!`)
361
362 return visible
363 }
364
365 /**
366 * Checks if the test extension loaded

Callers 3

codeServer.test.tsFile · 0.80
login.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected