Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/test/e2e/globalSetup.test.ts

16 lines
492 B
TypeScript
Raw Normal View History

import { storageState } from "../utils/constants"
import { test, expect } from "./baseFixture"
2021-04-01 20:48:23 +02:00
// This test is to make sure the globalSetup works as expected
// meaning globalSetup ran and stored the storageState
test.describe("globalSetup", () => {
test.use({
storageState,
})
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-01 20:48:23 +02:00
})
})