refactor: render-type to use new_createPages and fix layouts for new_createPages #5225
Annotations
10 errors, 7 warnings, and 1 notice
Run pnpm exec playwright test --shard=1/4:
e2e/create-waku.spec.ts#L1
stderr: node:internal/bootstrap/switches/does_own_process_state:126
cachedCwd = rawMethods.cwd();
^
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:126:28)
at process.cwd (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:45:23)
at process.cwd (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:7749:23)
at ../node_modules/.pnpm/get-source@2.0.12/node_modules/get-source/impl/path.js (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:38842:58)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../node_modules/.pnpm/get-source@2.0.12/node_modules/get-source/get-source.js (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:38933:17)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../node_modules/.pnpm/stacktracey@2.1.8/node_modules/stacktracey/stacktracey.js (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:39240:21)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../cli/default-reporter/lib/reportError.js (/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.4.0/node_modules/pnpm/dist/pnpm.cjs:39481:42) {
errno: -2,
code: 'ENOENT',
syscall: 'uv_cwd'
}
Node.js v18.17.0
|
Run pnpm exec playwright test --shard=1/4:
e2e/create-waku.spec.ts#L1
stderr: Could not execute pnpm install. Please run
|
Run pnpm exec playwright test --shard=1/4
35877 stderr: TypeError: Unknown file extension ".css" for /home/runner/work/waku/waku/node_modules/.pnpm/react-tweet@3.2.0_react-dom@19.0.0-rc-5c56b873-20241107_react@19.0.0-rc-5c56b873-20241107__re_n26otrjmoamx67qv6scqewcd6y/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 --shard=1/4
35877 stderr: TypeError: Unknown file extension ".css" for /home/runner/work/waku/waku/node_modules/.pnpm/react-tweet@3.2.0_react-dom@19.0.0-rc-5c56b873-20241107_react@19.0.0-rc-5c56b873-20241107__re_n26otrjmoamx67qv6scqewcd6y/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 --shard=1/4:
e2e/render-type.spec.ts#L86
1) [chromium] › render-type.spec.ts:84:5 › render type › dynamic › renders dynamic content ───────
Error: expect(received).toEqual(expected) // deep equality
Expected: "dynamic-echo"
Received: ""
84 | test('renders dynamic content', async ({ page }) => {
85 | await page.goto(`http://localhost:${port}/server/dynamic/dynamic-echo`);
> 86 | expect(await page.getByTestId('echo').innerText()).toEqual(
| ^
87 | 'dynamic-echo',
88 | );
89 | });
at /home/runner/work/waku/waku/e2e/render-type.spec.ts:86:58
|
Run pnpm exec playwright test --shard=1/4:
e2e/render-type.spec.ts#L86
1) [chromium] › render-type.spec.ts:84:5 › render type › dynamic › renders dynamic content ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "dynamic-echo"
Received: ""
84 | test('renders dynamic content', async ({ page }) => {
85 | await page.goto(`http://localhost:${port}/server/dynamic/dynamic-echo`);
> 86 | expect(await page.getByTestId('echo').innerText()).toEqual(
| ^
87 | 'dynamic-echo',
88 | );
89 | });
at /home/runner/work/waku/waku/e2e/render-type.spec.ts:86:58
|
Run pnpm exec playwright test --shard=1/4:
e2e/render-type.spec.ts#L86
1) [chromium] › render-type.spec.ts:84:5 › render type › dynamic › renders dynamic content ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "dynamic-echo"
Received: ""
84 | test('renders dynamic content', async ({ page }) => {
85 | await page.goto(`http://localhost:${port}/server/dynamic/dynamic-echo`);
> 86 | expect(await page.getByTestId('echo').innerText()).toEqual(
| ^
87 | 'dynamic-echo',
88 | );
89 | });
at /home/runner/work/waku/waku/e2e/render-type.spec.ts:86:58
|
Run pnpm exec playwright test --shard=1/4:
e2e/render-type.spec.ts#L86
1) [chromium] › render-type.spec.ts:84:5 › render type › dynamic › renders dynamic content ───────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "dynamic-echo"
Received: ""
84 | test('renders dynamic content', async ({ page }) => {
85 | await page.goto(`http://localhost:${port}/server/dynamic/dynamic-echo`);
> 86 | expect(await page.getByTestId('echo').innerText()).toEqual(
| ^
87 | 'dynamic-echo',
88 | );
89 | });
at /home/runner/work/waku/waku/e2e/render-type.spec.ts:86:58
|
Run pnpm exec playwright test --shard=1/4:
e2e/render-type.spec.ts#L103
2) [chromium] › render-type.spec.ts:101:5 › render type › dynamic › hydrates client components ───
Error: expect(received).toEqual(expected) // deep equality
Expected: "dynamic-echo"
Received: ""
101 | test('hydrates client components', async ({ page }) => {
102 | await page.goto(`http://localhost:${port}/client/dynamic/dynamic-echo`);
> 103 | expect(await page.getByTestId('echo').innerText()).toEqual(
| ^
104 | 'dynamic-echo',
105 | );
106 | const timestamp = await page.getByTestId('timestamp').innerText();
at /home/runner/work/waku/waku/e2e/render-type.spec.ts:103:58
|
Run pnpm exec playwright test --shard=1/4:
e2e/render-type.spec.ts#L103
2) [chromium] › render-type.spec.ts:101:5 › render type › dynamic › hydrates client components ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "dynamic-echo"
Received: ""
101 | test('hydrates client components', async ({ page }) => {
102 | await page.goto(`http://localhost:${port}/client/dynamic/dynamic-echo`);
> 103 | expect(await page.getByTestId('echo').innerText()).toEqual(
| ^
104 | 'dynamic-echo',
105 | );
106 | const timestamp = await page.getByTestId('timestamp').innerText();
at /home/runner/work/waku/waku/e2e/render-type.spec.ts:103:58
|
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 --shard=1/4:
[chromium] › broken-link.spec.ts#L1
[chromium] › broken-link.spec.ts took 1.3m
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › multi-platform.spec.ts#L1
[chromium] › multi-platform.spec.ts took 1.0m
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › examples-smoke.spec.ts#L1
[chromium] › examples-smoke.spec.ts took 56.2s
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › ssg-performance.spec.ts#L1
[chromium] › ssg-performance.spec.ts took 30.4s
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › partial-builds.spec.ts#L1
[chromium] › partial-builds.spec.ts took 25.2s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report-macos-latest-22.7.0-1", "playwright-report-macos-latest-22.7.0-3", "playwright-report-macos-latest-22.7.0-4", "playwright-report-ubuntu-latest-18.17.0-1", "playwright-report-ubuntu-latest-18.17.0-3", "playwright-report-ubuntu-latest-18.17.0-4", "playwright-report-ubuntu-latest-20.8.0-1", "playwright-report-ubuntu-latest-20.8.0-3", "playwright-report-ubuntu-latest-20.8.0-4", "playwright-report-ubuntu-latest-22.7.0-1", "playwright-report-ubuntu-latest-22.7.0-3", "playwright-report-ubuntu-latest-22.7.0-4", "playwright-report-windows-latest-22.7.0-1", "playwright-report-windows-latest-22.7.0-3", "playwright-report-windows-latest-22.7.0-4".
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 --shard=1/4
2 failed
[chromium] › render-type.spec.ts:84:5 › render type › dynamic › renders dynamic content ────────
[chromium] › render-type.spec.ts:101:5 › render type › dynamic › hydrates client components ────
2 skipped
101 passed (8.7m)
|
Loading