Skip to content

Mntor-3355: integration with e2e, support for email hash based mock-data retrieval #5307

Mntor-3355: integration with e2e, support for email hash based mock-data retrieval

Mntor-3355: integration with e2e, support for email hash based mock-data retrieval #5307

Triggered via pull request July 16, 2024 05:40
@mozilloidmozilloid
synchronize #4763
mntor-3355
Status Failure
Total duration 31m 21s
Artifacts 2

e2e_pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
e2e-tests
Timed out waiting 1800s for the test suite to run
e2e-tests
Timed out waiting 1800s for the teardown for test suite to run
[chromium] › auth.spec.ts:12:3 › local - Authentication flow verification @smoke › Verify sign up with new user: src/e2e/specs/auth.spec.ts#L31
1) [chromium] › auth.spec.ts:12:3 › local - Authentication flow verification @smoke › Verify sign up with new user Error: expect(received).toBe(expected) // Object.is equality Expected: "***/user/welcome" Received: "***/user/dashboard" 29 | // assert successful login 30 | const successUrl = "/user/welcome"; > 31 | expect(page.url()).toBe(`${process.env.E2E_TEST_BASE_URL}${successUrl}`); | ^ 32 | 33 | await testInfo.attach( 34 | `${process.env.E2E_TEST_ENV}-signup-monitor-dashboard.png`, at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/auth.spec.ts:31:24
[chromium] › auth.spec.ts:12:3 › local - Authentication flow verification @smoke › Verify sign up with new user: src/e2e/specs/auth.spec.ts#L31
1) [chromium] › auth.spec.ts:12:3 › local - Authentication flow verification @smoke › Verify sign up with new user Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "***/user/welcome" Received: "***/user/dashboard" 29 | // assert successful login 30 | const successUrl = "/user/welcome"; > 31 | expect(page.url()).toBe(`${process.env.E2E_TEST_BASE_URL}${successUrl}`); | ^ 32 | 33 | await testInfo.attach( 34 | `${process.env.E2E_TEST_ENV}-signup-monitor-dashboard.png`, at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/auth.spec.ts:31:24
[chromium] › dashboard.spec.ts:406:3 › local - Breaches Dashboard - Breaches Scan: src/e2e/specs/dashboard.spec.ts#L384
2) [chromium] › dashboard.spec.ts:406:3 › local - Breaches Dashboard - Breaches Scan, Continuous Protection, Data Profile Actions @smoke › Verify that the Premium upsell modal is displayed correctly - Continuous Protection, verify that the user can mark Data broker profiles as fixed Test timeout of 180000ms exceeded while running "beforeEach" hook. 382 | test.use({ storageState: { cookies: [], origins: [] } }); 383 | > 384 | test.beforeEach(async ({ landingPage, page, authPage, welcomePage }) => { | ^ 385 | test.slow( 386 | true, 387 | "this test runs through the welcome scan flow, increasing timeout to address it", at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/dashboard.spec.ts:384:8
[chromium] › dashboard.spec.ts:406:3 › local - Breaches Dashboard - Breaches Scan: src/e2e/specs/dashboard.spec.ts#L401
2) [chromium] › dashboard.spec.ts:406:3 › local - Breaches Dashboard - Breaches Scan, Continuous Protection, Data Profile Actions @smoke › Verify that the Premium upsell modal is displayed correctly - Continuous Protection, verify that the user can mark Data broker profiles as fixed Error: page.waitForURL: Test timeout of 180000ms exceeded. =========================== logs =========================== waiting for navigation to "**/user/welcome" until "load" navigated to "***/user/dashboard" navigated to "***/user/dashboard/action-needed" ============================================================ 399 | await authPage.signUp(randomEmail, page); 400 | > 401 | await page.waitForURL("**/user/welcome"); | ^ 402 | await welcomePage.goThroughFirstScan(); 403 | expect(page.url()).toContain("/user/dashboard"); 404 | }); at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/dashboard.spec.ts:401:16
[chromium] › dashboard.spec.ts:406:3 › local - Breaches Dashboard - Breaches Scan: src/e2e/specs/dashboard.spec.ts#L384
2) [chromium] › dashboard.spec.ts:406:3 › local - Breaches Dashboard - Breaches Scan, Continuous Protection, Data Profile Actions @smoke › Verify that the Premium upsell modal is displayed correctly - Continuous Protection, verify that the user can mark Data broker profiles as fixed Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 180000ms exceeded while running "beforeEach" hook. 382 | test.use({ storageState: { cookies: [], origins: [] } }); 383 | > 384 | test.beforeEach(async ({ landingPage, page, authPage, welcomePage }) => { | ^ 385 | test.slow( 386 | true, 387 | "this test runs through the welcome scan flow, increasing timeout to address it", at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/dashboard.spec.ts:384:8
[chromium] › dashboard.spec.ts:406:3 › local - Breaches Dashboard - Breaches Scan: src/e2e/specs/dashboard.spec.ts#L401
2) [chromium] › dashboard.spec.ts:406:3 › local - Breaches Dashboard - Breaches Scan, Continuous Protection, Data Profile Actions @smoke › Verify that the Premium upsell modal is displayed correctly - Continuous Protection, verify that the user can mark Data broker profiles as fixed Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Test timeout of 180000ms exceeded. =========================== logs =========================== waiting for navigation to "**/user/welcome" until "load" navigated to "***/user/dashboard" navigated to "***/user/dashboard/action-needed" ============================================================ 399 | await authPage.signUp(randomEmail, page); 400 | > 401 | await page.waitForURL("**/user/welcome"); | ^ 402 | await welcomePage.goThroughFirstScan(); 403 | expect(page.url()).toContain("/user/dashboard"); 404 | }); at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/dashboard.spec.ts:401:16
[chromium] › dashboard.spec.ts:470:3 › local - Breaches Dashboard - Overview Card @smoke › Verify that the Premium upsell screen is displayed correctly - overview card: src/e2e/specs/dashboard.spec.ts#L484
3) [chromium] › dashboard.spec.ts:470:3 › local - Breaches Dashboard - Overview Card @smoke › Verify that the Premium upsell screen is displayed correctly - overview card Error: Timed out 2000ms waiting for expect(locator).toBeVisible() Locator: getByText(/Let’s (keep going|fix it)/) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 2000ms - waiting for getByText(/Let’s (keep going|fix it)/) 482 | //checking that the user can reach upsell page 483 | await dashboardPage.goToDashboard(); > 484 | await expect(dashboardPage.upsellScreenButton).toBeVisible(); | ^ 485 | await dashboardPage.upsellScreenButton.click(); 486 | await page.waitForURL(/.*\/fix\/.*\/view-data-brokers\/?/); 487 | await dataBrokersPage.removeThemForMeButton.click(); at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/dashboard.spec.ts:484:52
[chromium] › dashboard.spec.ts:470:3 › local - Breaches Dashboard - Overview Card @smoke › Verify that the Premium upsell screen is displayed correctly - overview card: src/e2e/specs/dashboard.spec.ts#L484
3) [chromium] › dashboard.spec.ts:470:3 › local - Breaches Dashboard - Overview Card @smoke › Verify that the Premium upsell screen is displayed correctly - overview card Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 2000ms waiting for expect(locator).toBeVisible() Locator: getByText(/Let’s (keep going|fix it)/) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 2000ms - waiting for getByText(/Let’s (keep going|fix it)/) 482 | //checking that the user can reach upsell page 483 | await dashboardPage.goToDashboard(); > 484 | await expect(dashboardPage.upsellScreenButton).toBeVisible(); | ^ 485 | await dashboardPage.upsellScreenButton.click(); 486 | await page.waitForURL(/.*\/fix\/.*\/view-data-brokers\/?/); 487 | await dataBrokersPage.removeThemForMeButton.click(); at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/dashboard.spec.ts:484:52
🎭 Playwright Run Summary
17 failed [chromium] › auth.spec.ts:12:3 › local - Authentication flow verification @smoke › Verify sign up with new user [chromium] › dashboard.spec.ts:406:3 › local - Breaches Dashboard - Breaches Scan, Continuous Protection, Data Profile Actions @smoke › Verify that the Premium upsell modal is displayed correctly - Continuous Protection, verify that the user can mark Data broker profiles as fixed [chromium] › dashboard.spec.ts:470:3 › local - Breaches Dashboard - Overview Card @smoke › Verify that the Premium upsell screen is displayed correctly - overview card [chromium] › dashboard.spec.ts:509:3 › local - Breaches Dashboard - Overview Card @smoke › Verify that the navigation of the Premium upsell screen works correctly - from overview card [chromium] › dashboard.spec.ts:730:3 › local - Breaches Dashboard - Data Breaches @smoke › Verify that the High risk data breaches step is displayed correctly [chromium] › dashboard.spec.ts:768:3 › local - Breaches Dashboard - Data Breaches @smoke › Verify that the dashboard is displayed correctly for users with no scan results and no breaches [chromium] › dashboard.spec.ts:820:3 › local - Breaches Dashboard - Data Breaches @smoke › Verify that the dashboard is displayed correctly for users with no scan results and with data breaches [chromium] › landing.spec.ts:31:3 › local - Verify the Landing Page content @smoke › Observe "Find where your private info is exposed and take it back" section [chromium] › landing.spec.ts:49:3 › local - Verify the Landing Page content @smoke › Observe "We will help you fix your exposures" section [chromium] › landing.spec.ts:65:3 › local - Verify the Landing Page content @smoke › Observe "What info could be at risk?" section [chromium] › landing.spec.ts:81:3 › local - Verify the Landing Page content @smoke › Observe "Scan your email to get started" section [chromium] › landing.spec.ts:95:3 › local - Verify the Landing Page content @smoke › Observe "Choose your level of protection" section [chromium] › landing.spec.ts:110:3 › local - Verify the Landing Page content @smoke › Observe FAQ section [chromium] › landing.spec.ts:123:3 › local - Verify the Landing Page content @smoke › Observe "Take back control of your data" section [chromium] › landing.spec.ts:176:3 › local - Verify the Landing Page content @smoke › Verify the "Get free scan" corresponding email fields [chromium] › landing.spec.ts:219:3 › local - Verify the Landing Page Functionality - without existing Account @smoke › Verify "Get free scan" buttons functionality without existing account [chromium] › landing.spec.ts:256:3 › local - Verify the Landing Page Functionality - without existing Account @smoke › Verify the "Start free monitoring" button UI and functionality without existing account 2 skipped 36 did not run 11 passed (30.0m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
30.1 MB
test-results Expired
36.3 MB