Skip to content

Production E2E Tests #460

Production E2E Tests

Production E2E Tests #460

Triggered via schedule March 3, 2024 04:04
Status Failure
Total duration 6m 19s
Artifacts 1

production_e2e.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address: e2e/bot-firewall.spec.ts#L1
1) [chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address Test timeout of 30000ms exceeded.
[chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address: e2e/bot-firewall.spec.ts#L40
1) [chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address Error: locator.waitFor: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('heading', { name: 'Sorry, you have been blocked' }) to be visible 38 | await secondTab.goto(WEB_SCRAPING_URL); 39 | await secondTab.reload(); > 40 | await secondTab.getByRole('heading', { name: 'Sorry, you have been blocked' }).waitFor(); | ^ 41 | 42 | // Unblock IP 43 | await page.goto('/bot-firewall'); at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:40:84
[chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address: e2e/bot-firewall.spec.ts#L24
1) [chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('alert') Expected string: "Malicious bot detected" Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for getByTestId('alert') 22 | // Record bot visit in web-scraping page 23 | await page.goto('/web-scraping'); > 24 | await expect(page.getByTestId(TEST_IDS.common.alert)).toContainText('Malicious bot detected'); | ^ 25 | 26 | // Check bot visit record and block IP 27 | await page.goto('/bot-firewall'); at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:24:59
[chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address: e2e/bot-firewall.spec.ts#L51
1) [chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('alert') Expected string: "Malicious bot detected" Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for getByTestId('alert') 49 | await secondTab.goto(WEB_SCRAPING_URL); 50 | await secondTab.reload(); > 51 | await expect(secondTab.getByTestId(TEST_IDS.common.alert)).toContainText('Malicious bot detected'); | ^ 52 | }); 53 | }); 54 | at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:51:64
[chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist: e2e/coupon-fraud.spec.ts#L15
2) [chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist Test timeout of 30000ms exceeded while running "beforeEach" hook. 13 | 14 | test.describe('Coupon fraud', () => { > 15 | test.beforeEach(async ({ page }) => { | ^ 16 | await page.goto('/coupon-fraud'); 17 | await resetScenarios(page); 18 | }); at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/coupon-fraud.spec.ts:15:8
[chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist: e2e/resetHelper.ts#L7
2) [chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist Error: page.waitForLoadState: Test timeout of 30000ms exceeded. at resetHelper.ts:7 5 | export async function resetScenarios(page: Page) { 6 | await page.getByTestId(TEST_IDS.reset.resetButton).click(); > 7 | await page.waitForLoadState('networkidle'); | ^ 8 | await page.getByTestId(TEST_IDS.reset.resetSuccess).waitFor({ timeout: 10000 }); 9 | } 10 | at resetScenarios (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/resetHelper.ts:7:14) at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/coupon-fraud.spec.ts:17:5
[chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist: e2e/coupon-fraud.spec.ts#L15
2) [chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded while running "beforeEach" hook. 13 | 14 | test.describe('Coupon fraud', () => { > 15 | test.beforeEach(async ({ page }) => { | ^ 16 | await page.goto('/coupon-fraud'); 17 | await resetScenarios(page); 18 | }); at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/coupon-fraud.spec.ts:15:8
[chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist: e2e/resetHelper.ts#L7
2) [chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForLoadState: Test timeout of 30000ms exceeded. at resetHelper.ts:7 5 | export async function resetScenarios(page: Page) { 6 | await page.getByTestId(TEST_IDS.reset.resetButton).click(); > 7 | await page.waitForLoadState('networkidle'); | ^ 8 | await page.getByTestId(TEST_IDS.reset.resetSuccess).waitFor({ timeout: 10000 }); 9 | } 10 | at resetScenarios (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/resetHelper.ts:7:14) at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/coupon-fraud.spec.ts:17:5
[chromium] › loan-risk.spec.ts:62:9 › Loan risk › should not approve loan if monthlyIncome changes after first submit: e2e/loan-risk.spec.ts#L19
3) [chromium] › loan-risk.spec.ts:62:9 › Loan risk › should not approve loan if monthlyIncome changes after first submit Test timeout of 30000ms exceeded while running "beforeEach" hook. 17 | 18 | test.describe('Loan risk', () => { > 19 | test.beforeEach(async ({ page }) => { | ^ 20 | await page.goto('/loan-risk'); 21 | await resetScenarios(page); 22 | }); at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:19:8
[chromium] › loan-risk.spec.ts:62:9 › Loan risk › should not approve loan if monthlyIncome changes after first submit: e2e/resetHelper.ts#L7
3) [chromium] › loan-risk.spec.ts:62:9 › Loan risk › should not approve loan if monthlyIncome changes after first submit Error: page.waitForLoadState: Test timeout of 30000ms exceeded. at resetHelper.ts:7 5 | export async function resetScenarios(page: Page) { 6 | await page.getByTestId(TEST_IDS.reset.resetButton).click(); > 7 | await page.waitForLoadState('networkidle'); | ^ 8 | await page.getByTestId(TEST_IDS.reset.resetSuccess).waitFor({ timeout: 10000 }); 9 | } 10 | at resetScenarios (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/resetHelper.ts:7:14) at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:21:5
🎭 Playwright Run Summary
1 failed [chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address 3 flaky [chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist [chromium] › loan-risk.spec.ts:62:9 › Loan risk › should not approve loan if monthlyIncome changes after first submit [chromium] › personalization.spec.ts:71:7 › Personalization › should filter products and remember search history 26 passed (6.0m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
12.4 MB