refactor: fs-router to use new_createPages & fix staticPaths #5233
Annotations
10 errors, 6 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:144
cachedCwd = rawMethods.cwd();
^
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:144:28)
at process.cwd (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:45:23)
at process.cwd (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:7749:23)
at ../node_modules/.pnpm/[email protected]/node_modules/get-source/impl/path.js (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:38842:58)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../node_modules/.pnpm/[email protected]/node_modules/get-source/get-source.js (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:38933:17)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../node_modules/.pnpm/[email protected]/node_modules/stacktracey/stacktracey.js (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:39240:21)
at __require (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:12:50)
at ../cli/default-reporter/lib/reportError.js (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:39481:42) {
errno: -2,
code: 'ENOENT',
syscall: 'uv_cwd'
}
Node.js v22.7.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
42601 stderr: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for /home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected][email protected]__re_n26otrjmoamx67qv6scqewcd6y/node_modules/react-tweet/dist/twitter-theme/tweet-info-created-at.module.css
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:217:9)
at defaultGetFormat (node:internal/modules/esm/get_format:243:36)
at defaultLoad (node:internal/modules/esm/load:123:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:567:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:442:45) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --shard=1/4
42601 stderr: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for /home/runner/work/waku/waku/node_modules/.pnpm/[email protected][email protected][email protected]__re_n26otrjmoamx67qv6scqewcd6y/node_modules/react-tweet/dist/twitter-theme/tweet-actions.module.css
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:217:9)
at defaultGetFormat (node:internal/modules/esm/get_format:243:36)
at defaultLoad (node:internal/modules/esm/load:123:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:567:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:442:45) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
|
Run pnpm exec playwright test --shard=1/4:
e2e/ssg-performance.spec.ts#L43
1) [chromium] › ssg-performance.spec.ts:29:3 › high volume static site generation › build and verify
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "/path-3"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
41 | await waitPort({ port });
42 | await page.goto(`http://localhost:${port}/path-3`);
> 43 | await expect(page.getByRole('heading')).toHaveText('/path-3');
| ^
44 | });
45 | });
46 |
at /home/runner/work/waku/waku/e2e/ssg-performance.spec.ts:43:45
|
Run pnpm exec playwright test --shard=1/4:
e2e/ssg-performance.spec.ts#L43
1) [chromium] › ssg-performance.spec.ts:29:3 › high volume static site generation › build and verify
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "/path-3"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
41 | await waitPort({ port });
42 | await page.goto(`http://localhost:${port}/path-3`);
> 43 | await expect(page.getByRole('heading')).toHaveText('/path-3');
| ^
44 | });
45 | });
46 |
at /home/runner/work/waku/waku/e2e/ssg-performance.spec.ts:43:45
|
Run pnpm exec playwright test --shard=1/4:
e2e/ssg-performance.spec.ts#L43
1) [chromium] › ssg-performance.spec.ts:29:3 › high volume static site generation › build and verify
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "/path-3"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
41 | await waitPort({ port });
42 | await page.goto(`http://localhost:${port}/path-3`);
> 43 | await expect(page.getByRole('heading')).toHaveText('/path-3');
| ^
44 | });
45 | });
46 |
at /home/runner/work/waku/waku/e2e/ssg-performance.spec.ts:43:45
|
Run pnpm exec playwright test --shard=1/4:
e2e/ssg-performance.spec.ts#L43
1) [chromium] › ssg-performance.spec.ts:29:3 › high volume static site generation › build and verify
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading')
Expected string: "/path-3"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByRole('heading')
41 | await waitPort({ port });
42 | await page.goto(`http://localhost:${port}/path-3`);
> 43 | await expect(page.getByRole('heading')).toHaveText('/path-3');
| ^
44 | });
45 | });
46 |
at /home/runner/work/waku/waku/e2e/ssg-performance.spec.ts:43:45
|
Run pnpm exec playwright test --shard=1/4:
e2e/ssg-wildcard.spec.ts#L64
2) [chromium] › ssg-wildcard.spec.ts:44:3 › ssg wildcard › works ─────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: '/' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('heading', { name: '/' })
62 |
63 | await page.goto(`http://localhost:${port}`);
> 64 | await expect(page.getByRole('heading', { name: '/' })).toBeVisible();
| ^
65 |
66 | await page.goto(`http://localhost:${port}/foo`);
67 | await expect(page.getByRole('heading', { name: '/foo' })).toBeVisible();
at /home/runner/work/waku/waku/e2e/ssg-wildcard.spec.ts:64:60
|
Run pnpm exec playwright test --shard=1/4:
e2e/ssg-wildcard.spec.ts#L64
2) [chromium] › ssg-wildcard.spec.ts:44:3 › ssg wildcard › works ─────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: '/' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('heading', { name: '/' })
62 |
63 | await page.goto(`http://localhost:${port}`);
> 64 | await expect(page.getByRole('heading', { name: '/' })).toBeVisible();
| ^
65 |
66 | await page.goto(`http://localhost:${port}/foo`);
67 | await expect(page.getByRole('heading', { name: '/foo' })).toBeVisible();
at /home/runner/work/waku/waku/e2e/ssg-wildcard.spec.ts:64:60
|
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.2m
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › multi-platform.spec.ts#L1
[chromium] › multi-platform.spec.ts took 53.7s
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › examples-smoke.spec.ts#L1
[chromium] › examples-smoke.spec.ts took 53.0s
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › partial-builds.spec.ts#L1
[chromium] › partial-builds.spec.ts took 22.4s
|
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-2", "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-2", "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-2", "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-2", "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-2", "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
4 failed
[chromium] › ssg-performance.spec.ts:29:3 › high volume static site generation › build and verify
[chromium] › ssg-wildcard.spec.ts:44:3 › ssg wildcard › works ──────────────────────────────────
[chromium] › ssr-catch-error.spec.ts:58:5 › ssr-catch-error: dev › access invalid page through client router
[chromium] › ssr-catch-error.spec.ts:58:5 › ssr-catch-error: start › access invalid page through client router
2 skipped
99 passed (11.4m)
|
Loading