Skip to content

Monitor Cron e2e Tests #513

Monitor Cron e2e Tests

Monitor Cron e2e Tests #513

Re-run triggered December 20, 2024 11:45
Status Success
Total duration 24m 12s
Artifacts 3

e2e_cron.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 6 warnings, and 1 notice
[chromium] › dashboard/dashboard-overview-card.spec.ts:23:3 › stage - Breaches Dashboard - Overview Card › Verify that the Premium upsell screen is displayed correctly - overview card: src/e2e/specs/dashboard/dashboard-overview-card.spec.ts#L44
1) [chromium] › dashboard/dashboard-overview-card.spec.ts:23:3 › stage - Breaches Dashboard - Overview Card › Verify that the Premium upsell screen is displayed correctly - overview card Error: Timed out 2000ms waiting for expect(locator).toBeVisible() Locator: locator('div > strong + ul') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 2000ms - waiting for locator('div > strong + ul') 42 | 43 | //checking the bullet points > 44 | await expect(automaticRemovePage.ulElement).toBeVisible(); | ^ 45 | 46 | for (const itemText of automaticRemovePage.bulletPointsExpected) { 47 | const liElement = automaticRemovePage.liElements.getByText(itemText); at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/dashboard/dashboard-overview-card.spec.ts:44:49
[chromium] › purchase.spec.ts:89:3 › stage - Breach Scan: src/e2e/specs/purchase.spec.ts#L14
2) [chromium] › purchase.spec.ts:89:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Monthly Test timeout of 180000ms exceeded while running "beforeEach" hook. 12 | ); 13 | > 14 | test.beforeEach(async ({ page, authPage, landingPage, welcomePage }) => { | ^ 15 | test.info().annotations.push({ 16 | type: "testrail id", 17 | description: at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/purchase.spec.ts:14:8
[chromium] › purchase.spec.ts:89:3 › stage - Breach Scan: src/e2e/pages/welcomeScanPage.ts#L106
2) [chromium] › purchase.spec.ts:89:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Monthly Error: locator.waitFor: Test timeout of 180000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Action needed' }) to be visible at ../pages/welcomeScanPage.ts:106 104 | // Waiting for scan to complete 105 | const dashboardPage = new DashboardPage(this.page); > 106 | await dashboardPage.actionNeededTab.waitFor(); | ^ 107 | 108 | // TODO: Handle state in prod where it says "Scan still in progress:" 109 | } at WelcomePage.goThroughFirstScan (/home/runner/work/blurts-server/blurts-server/src/e2e/pages/welcomeScanPage.ts:106:41) at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/purchase.spec.ts:43:5
[firefox] › purchase.spec.ts:48:3 › stage - Breach Scan: src/e2e/specs/purchase.spec.ts#L1
3) [firefox] › purchase.spec.ts:48:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Yearly Test timeout of 180000ms exceeded.
[firefox] › purchase.spec.ts:48:3 › stage - Breach Scan: src/e2e/specs/purchase.spec.ts#L78
3) [firefox] › purchase.spec.ts:48:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Yearly Error: locator.waitFor: Test timeout of 180000ms exceeded. Call log: - waiting for getByText('Subscription confirmation') to be visible 76 | await purchasePage.fillOutStripeCardInfo(); 77 | await purchasePage.payNowButton.click({ force: true }); > 78 | await page.getByText("Subscription confirmation").waitFor(); | ^ 79 | // navigate to confirmation 80 | await purchasePage.getStartedButton.click(); 81 | await purchasePage.goToNextStep.waitFor(); at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/purchase.spec.ts:78:55
[firefox] › purchase.spec.ts:154:3 › stage - Breach Scan: src/e2e/pages/purchasePage.ts#L168
4) [firefox] › purchase.spec.ts:154:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a PayPal account - yearly TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Automatic data removal: On' }) at ../pages/purchasePage.ts:168 166 | await this.goToNextStep.click(); 167 | // confirm successful payment > 168 | await dashboardPage.plusSubscription.waitFor({ | ^ 169 | state: "attached", 170 | timeout: 10000, 171 | }); at PurchasePage.postPaymentPageCheck (/home/runner/work/blurts-server/blurts-server/src/e2e/pages/purchasePage.ts:168:42) at /home/runner/work/blurts-server/blurts-server/src/e2e/specs/purchase.spec.ts:170:5
e2e-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [firefox] › dashboard/dashboard-breaches-scan.spec.ts#L1
[firefox] › dashboard/dashboard-breaches-scan.spec.ts took 45.6s
Slow Test: [chromium] › dashboard/dashboard-breaches-scan.spec.ts#L1
[chromium] › dashboard/dashboard-breaches-scan.spec.ts took 41.9s
Slow Test: [chromium] › landing/landing-content.spec.ts#L1
[chromium] › landing/landing-content.spec.ts took 38.7s
Slow Test: [firefox] › landing/landing-content.spec.ts#L1
[firefox] › landing/landing-content.spec.ts took 25.8s
Slow Test: [firefox] › landing/landing-new-account.spec.ts#L1
[firefox] › landing/landing-new-account.spec.ts took 24.0s
🎭 Playwright Run Summary
4 flaky [chromium] › dashboard/dashboard-overview-card.spec.ts:23:3 › stage - Breaches Dashboard - Overview Card › Verify that the Premium upsell screen is displayed correctly - overview card [chromium] › purchase.spec.ts:89:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Monthly [firefox] › purchase.spec.ts:48:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a Stripe card - Yearly [firefox] › purchase.spec.ts:154:3 › stage - Breach Scan, Monitor Plus Purchase Flow › Verify that the user can purchase the plus subscription with a PayPal account - yearly 6 skipped 76 passed (23.2m)

Artifacts

Produced during runtime
Name Size
playwright-report
35.3 MB
test-results
34.2 MB