chore(deps): update node.js to v22 #7538
Annotations
10 errors, 4 warnings, and 1 notice
🎭 Playwright tests:
test/e2e/authentication.test.ts#L1
1) [chromium] › authentication.test.ts:107:3 › Authentication › should load unauthorized routes as expected with and without authentication - `( @slow @primary @development @staging @production )`
Test timeout of 180000ms exceeded.
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L119
1) [chromium] › authentication.test.ts:107:3 › Authentication › should load unauthorized routes as expected with and without authentication - `( @slow @primary @development @staging @production )`
Error: page.goto: Target page, context or browser has been closed
117 | testId: string,
118 | ) => {
> 119 | await page.goto(url);
| ^
120 | await page.waitForLoadState();
121 | await page.waitForSelector(`[data-testid="${testId}"]`, {
122 | state: 'visible',
at navigateAndCheck (/home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:119:20)
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:135:13
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L126
1) [chromium] › authentication.test.ts:107:3 › Authentication › should load unauthorized routes as expected with and without authentication - `( @slow @primary @development @staging @production )`
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/login\/.*/
Received string: "http://localhost:8080/"
Call log:
- expect.toHaveURL with timeout 15000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
124 | await expect(page).toHaveURL(url, { timeout: 15_000 });
125 | };
> 126 | await expect(page).toHaveURL(urlRegexes.login, { timeout: 15_000 });
| ^
127 | // visit unauthed pages
128 | await navigateAndCheck(page, '/training', 'testTrainingDiv');
129 | await navigateAndCheck(page, '/about', 'testAboutDiv');
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:126:26
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L126
1) [chromium] › authentication.test.ts:107:3 › Authentication › should load unauthorized routes as expected with and without authentication - `( @slow @primary @development @staging @production )`
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/login\/.*/
Received string: "http://localhost:8080/"
Call log:
- expect.toHaveURL with timeout 15000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
124 | await expect(page).toHaveURL(url, { timeout: 15_000 });
125 | };
> 126 | await expect(page).toHaveURL(urlRegexes.login, { timeout: 15_000 });
| ^
127 | // visit unauthed pages
128 | await navigateAndCheck(page, '/training', 'testTrainingDiv');
129 | await navigateAndCheck(page, '/about', 'testAboutDiv');
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:126:26
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L1
2) [chromium] › authentication.test.ts:140:3 › Authentication › should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Test timeout of 60000ms exceeded.
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L150
2) [chromium] › authentication.test.ts:140:3 › Authentication › should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Error: page.goto: Target page, context or browser has been closed
148 | await doLogin(page);
149 | // should redirect back to dashboard page
> 150 | await page.goto('/login');
| ^
151 | await assertIsDashboard();
152 | },
153 | );
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:150:18
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L1
2) [chromium] › authentication.test.ts:140:3 › Authentication › should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L150
2) [chromium] › authentication.test.ts:140:3 › Authentication › should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: Target page, context or browser has been closed
148 | await doLogin(page);
149 | // should redirect back to dashboard page
> 150 | await page.goto('/login');
| ^
151 | await assertIsDashboard();
152 | },
153 | );
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:150:18
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L1
2) [chromium] › authentication.test.ts:140:3 › Authentication › should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L150
2) [chromium] › authentication.test.ts:140:3 › Authentication › should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: Target page, context or browser has been closed
148 | await doLogin(page);
149 | // should redirect back to dashboard page
> 150 | await page.goto('/login');
| ^
151 | await assertIsDashboard();
152 | },
153 | );
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:150:18
|
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, 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/
|
🎭 Playwright tests:
[chromium-setup] › auth.setup.ts#L1
[chromium-setup] › auth.setup.ts took 3.0m
|
🎭 Playwright tests:
[chromium] › pages/dashboard.test.ts#L1
[chromium] › pages/dashboard.test.ts took 34.4s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "all-blob-reports", "e2e-report-11783633686-attempt-1".
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/
|
🎭 Playwright tests
2 failed
[chromium] › authentication.test.ts:107:3 › Authentication › should load unauthorized routes as expected with and without authentication - `( @slow @primary @development @staging @production )`
[chromium] › authentication.test.ts:140:3 › Authentication › should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
1 flaky
[chromium] › basic.test.ts:23:1 › should have valid localizations - `( @fast @primary @READ @development @staging @production )`
4 passed (11.2m)
|
Loading