SMS Fraud use case demo INTER-596 #210
Annotations
4 errors and 1 notice
Run Playwright tests:
e2e/e2eTestUtils.ts#L21
1) [chromium] › sms-fraud/bot-protected.spec.ts:9:7 › Sending verification SMS messages › is not possible as a bot with Bot detection on
Error: expect(locator).toHaveAttribute(expected)
Locator: getByTestId('alert').first()
Expected string: "error"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('alert').first()
at e2eTestUtils.ts:21
19 | export async function assertAlert({ page, severity, text, index = 0 }: AssertAlertOrSnackbarArgs) {
20 | const alert = await page.getByTestId(TEST_IDS.common.alert).nth(index);
> 21 | await expect(alert).toHaveAttribute(TEST_ATTRIBUTES.severity, severity);
| ^
22 | await expect(alert).toContainText(text);
23 | }
24 |
at assertAlert (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/e2eTestUtils.ts:21:23)
|
Run Playwright tests:
e2e/e2eTestUtils.ts#L21
1) [chromium] › sms-fraud/bot-protected.spec.ts:9:7 › Sending verification SMS messages › is not possible as a bot with Bot detection on
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveAttribute(expected)
Locator: getByTestId('alert').first()
Expected string: "error"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('alert').first()
at e2eTestUtils.ts:21
19 | export async function assertAlert({ page, severity, text, index = 0 }: AssertAlertOrSnackbarArgs) {
20 | const alert = await page.getByTestId(TEST_IDS.common.alert).nth(index);
> 21 | await expect(alert).toHaveAttribute(TEST_ATTRIBUTES.severity, severity);
| ^
22 | await expect(alert).toContainText(text);
23 | }
24 |
at assertAlert (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/e2eTestUtils.ts:21:23)
|
Run Playwright tests:
e2e/e2eTestUtils.ts#L21
1) [chromium] › sms-fraud/bot-protected.spec.ts:9:7 › Sending verification SMS messages › is not possible as a bot with Bot detection on
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveAttribute(expected)
Locator: getByTestId('alert').first()
Expected string: "error"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('alert').first()
at e2eTestUtils.ts:21
19 | export async function assertAlert({ page, severity, text, index = 0 }: AssertAlertOrSnackbarArgs) {
20 | const alert = await page.getByTestId(TEST_IDS.common.alert).nth(index);
> 21 | await expect(alert).toHaveAttribute(TEST_ATTRIBUTES.severity, severity);
| ^
22 | await expect(alert).toContainText(text);
23 | }
24 |
at assertAlert (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/e2eTestUtils.ts:21:23)
|
Run Playwright tests
Process completed with exit code 1.
|
Run Playwright tests
1 failed
[chromium] › sms-fraud/bot-protected.spec.ts:9:7 › Sending verification SMS messages › is not possible as a bot with Bot detection on
32 passed (2.6m)
|
Loading