diff --git a/playwright/e2e/links.spec.ts b/playwright/e2e/links.spec.ts index 7bcdda2d8dc..907d5148143 100644 --- a/playwright/e2e/links.spec.ts +++ b/playwright/e2e/links.spec.ts @@ -119,7 +119,7 @@ test.describe('link bubble', () => { await link.hover() const bubble = page.locator('.link-view-bubble') await expect(bubble).toBeVisible() - await expect(bubble.locator('.link-view-bubble__title')).toContainText(/example\.com/) + await expect(bubble.locator('.link-view-bubble__title')).toContainText(/example/i) }) test('mod-k turns the selection into a link and focuses the URL field', async ({ editor, page }) => {