feat: add capabilities display feature (#1313) #7730
Annotations
10 errors, 3 warnings, and 1 notice
🎭 Playwright tests:
test/e2e/authentication.test.ts#L1
1) [firefox] › 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
1) [firefox] › 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
1) [firefox] › 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
1) [firefox] › 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
1) [firefox] › 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
1) [firefox] › 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
|
🎭 Playwright tests:
test/e2e/basic.test.ts#L18
2) [firefox] › basic.test.ts:4:1 › should have valid title & url - `( @fast @primary @READ @development @staging @production )`
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/login/
Received string: "http://localhost:8080/"
Call log:
- expect.toHaveURL with timeout 10000ms
- 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/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8080/"
16 | await expect(page).toHaveTitle(/crisis\s*cleanup/i);
17 | // Expect page url to be /login
> 18 | await expect(page).toHaveURL(/.*\/login/);
| ^
19 | },
20 | );
21 |
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/basic.test.ts:18:24
|
🎭 Playwright tests:
test/e2e/basic.test.ts#L18
2) [firefox] › basic.test.ts:4:1 › should have valid title & url - `( @fast @primary @READ @development @staging @production )`
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/login/
Received string: "http://localhost:8080/"
Call log:
- expect.toHaveURL with timeout 10000ms
- 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/"
- 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/"
16 | await expect(page).toHaveTitle(/crisis\s*cleanup/i);
17 | // Expect page url to be /login
> 18 | await expect(page).toHaveURL(/.*\/login/);
| ^
19 | },
20 | );
21 |
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/basic.test.ts:18:24
|
🎭 Playwright tests:
test/e2e/basic.test.ts#L18
2) [firefox] › basic.test.ts:4:1 › should have valid title & url - `( @fast @primary @READ @development @staging @production )`
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/login/
Received string: "http://localhost:8080/"
Call log:
- expect.toHaveURL with timeout 10000ms
- 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-US">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8080/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8080/"
16 | await expect(page).toHaveTitle(/crisis\s*cleanup/i);
17 | // Expect page url to be /login
> 18 | await expect(page).toHaveURL(/.*\/login/);
| ^
19 | },
20 | );
21 |
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/basic.test.ts:18:24
|
🎭 Playwright tests:
test/e2e/basic.test.ts#L55
3) [firefox] › basic.test.ts:23:1 › should have valid localizations - `( @fast @primary @READ @development @staging @production )`
Error: Timed out 10000ms waiting for expect(locator).not.toHaveText(expected)
Locator: getByTestId('testLoginTextContent')
Expected pattern: not /^\w+(\.\w+)+$/
Received: <element(s) not found>
Call log:
- expect.not.toHaveText with timeout 10000ms
- waiting for getByTestId('testLoginTextContent')
53 | // We can simply tell if the current stage (i.e. development, staging, etc) is broken
54 | // if any of these elements' text content matches the localization regex
> 55 | await expect(loginHeader).not.toHaveText(localizationRegex);
| ^
56 | await expect(loginMsg).not.toHaveText(localizationRegex);
57 | },
58 | );
at /home/runner/work/crisiscleanup-4-web/crisiscleanup-4-web/test/e2e/basic.test.ts:55:35
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright tests:
[firefox-setup] › auth.setup.ts#L1
[firefox-setup] › auth.setup.ts took 55.4s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "all-blob-reports", "e2e-report-12201602748-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
4 failed
[firefox] › authentication.test.ts:140:3 › Authentication › should redirect from login related unauthorized pages with existing session - `( @slow @primary @development @staging @production )`
[firefox] › basic.test.ts:4:1 › should have valid title & url - `( @fast @primary @READ @development @staging @production )`
[firefox] › basic.test.ts:23:1 › should have valid localizations - `( @fast @primary @READ @development @staging @production )`
[firefox] › pages/dashboard.test.ts:19:8 › DashboardPage › should have data-testids - `( @fast @primary @READ @development @staging @production )`
1 flaky
[firefox] › authentication.test.ts:107:3 › Authentication › should load unauthorized routes as expected with and without authentication - `( @slow @primary @development @staging @production )`
2 passed (9.4m)
|
Loading