Skip to content

Commit 2ff4552

Browse files
committed
fixup! ✨(frontend) preserve @ character when esc is pressed after typing it
1 parent 67a0bd1 commit 2ff4552

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/frontend/apps/e2e/__tests__/app-impress/doc-editor.spec.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -806,26 +806,9 @@ test.describe('Doc Editor', () => {
806806
});
807807
await expect(interlinkChild1).toBeVisible({ timeout: 10000 });
808808
await expect(interlinkChild1.locator('svg').first()).toBeVisible();
809-
});
810-
811-
test('it keeps @ when pressing Escape', async ({ page, browserName }) => {
812-
const [randomDoc] = await createDoc(
813-
page,
814-
'doc-interlink-esc',
815-
browserName,
816-
1,
817-
);
818809

819-
await verifyDocName(page, randomDoc);
820-
821-
const editor = await getEditor({ page });
822810
await page.keyboard.press('@');
823811

824-
const searchInput = page.locator(
825-
"span[data-inline-content-type='interlinkingSearchInline'] input",
826-
);
827-
await expect(searchInput).toBeVisible();
828-
829812
await page.keyboard.press('Escape');
830813

831814
await expect(editor.getByText('@')).toBeVisible();

0 commit comments

Comments
 (0)