Răsfoiți Sursa

fix: e2e fix

Peng Xiao 2 ani în urmă
părinte
comite
d35c6d2b06
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      e2e-tests/whiteboards.spec.ts

+ 1 - 1
e2e-tests/whiteboards.spec.ts

@@ -19,7 +19,7 @@ test('enable whiteboards', async ({ page }) => {
 test('create new whiteboard', async ({ page }) => {
     await page.click('.nav-header .whiteboard')
     await page.click('#tl-create-whiteboard')
-    await expect(page.locator('.logseq-tldraw')).toHaveCount(1)
+    await expect(page.locator('.logseq-tldraw')).toBeVisible()
 })
 
 test('check if the page contains the onboarding whiteboard', async ({ page }) => {