diff --git a/test/e2e/logout.test.ts b/test/e2e/logout.test.ts index ac932fa4..61a0615a 100644 --- a/test/e2e/logout.test.ts +++ b/test/e2e/logout.test.ts @@ -1,19 +1,7 @@ -import { PASSWORD } from "../utils/constants" import { describe, test, expect } from "./baseFixture" -describe("logout", false, () => { - test("should be able login and logout", async ({ codeServerPage }) => { - // Type in password - await codeServerPage.page.fill(".password", PASSWORD) - // Click the submit button and login - await codeServerPage.page.click(".submit") - await codeServerPage.page.waitForLoadState("networkidle") - // We do this because occassionally code-server doesn't load on Firefox - // but loads if you reload once or twice - await codeServerPage.reloadUntilEditorIsReady() - // Make sure the editor actually loaded - expect(await codeServerPage.isEditorVisible()).toBe(true) - +describe("logout", true, () => { + test("should be able logout", async ({ codeServerPage }) => { // Click the Application menu await codeServerPage.page.click("[aria-label='Application Menu']")