2021-06-23 05:34:44 +08:00
|
|
|
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
|
2021-06-10 21:09:38 +08:00
|
|
|
// meaning globalSetup ran and stored the storageState
|
2022-02-16 05:51:42 +08:00
|
|
|
describe("globalSetup", true, [], () => {
|
2021-06-10 21:09:38 +08:00
|
|
|
test("should keep us logged in using the storageState", async ({ codeServerPage }) => {
|
2021-04-06 06:18:13 +08:00
|
|
|
// Make sure the editor actually loaded
|
2021-06-10 21:09:38 +08:00
|
|
|
expect(await codeServerPage.isEditorVisible()).toBe(true)
|
2021-04-02 02:48:23 +08:00
|
|
|
})
|
|
|
|
})
|