mirror of
https://github.com/danog/code-server.git
synced 2024-11-27 04:45:52 +01:00
f2fa7701a9
My thinking is that this may reduce the cognitive overhead for developers writing new test suites. This also allows us to perform different setup steps (like ensuring the editor is visible when authenticated).
11 lines
416 B
TypeScript
11 lines
416 B
TypeScript
import { describe, test, expect } from "./baseFixture"
|
|
|
|
// 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)
|
|
})
|
|
})
|