Skip to content

Commit 4f3d30d

Browse files
committed
fix: wait for test extension to load
1 parent 8b53362 commit 4f3d30d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/e2e/extensions.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ function runTestExtensionTests() {
88
test("should have access to VSCODE_PROXY_URI", async ({ codeServerPage }) => {
99
const address = await getMaybeProxiedCodeServer(codeServerPage)
1010

11+
// TODO@jsjoeio - reload page inside executeCommandViaMenus
1112
await codeServerPage.executeCommandViaMenus("code-server: Get proxy URI")
1213

14+
await codeServerPage.page.waitForSelector(".notification-list-item-message", {
15+
timeout: 3000
16+
})
1317
const text = await codeServerPage.page.locator(".notification-list-item-message").textContent()
1418
// Remove end slash in address
1519
const normalizedAddress = address.replace(/\/+$/, "")

0 commit comments

Comments
 (0)