mirror of
https://github.com/coder/code-server.git
synced 2024-12-28 12:14:18 +03:00
f61ec4a41c
Add CLI flag to disable workspace trust feature, as described in documentation: https://code.visualstudio.com/docs/editor/workspace-trust Add test for workspace trust argument.
13 lines
658 B
TypeScript
13 lines
658 B
TypeScript
// NOTE@jsjoeio commenting out until we can figure out what's wrong
|
|
// import { describe, test, expect } from "./baseFixture"
|
|
|
|
// describe("logout", true, ["--disable-workspace-trust"], {}, () => {
|
|
// test("should be able logout", async ({ codeServerPage }) => {
|
|
// // Recommended by Playwright for async navigation
|
|
// // https://github.com/microsoft/playwright/issues/1987#issuecomment-620182151
|
|
// await Promise.all([codeServerPage.page.waitForNavigation(), codeServerPage.navigateMenus(["Log Out"])])
|
|
// const currentUrl = codeServerPage.page.url()
|
|
// expect(currentUrl).toBe(`${await codeServerPage.address()}/login`)
|
|
// })
|
|
// })
|