Browse Source

test(e2e): fix fail on basic test

Andelf 3 years ago
parent
commit
57a54078fc
1 changed files with 1 additions and 1 deletions
  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)