Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion playwright/e2e/links.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
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 }) => {
Expand All @@ -128,7 +128,7 @@
await editor.press('Shift+Home')
await editor.press('Control+k')
const bubble = page.locator('.link-view-bubble')
await expect(bubble).toBeVisible()

Check failure on line 131 in playwright/e2e/links.spec.ts

View workflow job for this annotation

GitHub Actions / playwright (2, 3)

[chromium] › playwright/e2e/links.spec.ts:125:2 › link bubble › mod-k turns the selection into a link and focuses the URL field

1) [chromium] › playwright/e2e/links.spec.ts:125:2 › link bubble › mod-k turns the selection into a link and focuses the URL field Error: expect(locator).toBeVisible() failed Locator: locator('.link-view-bubble') Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" locator('.link-view-bubble') with timeout 5000ms - waiting for locator('.link-view-bubble') 129 | await editor.press('Control+k') 130 | const bubble = page.locator('.link-view-bubble') > 131 | await expect(bubble).toBeVisible() | ^ 132 | await expect(bubble.getByLabel('URL')).toBeFocused() 133 | await bubble.getByLabel('URL').fill('https://example.com/') 134 | await bubble.getByLabel('URL').press('Enter') at /home/runner/work/text/text/playwright/e2e/links.spec.ts:131:24
await expect(bubble.getByLabel('URL')).toBeFocused()
await bubble.getByLabel('URL').fill('https://example.com/')
await bubble.getByLabel('URL').press('Enter')
Expand Down
Loading