We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a692dd5 commit efd7b5dCopy full SHA for efd7b5d
test/e2e/models/CodeServer.ts
@@ -60,11 +60,9 @@ export class CodeServer {
60
* Checks if the editor is visible
61
*/
62
async isConnected() {
63
- // Make sure the editor actually loaded
64
- // If it's not visible after 5 seconds, something is wrong
65
await this.page.waitForLoadState("networkidle")
66
67
- // See [aria-label="Remote Host"] text=${CODE_SERVER_ADDRESS}
+ // See [aria-label="Remote Host"]
68
const hostElement = await this.page.$(`[aria-label="Remote Host"]`)
69
// Returns something like " localhost:8080"
70
const host = await hostElement?.innerText()
0 commit comments