refactor: globalSetup and create cookie manually

This commit is contained in:
Joe Previte
2021-04-01 14:52:46 -07:00
parent 51010e73cb
commit c666b47668
7 changed files with 33 additions and 77 deletions

View File

@@ -5,7 +5,7 @@ import { CODE_SERVER_ADDRESS } from "../utils/constants"
describe("login page", () => {
beforeEach(async () => {
await jestPlaywright.resetContext()
await page.goto(CODE_SERVER_ADDRESS)
await page.goto(CODE_SERVER_ADDRESS, { waitUntil: "networkidle" })
})
it("should see the login page", async () => {