Skip to content

Commit

Permalink
test: integration tests for client side redirect handling
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Oct 2, 2024
1 parent 916f157 commit 28dbcb9
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
40 changes: 40 additions & 0 deletions e2e/broken-link.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,44 @@ test.describe('client side navigation', () => {

await terminate(pid!);
});

test('redirect', async ({ page }) => {
const [port, pid] = await start(true);
await page.goto(`http://localhost:${port}`);

// Click on a link to a redirect
await page.getByRole('link', { name: 'Correct redirect' }).click();

// The page renders the target page
await expect(page.getByRole('heading')).toHaveText('Existing page');

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Index</h1> - unexpected value "Index" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Index</h1> - unexpected value "Index" - locator resolved to <h1>Index</h1> - unexpected value "Index" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Index</h1> - unexpected value "Index" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 18.17.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Index</h1> - unexpected value "Index" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (2/4)

[firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [firefox] › broken-link.spec.ts:174:3 › client side navigation › redirect ───────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (1/4)

[chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [chromium] › broken-link.spec.ts:174:3 › client side navigation › redirect ──────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 20.8.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on ubuntu-latest (Node 18.17.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Index</h1> - unexpected value "Index" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45

Check failure on line 182 in e2e/broken-link.spec.ts

View workflow job for this annotation

GitHub Actions / E2E on macos-latest (Node 20.8.0) - (3/4)

[webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect

1) [webkit] › broken-link.spec.ts:174:3 › client side navigation › redirect ────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('heading') Expected string: "Existing page" Received string: "Custom not found" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('heading') - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" - locator resolved to <h1>Custom not found</h1> - unexpected value "Custom not found" 180 | 181 | // The page renders the target page > 182 | await expect(page.getByRole('heading')).toHaveText('Existing page'); | ^ 183 | // The browsers URL is the one of the target page 184 | expect(page.url()).toBe(`http://localhost:${port}/exists`); 185 | at /Users/runner/work/waku/waku/e2e/broken-link.spec.ts:182:45
// The browsers URL is the one of the target page
expect(page.url()).toBe(`http://localhost:${port}/exists`);

// Go back to the index page
await page.getByRole('link', { name: 'Back' }).click();
await expect(page.getByRole('heading')).toHaveText('Index');

await terminate(pid!);
});

test('broken redirect', async ({ page }) => {
const [port, pid] = await start(true);
await page.goto(`http://localhost:${port}`);

// Click on a link to a broken redirect
await page.getByRole('link', { name: 'Broken redirect' }).click();

// Navigate to a page that redirects to a non-existing page
await page.goto(`http://localhost:${port}/broken-redirect`);
// The page renders the custom 404.tsx
await expect(page.getByRole('heading')).toHaveText('Custom not found');
// The browsers URL remains the one that was redirected to
expect(page.url()).toBe(`http://localhost:${port}/broken`);

// Go back to the index page
await page.getByRole('link', { name: 'Back' }).click();
await expect(page.getByRole('heading')).toHaveText('Index');

await terminate(pid!);
});
});
2 changes: 1 addition & 1 deletion e2e/fixtures/broken-links/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Index() {
<Link to="/broken">Broken link</Link>
</p>
<p>
<Link to="/redirect">Correct Redirect</Link>
<Link to="/redirect">Correct redirect</Link>
</p>
<p>
<Link to="/broken-redirect">Broken redirect</Link>
Expand Down

0 comments on commit 28dbcb9

Please sign in to comment.