Archived
1
0

refactor: globalSetup to use CodeServer model

This commit is contained in:
Joe Previte
2021-04-21 14:31:15 -07:00
parent cb65590b98
commit b0ecff338f
8 changed files with 128 additions and 59 deletions

View File

@ -20,10 +20,10 @@ test.describe("CodeServer", () => {
test.beforeEach(async ({ page }) => {
codeServer = new CodeServer(page)
await codeServer.navigate()
await codeServer.setup()
})
test("should navigate to the CODE_SERVER_ADDRESS", options, async ({ page }) => {
test(`should navigate to ${CODE_SERVER_ADDRESS}`, options, async ({ page }) => {
// We navigate codeServer before each test
// and we start the test with a storage state
// which means we should be logged in