Add E2E tests for silent authentication #758
e2e_pr_smoke.yml
on: pull_request
e2e-tests-smoke
6m 8s
Annotations
4 errors, 1 warning, and 1 notice
[chromium] › dashboard/dashboard-content.spec.ts:31:3 › local - Breaches Dashboard - Content @smoke › Verify that the exposure list contains action needed:
src/e2e/specs/dashboard/dashboard-content.spec.ts#L12
1) [chromium] › dashboard/dashboard-content.spec.ts:31:3 › local - Breaches Dashboard - Content @smoke › Verify that the exposure list contains action needed
Test timeout of 60000ms exceeded while running "beforeEach" hook.
10 |
11 | test.describe(`${process.env.E2E_TEST_ENV} - Breaches Dashboard - Content @smoke`, () => {
> 12 | test.beforeEach(async ({ dashboardPage, welcomePage, page }) => {
| ^
13 | await dashboardPage.open();
14 |
15 | try {
at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/dashboard/dashboard-content.spec.ts:12:8
|
[chromium] › dashboard/dashboard-content.spec.ts:31:3 › local - Breaches Dashboard - Content @smoke › Verify that the exposure list contains action needed:
src/e2e/pages/welcomeScanPage.ts#L95
1) [chromium] › dashboard/dashboard-content.spec.ts:31:3 › local - Breaches Dashboard - Content @smoke › Verify that the exposure list contains action needed
Error: locator.waitFor: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByText('Scanning for exposures…') to be visible
at ../pages/welcomeScanPage.ts:95
93 |
94 | await this.modalConfirmButton.click();
> 95 | await this.findExposuresTitle.waitFor();
| ^
96 |
97 | // reloading page skips the loader and routes directly to the dashboard
98 | if (options.skipLoader) {
at WelcomePage.goThroughFirstScan (/home/runner/work/blurts-server/blurts-server/src/e2e/pages/welcomeScanPage.ts:95:35)
at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/dashboard/dashboard-content.spec.ts:27:7
|
[firefox] › auth.spec.ts:72:3 › local - Authentication flow verification @smoke › Verify successful silent authentication with existing user:
src/e2e/specs/auth.spec.ts#L1
2) [firefox] › auth.spec.ts:72:3 › local - Authentication flow verification @smoke › Verify successful silent authentication with existing user
Test timeout of 60000ms exceeded.
|
[firefox] › auth.spec.ts:72:3 › local - Authentication flow verification @smoke › Verify successful silent authentication with existing user:
src/e2e/pages/authPage.ts#L80
2) [firefox] › auth.spec.ts:72:3 › local - Authentication flow verification @smoke › Verify successful silent authentication with existing user
Error: locator.waitFor: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('//input[@type=\'password\'] | //div/input[@type=\'email\']') to be visible
at ../pages/authPage.ts:80
78 | await this.page
79 | .locator("//input[@type='password'] | //div/input[@type='email']")
> 80 | .waitFor({ state: "visible" });
| ^
81 | const visible = await this.useDifferentEmailButton.isVisible();
82 | if (visible) {
83 | await this.useDifferentEmailButton.click();
at AuthPage.signInToFxA (/home/runner/work/blurts-server/blurts-server/src/e2e/pages/authPage.ts:80:8)
at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/auth.spec.ts:82:5
|
Slow Test:
[firefox] › dashboard/dashboard-headers.spec.ts#L1
[firefox] › dashboard/dashboard-headers.spec.ts took 36.4s
|
🎭 Playwright Run Summary
2 flaky
[chromium] › dashboard/dashboard-content.spec.ts:31:3 › local - Breaches Dashboard - Content @smoke › Verify that the exposure list contains action needed
[firefox] › auth.spec.ts:72:3 › local - Authentication flow verification @smoke › Verify successful silent authentication with existing user
6 skipped
18 passed (4.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
4.21 MB |
|
test-results
|
3.32 MB |
|