mirror of
https://github.com/coder/code-server.git
synced 2026-05-06 12:31:58 +02:00
add CLI argument --disable-workspace-trust (#5638)
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.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { PASSWORD } from "../utils/constants"
|
||||
import { describe, test, expect } from "./baseFixture"
|
||||
|
||||
describe("login", ["--auth", "password"], {}, () => {
|
||||
describe("login", ["--disable-workspace-trust", "--auth", "password"], {}, () => {
|
||||
test("should see the login page", async ({ codeServerPage }) => {
|
||||
// It should send us to the login page
|
||||
expect(await codeServerPage.page.title()).toBe("code-server login")
|
||||
|
||||
Reference in New Issue
Block a user