404 and broken link handling #4768
Annotations
10 errors, 6 warnings, and 1 notice
Run pnpm exec playwright test --forbid-only --shard=1/4
49341 stderr: TypeError: Unknown file extension ".css" for D:\a\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:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:79:11)
at defaultGetFormat (node:internal/modules/esm/get_format:124:36)
at defaultLoad (node:internal/modules/esm/load:84:20)
at nextLoad (node:internal/modules/esm/loader:163:28)
at ESMLoader.load (node:internal/modules/esm/loader:603:26)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:22)
at new ModuleJob (node:internal/modules/esm/module_job:64:26)
at #createModuleJob (node:internal/modules/esm/loader:480:17)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:434:34)
at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:79:21) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --forbid-only --shard=1/4
49341 stderr: TypeError: Unknown file extension ".css" for D:\a\waku\waku\node_modules\.pnpm\[email protected][email protected][email protected]__re_p75voa33vfawi3tdwgrpfvxgnu\node_modules\react-tweet\dist\twitter-theme\tweet-actions.module.css
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:79:11)
at defaultGetFormat (node:internal/modules/esm/get_format:124:36)
at defaultLoad (node:internal/modules/esm/load:84:20)
at nextLoad (node:internal/modules/esm/loader:163:28)
at ESMLoader.load (node:internal/modules/esm/loader:603:26)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:22)
at new ModuleJob (node:internal/modules/esm/module_job:64:26)
at #createModuleJob (node:internal/modules/esm/loader:480:17)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:434:34)
at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:79:21) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --forbid-only --shard=1/4
49518 stderr: Error: The render was aborted by the server without a reason.
at abort (file:///D:/a/waku/waku/examples/23_actions/dist/rsdw-server.js:1402:39)
at Object.cancel (file:///D:/a/waku/waku/examples/23_actions/dist/rsdw-server.js:2140:9)
at readableByteStreamControllerCancelSteps (node:internal/webstreams/readablestream:3022:37)
at [kCancel] (node:internal/webstreams/readablestream:1166:12)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at readableStreamCancel (node:internal/webstreams/readablestream:1887:5)
at ReadableStream.cancel (node:internal/webstreams/readablestream:328:12)
at writeFromReadableStream (file:///D:/a/waku/waku/node_modules/.pnpm/@HONO[email protected][email protected]/node_modules/@hono/node-server/dist/index.mjs:140:12)
at responseViaCache (file:///D:/a/waku/waku/node_modules/.pnpm/@HONO[email protected][email protected]/node_modules/@hono/node-server/dist/index.mjs:321:12)
at responseViaResponseObject (file:///D:/a/waku/waku/node_modules/.pnpm/@HONO[email protected][email protected]/node_modules/@hono/node-server/dist/index.mjs:343:12)
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e\broken-link.spec.ts#L84
1) [chromium] › broken-link.spec.ts:78:3 › server side navigation › missing page ─────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Custom not found"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
82 | await page.goto(`http://localhost:${port}/broken`);
83 | // The page renders the custom 404.tsx
> 84 | await expect(page.getByRole('heading')).toHaveText('Custom not found');
| ^
85 | // The browsers URL remains the one that was navigated to
86 | expect(page.url()).toBe(`http://localhost:${port}/broken`);
87 |
at D:\a\waku\waku\e2e\broken-link.spec.ts:84:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e\broken-link.spec.ts#L84
1) [chromium] › broken-link.spec.ts:78:3 › server side navigation › missing page ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Custom not found"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
82 | await page.goto(`http://localhost:${port}/broken`);
83 | // The page renders the custom 404.tsx
> 84 | await expect(page.getByRole('heading')).toHaveText('Custom not found');
| ^
85 | // The browsers URL remains the one that was navigated to
86 | expect(page.url()).toBe(`http://localhost:${port}/broken`);
87 |
at D:\a\waku\waku\e2e\broken-link.spec.ts:84:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e\broken-link.spec.ts#L84
1) [chromium] › broken-link.spec.ts:78:3 › server side navigation › missing page ─────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Custom not found"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
82 | await page.goto(`http://localhost:${port}/broken`);
83 | // The page renders the custom 404.tsx
> 84 | await expect(page.getByRole('heading')).toHaveText('Custom not found');
| ^
85 | // The browsers URL remains the one that was navigated to
86 | expect(page.url()).toBe(`http://localhost:${port}/broken`);
87 |
at D:\a\waku\waku\e2e\broken-link.spec.ts:84:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e\broken-link.spec.ts#L84
1) [chromium] › broken-link.spec.ts:78:3 › server side navigation › missing page ─────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Custom not found"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
82 | await page.goto(`http://localhost:${port}/broken`);
83 | // The page renders the custom 404.tsx
> 84 | await expect(page.getByRole('heading')).toHaveText('Custom not found');
| ^
85 | // The browsers URL remains the one that was navigated to
86 | expect(page.url()).toBe(`http://localhost:${port}/broken`);
87 |
at D:\a\waku\waku\e2e\broken-link.spec.ts:84:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e\broken-link.spec.ts#L110
2) [chromium] › broken-link.spec.ts:104:3 › server side navigation › broken redirect ─────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Custom not found"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
108 | await page.goto(`http://localhost:${port}/broken-redirect`);
109 | // The page renders the custom 404.tsx
> 110 | await expect(page.getByRole('heading')).toHaveText('Custom not found');
| ^
111 | // The browsers URL remains the one that was redirected to
112 | expect(page.url()).toBe(`http://localhost:${port}/broken`);
113 |
at D:\a\waku\waku\e2e\broken-link.spec.ts:110:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e\broken-link.spec.ts#L110
2) [chromium] › broken-link.spec.ts:104:3 › server side navigation › broken redirect ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Custom not found"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
108 | await page.goto(`http://localhost:${port}/broken-redirect`);
109 | // The page renders the custom 404.tsx
> 110 | await expect(page.getByRole('heading')).toHaveText('Custom not found');
| ^
111 | // The browsers URL remains the one that was redirected to
112 | expect(page.url()).toBe(`http://localhost:${port}/broken`);
113 |
at D:\a\waku\waku\e2e\broken-link.spec.ts:110:45
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
e2e\broken-link.spec.ts#L110
2) [chromium] › broken-link.spec.ts:104:3 › server side navigation › broken redirect ─────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "Custom not found"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
108 | await page.goto(`http://localhost:${port}/broken-redirect`);
109 | // The page renders the custom 404.tsx
> 110 | await expect(page.getByRole('heading')).toHaveText('Custom not found');
| ^
111 | // The browsers URL remains the one that was redirected to
112 | expect(page.url()).toBe(`http://localhost:${port}/broken`);
113 |
at D:\a\waku\waku\e2e\broken-link.spec.ts:110:45
|
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] › examples-smoke.spec.ts#L1
[chromium] › examples-smoke.spec.ts took 1.2m
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
[chromium] › multi-platform.spec.ts#L1
[chromium] › multi-platform.spec.ts took 1.2m
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
[chromium] › ssg-performance.spec.ts#L1
[chromium] › ssg-performance.spec.ts took 36.8s
|
Run pnpm exec playwright test --forbid-only --shard=1/4:
[chromium] › partial-builds.spec.ts#L1
[chromium] › partial-builds.spec.ts took 27.5s
|
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-1", "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
6 failed
[chromium] › broken-link.spec.ts:78:3 › server side navigation › missing page ──────────────────
[chromium] › broken-link.spec.ts:104:3 › server side navigation › broken redirect ──────────────
[chromium] › broken-link.spec.ts:133:3 › client side navigation › broken link ──────────────────
[chromium] › broken-link.spec.ts:148:3 › client side navigation › redirect ─────────────────────
[chromium] › broken-link.spec.ts:163:3 › client side navigation › broken redirect ──────────────
[chromium] › create-waku.spec.ts:8:1 › should create waku with default setup work ──────────────
2 skipped
91 passed (14.8m)
|
Loading