Tienson Qin 2 سال پیش
والد
کامیت
64050a4929
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      e2e-tests/editor.spec.ts

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

@@ -495,7 +495,7 @@ test('press escape when link/image dialog is open, should restore focus to input
 
     // Press enter to open the link dialog
     await page.keyboard.press('Enter')
-    await expect(page.locaitor(`[data-modal-name="input"]`)).toBeVisible()
+    await expect(page.locator(`[data-modal-name="input"]`)).toBeVisible()
 
     // Press escape; should close link dialog and restore focus to the block textarea
     await page.keyboard.press('Escape')