Firewall demo hidden release INTER-378 #34
Annotations
4 errors and 1 notice
Run Playwright tests:
e2e/bot-firewall.spec.ts#L30
1) [chromium] › bot-firewall.spec.ts:12:7 › Bot Firewall Demo › Should display bot visit a allow blocking IP address
Error: expect(received).toBe(expected) // Object.is equality
Expected: 403
Received: 200
28 | const responsePromise = secondPage.waitForResponse('https://staging.fingerprinthub.com/web-scraping');
29 | await secondPage.goto('https://staging.fingerprinthub.com/web-scraping');
> 30 | expect((await responsePromise).status()).toBe(403);
| ^
31 |
32 | // Unblock IP
33 | await page.goto('/bot-firewall');
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:30:46
|
Run Playwright tests:
e2e/bot-firewall.spec.ts#L30
1) [chromium] › bot-firewall.spec.ts:12:7 › Bot Firewall Demo › Should display bot visit a allow blocking IP address
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 403
Received: 200
28 | const responsePromise = secondPage.waitForResponse('https://staging.fingerprinthub.com/web-scraping');
29 | await secondPage.goto('https://staging.fingerprinthub.com/web-scraping');
> 30 | expect((await responsePromise).status()).toBe(403);
| ^
31 |
32 | // Unblock IP
33 | await page.goto('/bot-firewall');
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:30:46
|
Run Playwright tests:
e2e/bot-firewall.spec.ts#L41
1) [chromium] › bot-firewall.spec.ts:12:7 › Bot Firewall Demo › Should display bot visit a allow blocking 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')
39 | await secondPage.goto('https://staging.fingerprinthub.com/web-scraping');
40 | await secondPage.reload();
> 41 | await expect(secondPage.getByTestId(TEST_IDS.common.alert)).toContainText('Malicious bot detected');
| ^
42 | });
43 | });
44 |
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:41:65
|
Run Playwright tests
Process completed with exit code 1.
|
Run Playwright tests
1 failed
[chromium] › bot-firewall.spec.ts:12:7 › Bot Firewall Demo › Should display bot visit a allow blocking IP address
27 passed (1.8m)
|
The logs for this run have expired and are no longer available.
Loading