2022-01-05 05:02:25 +08:00
|
|
|
import { describe, test } from "./baseFixture"
|
|
|
|
|
|
|
|
describe("Extensions", true, () => {
|
|
|
|
// This will only work if the test extension is loaded into code-server.
|
|
|
|
test("should have access to VSCODE_PROXY_URI", async ({ codeServerPage }) => {
|
|
|
|
const address = await codeServerPage.address()
|
|
|
|
|
|
|
|
await codeServerPage.executeCommandViaMenus("code-server: Get proxy URI")
|
|
|
|
|
2022-01-06 04:06:32 +08:00
|
|
|
await codeServerPage.page.waitForSelector(`text=${address}/proxy/{port}`)
|
2022-01-05 05:02:25 +08:00
|
|
|
})
|
|
|
|
})
|