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