1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2025-01-07 17:18:46 +00:00
code-server-2/test/e2e/extensions.test.ts

13 lines
460 B
TypeScript
Raw Normal View History

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")
await codeServerPage.page.waitForSelector(`text=${address}/proxy/{{port}}`)
})
})