fix: typo

pull/9163/head
Tienson Qin 2023-04-19 15:44:06 +08:00
parent bcf575ebd3
commit 64050a4929
1 changed files with 1 additions and 1 deletions

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