Browse Source

test(e2e): fix fail on basic test

Andelf 3 năm trước cách đây
mục cha
commit
57a54078fc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      e2e-tests/basic.spec.ts

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

@@ -15,7 +15,7 @@ test('create page and blocks, save to disk', async ({ page, block, graphDir }) =
   await block.waitForBlocks(2)
 
   await page.keyboard.type('second bullet')
-  await block.clickNext()
+  await block.enterNext()
 
   await page.keyboard.type('third bullet')
   expect(await block.indent()).toBe(true)