Archived
1
0

refactor: fix tests to check visibility correctly

This commit is contained in:
Joe Previte
2021-04-20 10:48:17 -07:00
parent 2665a4f61b
commit 2bf0a0e76e
4 changed files with 8 additions and 8 deletions

View File

@ -20,6 +20,6 @@ test.describe("globalSetup", () => {
test("should keep us logged in using the storageState", options, async ({ page }) => {
await page.goto(CODE_SERVER_ADDRESS, { waitUntil: "networkidle" })
// Make sure the editor actually loaded
expect(await page.isVisible("div.monaco-workbench"))
expect(await page.isVisible("div.monaco-workbench")).toBe(true)
})
})