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

@@ -24,7 +24,7 @@ test.describe("login", () => {
await page.click(".submit")
await page.waitForLoadState("networkidle")
// Make sure the editor actually loaded
expect(await page.isVisible("div.monaco-workbench"))
expect(await page.isVisible("div.monaco-workbench")).toBe(true)
})
test("should see an error message for missing password", options, async ({ page }) => {