Explorar o código

fix: editor e2e tests

Tienson Qin %!s(int64=2) %!d(string=hai) anos
pai
achega
172cd305d5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      e2e-tests/editor.spec.ts

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

@@ -596,7 +596,7 @@ test('should keep correct undo and redo seq after indenting or outdenting the bl
   await page.keyboard.press(modKey + '+Shift+z')
   // should redo "bar" input
   await expect(page.locator('textarea >> nth=0')).toHaveText("bar")
-  await page.keyboard.press("Shift+Tab")
+  await page.keyboard.press("Shift+Tab", { delay: 10 })
 
   await page.keyboard.press("Enter")
   await expect(page.locator('textarea >> nth=0')).toHaveText("")