fix: typo

This commit is contained in:
Tienson Qin
2023-04-19 15:44:06 +08:00
parent bcf575ebd3
commit 64050a4929

View File

@@ -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')