fix: improve resolveClient for DEV #5238
Annotations
10 errors, 6 warnings, and 1 notice
Run pnpm exec playwright test --shard=4/4:
e2e/rsc-basic.spec.ts#L71
1) [webkit] › rsc-basic.spec.ts:51:5 › rsc-basic: dev › basic ────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('server-ping').getByTestId('pong')
Expected string: "pong"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('server-ping').getByTestId('pong')
- locator resolved to <p data-testid="pong"></p>
- unexpected value ""
- locator resolved to <p data-testid="pong"></p>
- unexpected value ""
69 | await expect(
70 | page.getByTestId('server-ping').getByTestId('pong'),
> 71 | ).toHaveText('pong');
| ^
72 | await expect(
73 | page.getByTestId('server-ping').getByTestId('counter'),
74 | ).toHaveText('0');
at /home/runner/work/waku/waku/e2e/rsc-basic.spec.ts:71:9
|
Run pnpm exec playwright test --shard=4/4:
e2e/rsc-basic.spec.ts#L71
1) [webkit] › rsc-basic.spec.ts:51:5 › rsc-basic: dev › basic ────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('server-ping').getByTestId('pong')
Expected string: "pong"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('server-ping').getByTestId('pong')
69 | await expect(
70 | page.getByTestId('server-ping').getByTestId('pong'),
> 71 | ).toHaveText('pong');
| ^
72 | await expect(
73 | page.getByTestId('server-ping').getByTestId('counter'),
74 | ).toHaveText('0');
at /home/runner/work/waku/waku/e2e/rsc-basic.spec.ts:71:9
|
Run pnpm exec playwright test --shard=4/4:
e2e/rsc-basic.spec.ts#L71
1) [webkit] › rsc-basic.spec.ts:51:5 › rsc-basic: dev › basic ────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('server-ping').getByTestId('pong')
Expected string: "pong"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('server-ping').getByTestId('pong')
- locator resolved to <p data-testid="pong"></p>
- unexpected value ""
- locator resolved to <p data-testid="pong"></p>
- unexpected value ""
69 | await expect(
70 | page.getByTestId('server-ping').getByTestId('pong'),
> 71 | ).toHaveText('pong');
| ^
72 | await expect(
73 | page.getByTestId('server-ping').getByTestId('counter'),
74 | ).toHaveText('0');
at /home/runner/work/waku/waku/e2e/rsc-basic.spec.ts:71:9
|
Run pnpm exec playwright test --shard=4/4:
e2e/rsc-basic.spec.ts#L71
1) [webkit] › rsc-basic.spec.ts:51:5 › rsc-basic: dev › basic ────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('server-ping').getByTestId('pong')
Expected string: "pong"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('server-ping').getByTestId('pong')
- locator resolved to <p data-testid="pong"></p>
- unexpected value ""
- locator resolved to <p data-testid="pong"></p>
- unexpected value ""
69 | await expect(
70 | page.getByTestId('server-ping').getByTestId('pong'),
> 71 | ).toHaveText('pong');
| ^
72 | await expect(
73 | page.getByTestId('server-ping').getByTestId('counter'),
74 | ).toHaveText('0');
at /home/runner/work/waku/waku/e2e/rsc-basic.spec.ts:71:9
|
Run pnpm exec playwright test --shard=4/4:
http:/localhost:46215/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js#L11
2) [webkit] › rsc-basic.spec.ts:85:5 › rsc-basic: dev › server action ────────────────────────────
Error: page.evaluate: Error: Internal Server Error
at checkStatus (http://localhost:46215/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js:11:21)
at checkStatus (/home/runner/work/waku/waku/http:/localhost:46215/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js:11:21)
at /home/runner/work/waku/waku/e2e/rsc-basic.spec.ts:91:33
|
Run pnpm exec playwright test --shard=4/4:
http:/localhost:36303/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js#L11
2) [webkit] › rsc-basic.spec.ts:85:5 › rsc-basic: dev › server action ────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Error: Internal Server Error
at checkStatus (http://localhost:36303/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js:11:21)
at checkStatus (/home/runner/work/waku/waku/http:/localhost:36303/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js:11:21)
at /home/runner/work/waku/waku/e2e/rsc-basic.spec.ts:91:33
|
Run pnpm exec playwright test --shard=4/4:
http:/localhost:40525/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js#L11
2) [webkit] › rsc-basic.spec.ts:85:5 › rsc-basic: dev › server action ────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Error: Internal Server Error
at checkStatus (http://localhost:40525/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js:11:21)
at checkStatus (/home/runner/work/waku/waku/http:/localhost:40525/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js:11:21)
at /home/runner/work/waku/waku/e2e/rsc-basic.spec.ts:91:33
|
Run pnpm exec playwright test --shard=4/4:
http:/localhost:38137/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js#L11
2) [webkit] › rsc-basic.spec.ts:85:5 › rsc-basic: dev › server action ────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Error: Internal Server Error
at checkStatus (http://localhost:38137/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js:11:21)
at checkStatus (/home/runner/work/waku/waku/http:/localhost:38137/@fs/home/runner/work/waku/waku/packages/waku/dist/minimal/client.js:11:21)
at /home/runner/work/waku/waku/e2e/rsc-basic.spec.ts:91:33
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssr-basic.spec.ts#L70
3) [webkit] › ssr-basic.spec.ts:61:5 › ssr-basic: dev › vercel ai ────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('vercel-ai').getByTestId('ai-state-user')
Expected string: "admin"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('vercel-ai').getByTestId('ai-state-user')
- locator resolved to <span data-testid="ai-state-user">guest</span>
- unexpected value "guest"
- locator resolved to <span data-testid="ai-state-user">guest</span>
- unexpected value "guest"
68 | await expect(aiLocator.getByTestId('ui-state-count')).toHaveText('0');
69 | await aiLocator.getByTestId('action-foo').click();
> 70 | await expect(aiLocator.getByTestId('ai-state-user')).toHaveText('admin');
| ^
71 | await expect(aiLocator.getByTestId('ui-state-count')).toHaveText('1');
72 | await aiLocator.getByTestId('action-foo').click();
73 | await expect(aiLocator.getByTestId('ui-state-count')).toHaveText('2');
at /home/runner/work/waku/waku/e2e/ssr-basic.spec.ts:70:60
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssr-basic.spec.ts#L70
3) [webkit] › ssr-basic.spec.ts:61:5 › ssr-basic: dev › vercel ai ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('vercel-ai').getByTestId('ai-state-user')
Expected string: "admin"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('vercel-ai').getByTestId('ai-state-user')
- locator resolved to <span data-testid="ai-state-user">guest</span>
- unexpected value "guest"
68 | await expect(aiLocator.getByTestId('ui-state-count')).toHaveText('0');
69 | await aiLocator.getByTestId('action-foo').click();
> 70 | await expect(aiLocator.getByTestId('ai-state-user')).toHaveText('admin');
| ^
71 | await expect(aiLocator.getByTestId('ui-state-count')).toHaveText('1');
72 | await aiLocator.getByTestId('action-foo').click();
73 | await expect(aiLocator.getByTestId('ui-state-count')).toHaveText('2');
at /home/runner/work/waku/waku/e2e/ssr-basic.spec.ts:70: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=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 51.4s
|
Run pnpm exec playwright test --shard=4/4:
[webkit] › partial-builds.spec.ts#L1
[webkit] › partial-builds.spec.ts took 22.1s
|
Run pnpm exec playwright test --shard=4/4:
[webkit] › ssg-performance.spec.ts#L1
[webkit] › ssg-performance.spec.ts took 21.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-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=4/4
4 failed
[webkit] › rsc-basic.spec.ts:51:5 › rsc-basic: dev › basic ─────────────────────────────────────
[webkit] › rsc-basic.spec.ts:85:5 › rsc-basic: dev › server action ─────────────────────────────
[webkit] › ssr-basic.spec.ts:61:5 › ssr-basic: dev › vercel ai ─────────────────────────────────
[webkit] › ssr-context-provider.spec.ts:53:5 › ssr-context-provider: dev › show context value ──
3 skipped
74 passed (7.7m)
|
Loading