fix: remove createRequire for package json #5118
Annotations
1 error, 6 warnings, and 1 notice
Run pnpm exec playwright test --shard=4/4:
e2e/ssr-context-provider.spec.ts#L65
1) [webkit] › 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 --shard=4/4:
[webkit] › use-router.spec.ts#L1
[webkit] › use-router.spec.ts took 1.7m
|
Run pnpm exec playwright test --shard=4/4:
[webkit] › multi-platform.spec.ts#L1
[webkit] › multi-platform.spec.ts took 59.2s
|
Run pnpm exec playwright test --shard=4/4:
[webkit] › ssg-performance.spec.ts#L1
[webkit] › ssg-performance.spec.ts took 26.9s
|
Run pnpm exec playwright test --shard=4/4:
[webkit] › partial-builds.spec.ts#L1
[webkit] › partial-builds.spec.ts took 24.4s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report-ubuntu-latest-18.17.0-1", "playwright-report-ubuntu-latest-18.17.0-3", "playwright-report-ubuntu-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 --shard=4/4
1 flaky
[webkit] › ssr-context-provider.spec.ts:59:5 › ssr-context-provider: dev › no js environment ───
3 skipped
77 passed (5.4m)
|
Loading