Skip to content

Commit 6aafd04

Browse files
committed
fixed
1 parent 6f7c79e commit 6aafd04

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"release:github-draft": "./ci/build/release-github-draft.sh",
1818
"release:github-assets": "./ci/build/release-github-assets.sh",
1919
"release:prep": "./ci/build/release-prep.sh",
20-
"test:e2e": "VSCODE_DEV=1 VSCODE_IPC_HOOK_CLI= ./ci/dev/test-e2e.sh",
20+
"test:e2e": "VSCODE_IPC_HOOK_CLI= ./ci/dev/test-e2e.sh",
2121
"test:standalone-release": "./ci/build/test-standalone-release.sh",
2222
"test:unit": "./ci/dev/test-unit.sh --forceExit --detectOpenHandles",
2323
"test:scripts": "./ci/dev/test-scripts.sh",

test/e2e/extensions.test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ function testBasicExtension() {
44
// This will only work if the test extension is loaded into code-server.
55
test("should have access to VSCODE_PROXY_URI", async ({ codeServerPage }) => {
66
const address = await codeServerPage.address()
7+
console.log("running test", address)
78

89
await codeServerPage.executeCommandViaMenus("code-server: Get proxy URI")
910

10-
await codeServerPage.page.waitForSelector(`text=${address}/proxy/{port}`)
11+
// Click span:has-text("https://localhost:57989/proxy/{{port}}")
12+
await codeServerPage.page.waitForSelector(`span:has-text("${address}/proxy/{{port}}")`)
1113
})
1214
}
1315

0 commit comments

Comments
 (0)