refactor: fs-router to use new_createPages #5243
Annotations
10 errors, 4 warnings, and 1 notice
Run pnpm exec playwright test --shard=4/4:
e2e/ssg-performance.spec.ts#L43
1) [webkit] › 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 /Users/runner/work/waku/waku/e2e/ssg-performance.spec.ts:43:45
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssg-performance.spec.ts#L43
1) [webkit] › 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 /Users/runner/work/waku/waku/e2e/ssg-performance.spec.ts:43:45
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssg-performance.spec.ts#L43
1) [webkit] › 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 /Users/runner/work/waku/waku/e2e/ssg-performance.spec.ts:43:45
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssg-performance.spec.ts#L43
1) [webkit] › 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 /Users/runner/work/waku/waku/e2e/ssg-performance.spec.ts:43:45
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssg-wildcard.spec.ts#L64
2) [webkit] › 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 /Users/runner/work/waku/waku/e2e/ssg-wildcard.spec.ts:64:60
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssg-wildcard.spec.ts#L64
2) [webkit] › 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 /Users/runner/work/waku/waku/e2e/ssg-wildcard.spec.ts:64:60
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssg-wildcard.spec.ts#L64
2) [webkit] › ssg-wildcard.spec.ts:44:3 › ssg wildcard › works ───────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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 /Users/runner/work/waku/waku/e2e/ssg-wildcard.spec.ts:64:60
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssg-wildcard.spec.ts#L64
2) [webkit] › ssg-wildcard.spec.ts:44:3 › ssg wildcard › works ───────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
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 /Users/runner/work/waku/waku/e2e/ssg-wildcard.spec.ts:64:60
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssr-catch-error.spec.ts#L61
3) [webkit] › ssr-catch-error.spec.ts:58:5 › ssr-catch-error: dev › access invalid page through client router
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByText('401')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByText('401')
59 | await page.goto(`http://localhost:${port}/`);
60 | await page.getByText('Invalid page').click();
> 61 | await expect(page.getByText('401')).toBeVisible();
| ^
62 | });
63 |
64 | test('access invalid page directly', async ({ page }) => {
at /Users/runner/work/waku/waku/e2e/ssr-catch-error.spec.ts:61:43
|
Run pnpm exec playwright test --shard=4/4:
e2e/ssr-catch-error.spec.ts#L61
3) [webkit] › ssr-catch-error.spec.ts:58:5 › ssr-catch-error: dev › access invalid page through client router
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByText('401')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByText('401')
59 | await page.goto(`http://localhost:${port}/`);
60 | await page.getByText('Invalid page').click();
> 61 | await expect(page.getByText('401')).toBeVisible();
| ^
62 | });
63 |
64 | test('access invalid page directly', async ({ page }) => {
at /Users/runner/work/waku/waku/e2e/ssr-catch-error.spec.ts:61:43
|
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] › multi-platform.spec.ts#L1
[webkit] › multi-platform.spec.ts took 33.1s
|
Run pnpm exec playwright test --shard=4/4:
[webkit] › partial-builds.spec.ts#L1
[webkit] › partial-builds.spec.ts took 19.0s
|
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
5 failed
[webkit] › ssg-performance.spec.ts:29:3 › high volume static site generation › build and verify
[webkit] › ssg-wildcard.spec.ts:44:3 › ssg wildcard › works ────────────────────────────────────
[webkit] › ssr-catch-error.spec.ts:58:5 › ssr-catch-error: dev › access invalid page through client router
[webkit] › ssr-catch-error.spec.ts:58:5 › ssr-catch-error: start › access invalid page through client router
[webkit] › use-router.spec.ts:132:5 › useRouter › updates query variables › on static pages ────
3 skipped
73 passed (9.5m)
|
Loading