chore(examples): add getContext in 05_actions #3493
Annotations
1 error, 1 warning, and 1 notice
Run pnpm exec playwright test --forbid-only --shard=4/4:
e2e\ssr-swr.spec.ts#L66
1) [webkit] › ssr-swr.spec.ts:59:5 › ssr-swr: dev › increase counter ─────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('count')
Expected string: "3"
Received string: "2"
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('count')
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
- locator resolved to <p data-testid="count">2</p>
- unexpected value "2"
64 | await page.getByTestId('increment').click();
65 | await page.getByTestId('increment').click();
> 66 | await expect(page.getByTestId('count')).toHaveText('3');
| ^
67 | });
68 |
69 | test('no js environment should have first screen', async ({ browser }) => {
at D:\a\waku\waku\e2e\ssr-swr.spec.ts:66:47
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run pnpm exec playwright test --forbid-only --shard=4/4
1 flaky
[webkit] › ssr-swr.spec.ts:59:5 › ssr-swr: dev › increase counter ──────────────────────────────
3 skipped
22 passed (58.8s)
|
Loading