Skip to content

SMS Fraud use case demo INTER-596 #212

SMS Fraud use case demo INTER-596

SMS Fraud use case demo INTER-596 #212

Re-run triggered April 4, 2024 08:43
Status Failure
Total duration 4m 57s
Artifacts 4

ci.yml

on: pull_request
Matrix: Playwright e2e tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 notices
[chromium] › bot-firewall.spec.ts:27:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address: e2e/bot-firewall.spec.ts#L87
1) [chromium] › bot-firewall.spec.ts:27:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Sorry, you have been blocked' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Sorry, you have been blocked' }) 85 | await page.reload(); 86 | } > 87 | await expect(locator).toBeVisible(); | ^ 88 | }; 89 | at assertElementWhileRepeatedlyReloadingPage (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:87:25) at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:44:5
[chromium] › bot-firewall.spec.ts:27:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address: e2e/bot-firewall.spec.ts#L87
1) [chromium] › bot-firewall.spec.ts:27: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).toBeVisible() Locator: getByRole('heading', { name: 'Sorry, you have been blocked' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Sorry, you have been blocked' }) 85 | await page.reload(); 86 | } > 87 | await expect(locator).toBeVisible(); | ^ 88 | }; 89 | at assertElementWhileRepeatedlyReloadingPage (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:87:25) at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:44:5
[webkit] › sms-fraud/bot-unprotected.spec.ts:35:7 › Sending verification SMS messages › allows user to create an account with the correct code: e2e/sms-fraud/bot-unprotected.spec.ts#L43
1) [webkit] › sms-fraud/bot-unprotected.spec.ts:35:7 › Sending verification SMS messages › allows user to create an account with the correct code Error: page.evaluate: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. 41 | await page.getByTestId(TEST_IDS.smsFraud.copyCodeButton).click(); 42 | > 43 | await page.getByTestId(TEST_IDS.smsFraud.codeInput).fill(await page.evaluate('navigator.clipboard.readText()')); | ^ 44 | await page.getByTestId(TEST_IDS.smsFraud.sendCode).click(); 45 | 46 | await assertAlert({ page, severity: 'success', text: SMS_FRAUD_COPY.accountCreated, index: 1 }); at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/sms-fraud/bot-unprotected.spec.ts:43:73
[webkit] › sms-fraud/bot-unprotected.spec.ts:35:7 › Sending verification SMS messages › allows user to create an account with the correct code: e2e/sms-fraud/bot-unprotected.spec.ts#L43
1) [webkit] › sms-fraud/bot-unprotected.spec.ts:35:7 › Sending verification SMS messages › allows user to create an account with the correct code Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. 41 | await page.getByTestId(TEST_IDS.smsFraud.copyCodeButton).click(); 42 | > 43 | await page.getByTestId(TEST_IDS.smsFraud.codeInput).fill(await page.evaluate('navigator.clipboard.readText()')); | ^ 44 | await page.getByTestId(TEST_IDS.smsFraud.sendCode).click(); 45 | 46 | await assertAlert({ page, severity: 'success', text: SMS_FRAUD_COPY.accountCreated, index: 1 }); at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/sms-fraud/bot-unprotected.spec.ts:43:73
[webkit] › sms-fraud/bot-unprotected.spec.ts:35:7 › Sending verification SMS messages › allows user to create an account with the correct code: e2e/sms-fraud/bot-unprotected.spec.ts#L43
1) [webkit] › sms-fraud/bot-unprotected.spec.ts:35:7 › Sending verification SMS messages › allows user to create an account with the correct code Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. 41 | await page.getByTestId(TEST_IDS.smsFraud.copyCodeButton).click(); 42 | > 43 | await page.getByTestId(TEST_IDS.smsFraud.codeInput).fill(await page.evaluate('navigator.clipboard.readText()')); | ^ 44 | await page.getByTestId(TEST_IDS.smsFraud.sendCode).click(); 45 | 46 | await assertAlert({ page, severity: 'success', text: SMS_FRAUD_COPY.accountCreated, index: 1 }); at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/sms-fraud/bot-unprotected.spec.ts:43:73
Playwright e2e tests (3, 3)
Process completed with exit code 1.
🎭 Playwright Run Summary
1 flaky [chromium] › bot-firewall.spec.ts:27:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address 32 passed (3.9m)
🎭 Playwright Run Summary
3 skipped 30 passed (2.3m)
🎭 Playwright Run Summary
1 failed [webkit] › sms-fraud/bot-unprotected.spec.ts:35:7 › Sending verification SMS messages › allows user to create an account with the correct code 1 skipped 31 passed (3.3m)

Artifacts

Produced during runtime
Name Size
playwright-report-3 Expired
2.97 MB