E2E Tests #1091
Annotations
10 errors, 7 warnings, and 1 notice
🔄 Merge all blob reports:
test/e2e/authentication.test.ts#L37
1) [chromium] › authentication.test.ts:15:3 › Authentication › STAGING: should login and logout - `( @fast @secondary @development @staging @production )`
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/login\/.*/
Received string: "https://app.staging.crisiscleanup.io/dashboard"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
35 | await logoutLink.click();
36 |
> 37 | await expect(page).toHaveURL(urlRegexes.login);
| ^
38 | },
39 | );
40 |
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:37:26
|
🔄 Merge all blob reports:
test/e2e/authentication.test.ts#L24
1) [chromium] › authentication.test.ts:15:3 › Authentication › STAGING: should login and logout - `( @fast @secondary @development @staging @production )`
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/login\/.*/
Received string: "https://app.staging.crisiscleanup.io/"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
22 | ]),
23 | async ({ page }) => {
> 24 | await expect(page).toHaveURL(urlRegexes.login);
| ^
25 | await doLoginActions(page);
26 | await expect(page).toHaveURL(urlRegexes.oauthCallback);
27 | await expect(page).toHaveURL(urlRegexes.dashboard, { timeout: 15_000 });
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:24:26
|
🔄 Merge all blob reports:
test/e2e/authentication.test.ts#L37
1) [chromium] › authentication.test.ts:15:3 › Authentication › STAGING: should login and logout - `( @fast @secondary @development @staging @production )`
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/login\/.*/
Received string: "https://app.staging.crisiscleanup.io/dashboard"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/dashboard"
35 | await logoutLink.click();
36 |
> 37 | await expect(page).toHaveURL(urlRegexes.login);
| ^
38 | },
39 | );
40 |
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:37:26
|
🔄 Merge all blob reports:
test/e2e/authentication.test.ts#L1
2) [chromium] › authentication.test.ts:140:3 › Authentication › STAGING: should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Test timeout of 60000ms exceeded.
|
🔄 Merge all blob reports:
test/e2e/authentication.test.ts#L147
2) [chromium] › authentication.test.ts:140:3 › Authentication › STAGING: should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Error: expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/dashboard/
Received string: "https://app.staging.crisiscleanup.io/"
Call log:
- expect.toHaveURL with timeout 15000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/login"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/login"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
145 | async ({ page }) => {
146 | const assertIsDashboard = () =>
> 147 | expect(page).toHaveURL(urlRegexes.dashboard, { timeout: 15_000 });
| ^
148 | await doLogin(page);
149 | // should redirect back to dashboard page
150 | await page.goto('/login');
at assertIsDashboard (/home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:147:22)
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:151:13
|
🔄 Merge all blob reports:
test/e2e/authentication.test.ts#L147
2) [chromium] › authentication.test.ts:140:3 › Authentication › STAGING: should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/dashboard/
Received string: "https://app.staging.crisiscleanup.io/"
Call log:
- expect.toHaveURL with timeout 15000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/login"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://app.staging.crisiscleanup.io/"
145 | async ({ page }) => {
146 | const assertIsDashboard = () =>
> 147 | expect(page).toHaveURL(urlRegexes.dashboard, { timeout: 15_000 });
| ^
148 | await doLogin(page);
149 | // should redirect back to dashboard page
150 | await page.goto('/login');
at assertIsDashboard (/home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:147:22)
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/authentication.test.ts:151:13
|
🔄 Merge all blob reports:
test/e2e/authentication.test.ts#L1
2) [chromium] › authentication.test.ts:140:3 › Authentication › STAGING: should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
🔄 Merge all blob reports:
test/e2e/authentication.test.ts#L150
2) [chromium] › authentication.test.ts:140:3 › Authentication › STAGING: 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
|
🔄 Merge all blob reports:
test/e2e/pages/dashboard.test.ts#L1
3) [chromium] › pages/dashboard.test.ts:149:3 › DashboardPage › STAGING: should have working incident selector - `( @slow @secondary @READ @development @staging @production )`
Test timeout of 60000ms exceeded.
|
🔄 Merge all blob reports:
test/e2e/pages/dashboard.test.ts#L177
3) [chromium] › pages/dashboard.test.ts:149:3 › DashboardPage › STAGING: should have working incident selector - `( @slow @secondary @READ @development @staging @production )`
Error: locator.textContent: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByTestId('testIncidentSelectorSelect').first().locator('.multiselect-single-label')
175 | const getIncidentSelectorTextContent = async (locator: Locator) => {
176 | const text =
> 177 | await getIncidentSelectorLabelLocator(locator).textContent();
| ^
178 | if (!text) {
179 | console.error(
180 | 'Incident Selector Text Content is invalid... Returning empty value',
at getIncidentSelectorTextContent (/home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/pages/dashboard.test.ts:177:58)
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/pages/dashboard.test.ts:189:15
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🔄 Merge all blob reports:
[firefox-setup] › auth.setup.ts#L1
[firefox-setup] › auth.setup.ts took 2.3m
|
🔄 Merge all blob reports:
[chromium-setup] › auth.setup.ts#L1
[chromium-setup] › auth.setup.ts took 2.0m
|
🔄 Merge all blob reports:
[firefox] › pages/user-profile.test.ts#L1
[firefox] › pages/user-profile.test.ts took 1.0m
|
🔄 Merge all blob reports:
[chromium] › pages/user-profile.test.ts#L1
[chromium] › pages/user-profile.test.ts took 1.0m
|
🔄 Merge all blob reports:
[chromium] › pages/otherOrganizations.test.ts#L1
[chromium] › pages/otherOrganizations.test.ts took 48.6s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "all-blob-reports-development", "all-blob-reports-production", "all-blob-reports-staging", "e2e-report-development-12372673329-attempt_1", "e2e-report-production-12372673329-attempt_1", "e2e-report-staging-12372673329-attempt_1", "matrix-outputs".
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/
|
🔄 Merge all blob reports
16 failed
[chromium] › authentication.test.ts:15:3 › Authentication › STAGING: should login and logout - `( @fast @secondary @development @staging @production )`
[chromium] › authentication.test.ts:140:3 › Authentication › STAGING: should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
[chromium] › pages/dashboard.test.ts:149:3 › DashboardPage › STAGING: should have working incident selector - `( @slow @secondary @READ @development @staging @production )`
[chromium] › pages/dashboard.test.ts:236:3 › DashboardPage › STAGING: should show/hide add incident, request redeploy & invite user modals correctly - `( @slow @secondary @READ @development @staging @production )`
[chromium] › pages/login.test.ts:16:3 › LoginPage › STAGING: should login - `( @fast @primary @development @staging @production )`
[chromium] › pages/phone.test.ts:85:3 › PhonePage › STAGING: should have visible data-testids - `( @primary @slow @READ @development @staging @production )`
[chromium] › pages/work.test.ts:98:3 › WorkPage › STAGING: should have working collapsable utility bar & worksite form - `( @secondary @slow @READ @development @staging @production )`
[chromium] › pages/work.test.ts:139:3 › WorkPage › STAGING: should create new worksite - `( @secondary @slow @Write @staging )`
[firefox] › authentication.test.ts:15:3 › Authentication › STAGING: should login and logout - `( @fast @secondary @development @staging @production )`
[firefox] › authentication.test.ts:140:3 › Authentication › STAGING: should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
[firefox] › pages/dashboard.test.ts:19:8 › DashboardPage › STAGING: should have data-testids - `( @fast @primary @READ @development @staging @production )`
[firefox] › pages/dashboard.test.ts:149:3 › DashboardPage › STAGING: should have working incident selector - `( @slow @secondary @READ @development @staging @production )`
[firefox] › pages/dashboard.test.ts:236:3 › DashboardPage › STAGING: should show/hide add incident, request redeploy & invite user modals correctly - `( @slow @secondary @READ @development @staging @production )`
[firefox] › pages/phone.test.ts:85:3 › PhonePage › STAGING: should have visible data-testids - `( @primary @slow @READ @development @staging @production )`
[firefox] › pages/work.test.ts:98:3 › WorkPage › STAGING: should have working collapsable utility bar & worksite form - `( @secondary @slow @READ @development @staging @production )`
[firefox] › pages/work.test.ts:139:3 › WorkPage › STAGING: should create new worksite - `( @secondary @slow @Write @staging )`
10 flaky
[chromium] › authentication.test.ts:41:3 › Authentication › STAGING: should redirect to 404 page when navigating to an invalid route, regardless of authentication status - `( @fast @secondary @development @staging @production )`
[chromium] › authentication.test.ts:70:3 › Authentication › STAGING: should redirect to authorize on attempt to load authorized page with no token/session - `( @fast @secondary @development @staging @production )`
[chromium] › pages/myOrganization.test.ts:151:3 › MyOrganization › STAGING: Team Management: should display all required elements - `( @secondary @slow @READ @development @staging @production )`
[chromium] › pages/myOrganization.test.ts:188:3 › MyOrganization › STAGING: Organization Profile: should display all required elements - `( @primary @slow @READ @development @staging @production )`
[firefox] › authentication.test.ts:41:3 › Authentication › STAGING: should redirect to 404 page when navigating to an invalid route, regardless of authentication status - `( @fast @secondary @development @staging @production )`
[firefox] › authentication.test.ts:70:3 › Authentication › STAGING: should redirect to authorize on attempt to load authorized page with no token/session - `( @fast @secondary @development @staging
|
Loading