ci: use hoisted mode for e2e test #4870
Annotations
3 errors, 6 warnings, and 1 notice
Run pnpm exec playwright test --forbid-only --shard=3/4
44095 stderr: TypeError: Unknown file extension ".css" for /home/runner/work/waku/waku/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=3/4
44095 stderr: TypeError: Unknown file extension ".css" for /home/runner/work/waku/waku/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=3/4:
e2e/ssr-context-provider.spec.ts#L65
1) [firefox] › ssr-context-provider.spec.ts:59:5 › ssr-context-provider: dev › no js environment ─
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('value')
Expected string: "provider value"
Received string: "original"
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('value')
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
- locator resolved to <div data-testid="value">original</div>
- unexpected value "original"
63 | const page = await context.newPage();
64 | await page.goto(`http://localhost:${port}/`);
> 65 | await expect(page.getByTestId('value')).toHaveText('provider value');
| ^
66 | await page.close();
67 | await context.close();
68 | });
at /home/runner/work/waku/waku/e2e/ssr-context-provider.spec.ts:65:47
|
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=3/4:
[firefox] › use-router.spec.ts#L1
[firefox] › use-router.spec.ts took 1.8m
|
Run pnpm exec playwright test --forbid-only --shard=3/4:
[webkit] › examples-smoke.spec.ts#L1
[webkit] › examples-smoke.spec.ts took 46.4s
|
Run pnpm exec playwright test --forbid-only --shard=3/4:
[firefox] › ssg-performance.spec.ts#L1
[firefox] › ssg-performance.spec.ts took 29.1s
|
Run pnpm exec playwright test --forbid-only --shard=3/4:
[webkit] › broken-link.spec.ts#L1
[webkit] › broken-link.spec.ts took 17.9s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report-macos-latest-18.17.0-3", "playwright-report-macos-latest-18.17.0-4", "playwright-report-ubuntu-latest-18.17.0-3", "playwright-report-ubuntu-latest-18.17.0-4", "playwright-report-windows-latest-18.17.0-1", "playwright-report-windows-latest-18.17.0-3", "playwright-report-windows-latest-18.17.0-4", "playwright-report-windows-latest-20.8.0-1", "playwright-report-windows-latest-20.8.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 --forbid-only --shard=3/4
1 flaky
[firefox] › ssr-context-provider.spec.ts:59:5 › ssr-context-provider: dev › no js environment ──
5 skipped
100 passed (7.3m)
|
Loading