404 and broken link handling #4863
Annotations
10 errors, 6 warnings, and 1 notice
Run pnpm exec playwright test --forbid-only --shard=1/4
46043 stderr: TypeError: Unknown file extension ".css" for /home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected][email protected]__re_p75voa33vfawi3tdwgrpfvxgnu/node_modules/react-tweet/dist/twitter-theme/tweet-info-created-at.module.css
at new NodeError (node:internal/errors:406:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:99:9)
at defaultGetFormat (node:internal/modules/esm/get_format:142:36)
at defaultLoad (node:internal/modules/esm/load:120:20)
at ModuleLoader.load (node:internal/modules/esm/loader:396:13)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:56)
at new ModuleJob (node:internal/modules/esm/module_job:65:26)
at #createModuleJob (node:internal/modules/esm/loader:290:17)
at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:248:34)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:229:17)
at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:21) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e/broken-link.spec.ts#L94
1) [chromium] › broken-link.spec.ts:82:3 › server side navigation › missing page ─────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Index"
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"
92 | // Go back to the index page
93 | await page.getByRole('link', { name: 'Back' }).click();
> 94 | await expect(page.getByRole('heading')).toHaveText('Index');
| ^
95 |
96 | await terminate(pid!);
97 | });
at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:94:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e/broken-link.spec.ts#L94
1) [chromium] › broken-link.spec.ts:82:3 › server side navigation › missing page ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Index"
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"
92 | // Go back to the index page
93 | await page.getByRole('link', { name: 'Back' }).click();
> 94 | await expect(page.getByRole('heading')).toHaveText('Index');
| ^
95 |
96 | await terminate(pid!);
97 | });
at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:94:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e/broken-link.spec.ts#L94
1) [chromium] › broken-link.spec.ts:82:3 › server side navigation › missing page ─────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Index"
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"
92 | // Go back to the index page
93 | await page.getByRole('link', { name: 'Back' }).click();
> 94 | await expect(page.getByRole('heading')).toHaveText('Index');
| ^
95 |
96 | await terminate(pid!);
97 | });
at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:94:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e/broken-link.spec.ts#L94
1) [chromium] › broken-link.spec.ts:82:3 › server side navigation › missing page ─────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Index"
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"
92 | // Go back to the index page
93 | await page.getByRole('link', { name: 'Back' }).click();
> 94 | await expect(page.getByRole('heading')).toHaveText('Index');
| ^
95 |
96 | await terminate(pid!);
97 | });
at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:94:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e/broken-link.spec.ts#L128
2) [chromium] › broken-link.spec.ts:116:3 › server side navigation › broken redirect ─────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Index"
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"
126 | // Go back to the index page
127 | await page.getByRole('link', { name: 'Back' }).click();
> 128 | await expect(page.getByRole('heading')).toHaveText('Index');
| ^
129 |
130 | await terminate(pid!);
131 | });
at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:128:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e/broken-link.spec.ts#L128
2) [chromium] › broken-link.spec.ts:116:3 › server side navigation › broken redirect ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Index"
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"
126 | // Go back to the index page
127 | await page.getByRole('link', { name: 'Back' }).click();
> 128 | await expect(page.getByRole('heading')).toHaveText('Index');
| ^
129 |
130 | await terminate(pid!);
131 | });
at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:128:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e/broken-link.spec.ts#L128
2) [chromium] › broken-link.spec.ts:116:3 › server side navigation › broken redirect ─────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Index"
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"
126 | // Go back to the index page
127 | await page.getByRole('link', { name: 'Back' }).click();
> 128 | await expect(page.getByRole('heading')).toHaveText('Index');
| ^
129 |
130 | await terminate(pid!);
131 | });
at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:128:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e/broken-link.spec.ts#L128
2) [chromium] › broken-link.spec.ts:116:3 › server side navigation › broken redirect ─────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Index"
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"
126 | // Go back to the index page
127 | await page.getByRole('link', { name: 'Back' }).click();
> 128 | await expect(page.getByRole('heading')).toHaveText('Index');
| ^
129 |
130 | await terminate(pid!);
131 | });
at /home/runner/work/waku/waku/e2e/broken-link.spec.ts:128:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
[chromium] › multi-platform.spec.ts#L1
[chromium] › multi-platform.spec.ts took 55.5s
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
[chromium] › examples-smoke.spec.ts#L1
[chromium] › examples-smoke.spec.ts took 45.7s
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
[chromium] › ssg-performance.spec.ts#L1
[chromium] › ssg-performance.spec.ts took 26.0s
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
[chromium] › partial-builds.spec.ts#L1
[chromium] › partial-builds.spec.ts took 23.6s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report-macos-latest-18.17.0-1", "playwright-report-macos-latest-18.17.0-2", "playwright-report-macos-latest-18.17.0-3", "playwright-report-macos-latest-20.8.0-1", "playwright-report-macos-latest-20.8.0-2", "playwright-report-macos-latest-20.8.0-3", "playwright-report-ubuntu-latest-18.17.0-1", "playwright-report-ubuntu-latest-18.17.0-2", "playwright-report-ubuntu-latest-18.17.0-3", "playwright-report-ubuntu-latest-20.8.0-1", "playwright-report-ubuntu-latest-20.8.0-2", "playwright-report-ubuntu-latest-20.8.0-3", "playwright-report-windows-latest-18.17.0-1", "playwright-report-windows-latest-18.17.0-2", "playwright-report-windows-latest-18.17.0-3", "playwright-report-windows-latest-20.8.0-2", "playwright-report-windows-latest-20.8.0-3".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Run pnpm exec playwright test --forbid-only --shard=1/4
2 failed
[chromium] › broken-link.spec.ts:82:3 › server side navigation › missing page ──────────────────
[chromium] › broken-link.spec.ts:116:3 › server side navigation › broken redirect ──────────────
2 skipped
93 passed (9.0m)
|
Loading