Explorar o código

test(e2e): fix fail on basic test

Andelf %!s(int64=3) %!d(string=hai) anos
pai
achega
57a54078fc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)