code-server/test/e2e/globalSetup.test.ts

11 lines
416 B
TypeScript
Raw Normal View History

import { describe, test, expect } from "./baseFixture"
2021-04-02 02:48:23 +08:00
// This test is to make sure the globalSetup works as expected
// meaning globalSetup ran and stored the storageState
describe("globalSetup", true, () => {
test("should keep us logged in using the storageState", async ({ codeServerPage }) => {
// Make sure the editor actually loaded
expect(await codeServerPage.isEditorVisible()).toBe(true)
2021-04-02 02:48:23 +08:00
})
})