We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4516854 commit 8919848Copy full SHA for 8919848
test/e2e/models/CodeServer.ts
@@ -296,6 +296,23 @@ export class CodeServerPage {
296
return visible
297
}
298
299
+ /**
300
+ * Checks if the test extension loaded
301
+ */
302
+ async isTestExtensionLoaded() {
303
+ const selector = "text=test extension loaded"
304
+ this.codeServer.logger.debug("Waiting for test extension to load...")
305
+ await this.page.waitForSelector(selector, {
306
+ timeout: 3000,
307
+ })
308
+
309
+ const loaded = await this.page.isVisible(selector)
310
311
+ this.codeServer.logger.debug(`Test extension has ${loaded ? "" : "not"} loaded`)
312
313
+ return loaded
314
+ }
315
316
/**
317
* Focuses the integrated terminal by navigating through the command palette.
318
*
0 commit comments