2021-06-22 23:34:44 +02:00
|
|
|
import { describe, test, expect } from "./baseFixture"
|
2021-04-01 20:48:23 +02:00
|
|
|
|
|
|
|
// This test is to make sure the globalSetup works as expected
|
2021-06-10 15:09:38 +02:00
|
|
|
// meaning globalSetup ran and stored the storageState
|
2022-03-02 21:02:51 +01:00
|
|
|
describe("globalSetup", true, [], {}, () => {
|
2021-06-10 15:09:38 +02:00
|
|
|
test("should keep us logged in using the storageState", async ({ codeServerPage }) => {
|
2021-04-06 00:18:13 +02:00
|
|
|
// Make sure the editor actually loaded
|
2021-06-10 15:09:38 +02:00
|
|
|
expect(await codeServerPage.isEditorVisible()).toBe(true)
|
2021-04-01 20:48:23 +02:00
|
|
|
})
|
|
|
|
})
|