Просмотр исходного кода

test(e2e): fix fail on basic test

Andelf 3 лет назад
Родитель
Сommit
57a54078fc
1 измененных файлов с 1 добавлено и 1 удалено
  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 block.waitForBlocks(2)
 
 
   await page.keyboard.type('second bullet')
   await page.keyboard.type('second bullet')
-  await block.clickNext()
+  await block.enterNext()
 
 
   await page.keyboard.type('third bullet')
   await page.keyboard.type('third bullet')
   expect(await block.indent()).toBe(true)
   expect(await block.indent()).toBe(true)