Skip to content

Monitor Cron e2e Tests #393

Monitor Cron e2e Tests

Monitor Cron e2e Tests #393

Triggered via schedule September 9, 2024 08:08
Status Failure
Total duration 30m 52s
Artifacts 2

e2e_cron.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 4 warnings, 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
[firefox] › purchase.spec.ts:87:3 › stage - Breach Scan: src/e2e/specs/purchase.spec.ts#L149
1) [firefox] › purchase.spec.ts:87:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Monthly TimeoutError: locator.waitFor: Timeout 5000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Automatic data removal: On' }) 147 | 148 | // confirm successful payment > 149 | await dashboardPage.plusSubscription.waitFor({ | ^ 150 | state: "attached", 151 | timeout: 5000, 152 | }); at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/purchase.spec.ts:149:42
[firefox] › purchase.spec.ts:87:3 › stage - Breach Scan: src/e2e/specs/purchase.spec.ts#L9
1) [firefox] › purchase.spec.ts:87:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Monthly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 180000ms exceeded while running "beforeEach" hook. 7 | 8 | test.describe(`${process.env.E2E_TEST_ENV} - Breach Scan, Monitor Plus Purchase Flow`, () => { > 9 | test.beforeEach(async ({ page, authPage, landingPage, welcomePage }) => { | ^ 10 | test.info().annotations.push({ 11 | type: "testrail id", 12 | description: at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/purchase.spec.ts:9:8
[firefox] › purchase.spec.ts:87:3 › stage - Breach Scan: src/e2e/pages/landingPage.ts#L267
1) [firefox] › purchase.spec.ts:87:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Monthly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Test timeout of 180000ms exceeded. =========================== logs =========================== waiting for navigation to "**/oauth/**" until "load" ============================================================ at ../pages/landingPage.ts:267 265 | await this.signInButton.click(); 266 | // FxA can take a while to load on stage: > 267 | await this.page.waitForURL("**/oauth/**"); | ^ 268 | } 269 | 270 | async enterFreeScanEmail(email: string) { at LandingPage.goToSignIn (/home/runner/work/blurts-server/blurts-server/src/e2e/pages/landingPage.ts:267:21) at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/purchase.spec.ts:30:5
[chromium] › dashboard.spec.ts:406:3 › stage - Breaches Dashboard - Breaches Scan: src/e2e/specs/dashboard.spec.ts#L384
2) [chromium] › dashboard.spec.ts:406:3 › stage - Breaches Dashboard - Breaches Scan, Continuous Protection, Data Profile Actions › 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 › stage - Breaches Dashboard - Breaches Scan: src/e2e/pages/welcomeScanPage.ts#L93
2) [chromium] › dashboard.spec.ts:406:3 › stage - Breaches Dashboard - Breaches Scan, Continuous Protection, Data Profile Actions › Verify that the Premium upsell modal is displayed correctly - Continuous Protection, verify that the user can mark Data broker profiles as fixed Error: locator.waitFor: Test timeout of 180000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Action needed' }) to be visible at ../pages/welcomeScanPage.ts:93 91 | // Waiting for scan to complete 92 | const dashboardPage = new DashboardPage(this.page); > 93 | await dashboardPage.actionNeededTab.waitFor(); | ^ 94 | 95 | // TODO: Handle state in prod where it says "Scan still in progress:" 96 | } at WelcomePage.goThroughFirstScan (/home/runner/work/blurts-server/blurts-server/src/e2e/pages/welcomeScanPage.ts:93:41) at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/dashboard.spec.ts:402:5
[chromium] › purchase.spec.ts:87:3 › stage - Breach Scan: src/e2e/pages/purchasePage.ts#L70
3) [chromium] › purchase.spec.ts:87:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Monthly Error: frame.fill: Target page, context or browser has been closed Call log: - waiting for locator('.InputElement[name=cardnumber]') at ../pages/purchasePage.ts:70 68 | } 69 | > 70 | await frame.fill(".InputElement[name=cardnumber]", ""); | ^ 71 | await frame.fill(".InputElement[name=cardnumber]", "4242424242424242"); 72 | await frame.fill(".InputElement[name=exp-date]", "555"); 73 | await frame.fill(".InputElement[name=cvc]", "333"); at PurchasePage.fillOutStripeCardInfo (/home/runner/work/blurts-server/blurts-server/src/e2e/pages/purchasePage.ts:70:17) at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/purchase.spec.ts:141:5
e2e-tests
Process completed with exit code 1.
Slow Test: [firefox] › landing.spec.ts#L1
[firefox] › landing.spec.ts took 1.1m
Slow Test: [chromium] › landing.spec.ts#L1
[chromium] › landing.spec.ts took 1.0m
Slow Test: [firefox] › auth.spec.ts#L1
[firefox] › auth.spec.ts took 20.3s
Slow Test: [chromium] › auth.spec.ts#L1
[chromium] › auth.spec.ts took 18.1s
🎭 Playwright Run Summary
1 failed [firefox] › purchase.spec.ts:87:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Monthly 2 flaky [chromium] › dashboard.spec.ts:406:3 › stage - Breaches Dashboard - Breaches Scan, Continuous Protection, Data Profile Actions › Verify that the Premium upsell modal is displayed correctly - Continuous Protection, verify that the user can mark Data broker profiles as fixed [chromium] › purchase.spec.ts:87:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Monthly 6 skipped 3 did not run 74 passed (30.0m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
67.2 MB
test-results Expired
66.3 MB