E2E Tests #1085
Annotations
10 errors, 3 warnings, and 1 notice
🎭 Playwright tests:
test/e2e/authentication.test.ts#L147
1) [firefox] › authentication.test.ts:140:3 › Authentication › PROD: should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Error: Timed out 15000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/dashboard/
Received string: "https://crisiscleanup.org/"
Call log:
- expect.toHaveURL with timeout 15000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
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
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L147
1) [firefox] › authentication.test.ts:140:3 › Authentication › PROD: 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://crisiscleanup.org/"
Call log:
- expect.toHaveURL with timeout 15000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
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
|
🎭 Playwright tests:
test/e2e/authentication.test.ts#L147
1) [firefox] › authentication.test.ts:140:3 › Authentication › PROD: should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/dashboard/
Received string: "https://crisiscleanup.org/"
Call log:
- expect.toHaveURL with timeout 15000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "https://crisiscleanup.org/"
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
|
🎭 Playwright tests:
test/e2e/pages/dashboard.test.ts#L1
2) [firefox] › pages/dashboard.test.ts:149:3 › DashboardPage › PROD: should have working incident selector - `( @slow @secondary @READ @development @staging @production )`
Test timeout of 60000ms exceeded.
|
🎭 Playwright tests:
test/e2e/pages/dashboard.test.ts#L177
2) [firefox] › pages/dashboard.test.ts:149:3 › DashboardPage › PROD: 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
|
🎭 Playwright tests:
test/e2e/pages/dashboard.test.ts#L1
2) [firefox] › pages/dashboard.test.ts:149:3 › DashboardPage › PROD: should have working incident selector - `( @slow @secondary @READ @development @staging @production )`
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
🎭 Playwright tests:
test/e2e/pages/dashboard.test.ts#L177
2) [firefox] › pages/dashboard.test.ts:149:3 › DashboardPage › PROD: should have working incident selector - `( @slow @secondary @READ @development @staging @production )`
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
🎭 Playwright tests:
test/e2e/pages/dashboard.test.ts#L1
2) [firefox] › pages/dashboard.test.ts:149:3 › DashboardPage › PROD: should have working incident selector - `( @slow @secondary @READ @development @staging @production )`
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
🎭 Playwright tests:
test/e2e/pages/dashboard.test.ts#L177
2) [firefox] › pages/dashboard.test.ts:149:3 › DashboardPage › PROD: should have working incident selector - `( @slow @secondary @READ @development @staging @production )`
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
|
🎭 Playwright tests:
test/e2e/pages/dashboard.test.ts#L1
3) [firefox] › pages/dashboard.test.ts:236:3 › DashboardPage › PROD: should show/hide add incident, request redeploy & invite user modals correctly - `( @slow @secondary @READ @development @staging @production )`
Test timeout of 60000ms exceeded.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright tests:
[firefox] › pages/myOrganization.test.ts#L1
[firefox] › pages/myOrganization.test.ts took 30.0s
|
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-12329694213-attempt_1", "e2e-report-production-12329694213-attempt_1", "e2e-report-staging-12329694213-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/
|
🎭 Playwright tests
3 failed
[firefox] › authentication.test.ts:140:3 › Authentication › PROD: should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
[firefox] › pages/dashboard.test.ts:149:3 › DashboardPage › PROD: should have working incident selector - `( @slow @secondary @READ @development @staging @production )`
[firefox] › pages/dashboard.test.ts:236:3 › DashboardPage › PROD: should show/hide add incident, request redeploy & invite user modals correctly - `( @slow @secondary @READ @development @staging @production )`
1 skipped
28 passed (10.2m)
|
Loading