Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
test: fix e2e
  • Loading branch information
Mister-Hope committed Feb 20, 2025
commit 3f4db30887c8b01daa90fc2b8fb1f90e6d0eb7c4
153 changes: 132 additions & 21 deletions e2e/tests/router/navigate-by-link.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@

test('should navigate to 404 page correctly', async ({ page }) => {
await page.locator('#html-clean-links + p> a').nth(1).click()
await expect(page).toHaveURL(`${BASE}404.html`)

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 5 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 5 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24

Check failure on line 99 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly

1) [chromium] › tests/router/navigate-by-link.spec.ts:97:3 › html clean links › should navigate to 404 page correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 97 | test('should navigate to 404 page correctly', async ({ page }) => { 98 | await page.locator('#html-clean-links + p> a').nth(1).click() > 99 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 100 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 101 | }) 102 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:99:24
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
})

Expand All @@ -114,13 +114,13 @@

test('should preserve hash', async ({ page }) => {
await page.locator(selector).nth(4).click()
await expect(page).toHaveURL(`${BASE}404.html#404`)

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24

Check failure on line 117 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash

2) [chromium] › tests/router/navigate-by-link.spec.ts:115:3 › html clean links › should preserve hash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404" Received string: "http://127.0.0.1:9080/404/#404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404" 115 | test('should preserve hash', async ({ page }) => { 116 | await page.locator(selector).nth(4).click() > 117 | await expect(page).toHaveURL(`${BASE}404.html#404`) | ^ 118 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 119 | }) 120 | at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:117:24
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
})

test('should preserve hash and query', async ({ page }) => {
await page.locator(selector).nth(5).click()
await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`)

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 5 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24

Check failure on line 123 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query

3) [chromium] › tests/router/navigate-by-link.spec.ts:121:3 › html clean links › should preserve hash and query Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html#404?notFound=true" Received string: "http://127.0.0.1:9080/404/#404?notFound=true" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/#404?notFound=true" 121 | test('should preserve hash and query', async ({ page }) => { 122 | await page.locator(selector).nth(5).click() > 123 | await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`) | ^ 124 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 125 | }) 126 | }) at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:123:24
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
})
})
Expand All @@ -129,47 +129,90 @@
const selector = '#markdown-clean-links + blockquote + ul > li > a'

test('should navigate to home correctly', async ({ page }) => {
await page.locator(selector).nth(0).click()
await expect(page).toHaveURL(BASE)
await expect(page.locator('#home-h2')).toHaveText('Home H2')
const locator = page.locator(selector).nth(0)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL('/')
await expect(page.locator('#home-h2')).toHaveText('Home H2')
} else {
await expect(locator).toHaveAttribute('href', '/')
await expect(locator).toHaveAttribute('target', '_blank')
}
})

test('should navigate to 404 page correctly', async ({ page }) => {
await page.locator(selector).nth(1).click()
await expect(page).toHaveURL(`${BASE}404.html`)
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
const locator = page.locator(selector).nth(1)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL(`${BASE}404.html`)

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 20, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (ubuntu-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /home/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 18, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 3 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 6 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 20, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, vite)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 9 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26

Check failure on line 149 in e2e/tests/router/navigate-by-link.spec.ts

View workflow job for this annotation

GitHub Actions / e2e (macos-latest, 22, webpack)

[chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly

4) [chromium] › tests/router/navigate-by-link.spec.ts:144:3 › markdown clean links › should navigate to 404 page correctly Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://127.0.0.1:9080/404.html" Received string: "http://127.0.0.1:9080/404/" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') 2 × locator resolved to <html lang="en">…</html> - unexpected value "http://127.0.0.1:9080/404/" 7 × locator resolved to <html lang="en-US">…</html> - unexpected value "http://127.0.0.1:9080/404/" 147 | if (BASE === '/') { 148 | await locator.click() > 149 | await expect(page).toHaveURL(`${BASE}404.html`) | ^ 150 | await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2') 151 | } else { 152 | await expect(locator).toHaveAttribute('href', '/404') at /Users/runner/work/core/core/e2e/tests/router/navigate-by-link.spec.ts:149:26
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
} else {
await expect(locator).toHaveAttribute('href', '/404')
await expect(locator).toHaveAttribute('target', '_blank')
}
})

test('should preserve query', async ({ page }) => {
await page.locator(selector).nth(2).click()
await expect(page).toHaveURL(`${BASE}?home=true`)
await expect(page.locator('#home-h2')).toHaveText('Home H2')
const locator = page.locator(selector).nth(2)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL(`${BASE}?home=true`)
await expect(page.locator('#home-h2')).toHaveText('Home H2')
} else {
await expect(locator).toHaveAttribute('href', '/?home=true')
await expect(locator).toHaveAttribute('target', '_blank')
}
})

test('should preserve query and hash', async ({ page }) => {
await page.locator(selector).nth(3).click()
await expect(page).toHaveURL(`${BASE}?home=true#home`)
await expect(page.locator('#home-h2')).toHaveText('Home H2')
const locator = page.locator(selector).nth(3)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL(`${BASE}?home=true#home`)
await expect(page.locator('#home-h2')).toHaveText('Home H2')
} else {
await expect(locator).toHaveAttribute('href', '/?home=true#home')
await expect(locator).toHaveAttribute('target', '_blank')
}
})

test('should preserve hash', async ({ page }) => {
await page.locator(selector).nth(4).click()
await expect(page).toHaveURL(`${BASE}404.html#404`)
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
const locator = page.locator(selector).nth(4)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL(`${BASE}404.html#404`)
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
} else {
await expect(locator).toHaveAttribute('href', '/404#404')
await expect(locator).toHaveAttribute('target', '_blank')
}
})

test('should preserve hash and query', async ({ page }) => {
await page.locator(selector).nth(5).click()
await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`)
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
const locator = page.locator(selector).nth(5)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`)
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
} else {
await expect(locator).toHaveAttribute('href', '/404#404?notFound=true')
await expect(locator).toHaveAttribute('target', '_blank')
}
})
})

test.describe('markdown links with html paths', () => {
const selector = '#markdown-links-with-html-paths + blockquote + ul > li > a'

test('should navigate to home correctly', async ({ page }) => {
const locator = page
.locator('#markdown-links-with-html-paths + blockquote + ul > li > a')
.nth(0)
const locator = page.locator(selector).nth(0)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL('/')
Expand All @@ -179,4 +222,72 @@
await expect(locator).toHaveAttribute('target', '_blank')
}
})

test('should navigate to 404 page correctly', async ({ page }) => {
const locator = page.locator(selector).nth(1)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL(`${BASE}404.html`)
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
} else {
await expect(locator).toHaveAttribute('href', '/404.html')
await expect(locator).toHaveAttribute('target', '_blank')
}
})

test('should preserve query', async ({ page }) => {
const locator = page.locator(selector).nth(2)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL(`${BASE}?home=true`)
await expect(page.locator('#home-h2')).toHaveText('Home H2')
} else {
await expect(locator).toHaveAttribute('href', '/?home=true')
await expect(locator).toHaveAttribute('target', '_blank')
}
})

test('should preserve query and hash', async ({ page }) => {
const locator = page.locator(selector).nth(3)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL(`${BASE}?home=true#home`)
await expect(page.locator('#home-h2')).toHaveText('Home H2')
} else {
await expect(locator).toHaveAttribute('href', '/?home=true#home')
await expect(locator).toHaveAttribute('target', '_blank')
}
})

test('should preserve hash', async ({ page }) => {
const locator = page.locator(selector).nth(4)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL(`${BASE}404.html#404`)
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
} else {
await expect(locator).toHaveAttribute('href', '/404.html#404')
await expect(locator).toHaveAttribute('target', '_blank')
}
})

test('should preserve hash and query', async ({ page }) => {
const locator = page.locator(selector).nth(5)

if (BASE === '/') {
await locator.click()
await expect(page).toHaveURL(`${BASE}404.html#404?notFound=true`)
await expect(page.locator('#notfound-h2')).toHaveText('NotFound H2')
} else {
await expect(locator).toHaveAttribute(
'href',
'/404.html#404?notFound=true',
)
await expect(locator).toHaveAttribute('target', '_blank')
}
})
})
Loading