Peng Xiao преди 3 години
родител
ревизия
d35c6d2b06
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 }) => {