Browse Source

fix: e2e fix

Peng Xiao 2 năm trước cách đây
mục cha
commit
d35c6d2b06
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 }) => {