Firewall demo hidden release INTER-378 #34
ci.yml
on: pull_request
Lint
15s
Unit tests
12s
Matrix: Playwright e2e tests
Annotations
4 errors and 3 notices
[chromium] › bot-firewall.spec.ts:12:7 › Bot Firewall Demo › Should display bot visit a allow blocking IP address:
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
|
[chromium] › bot-firewall.spec.ts:12:7 › Bot Firewall Demo › Should display bot visit a allow blocking IP address:
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
|
[chromium] › bot-firewall.spec.ts:12:7 › Bot Firewall Demo › Should display bot visit a allow blocking IP address:
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
|
Playwright e2e tests (1, 3)
Process completed with exit code 1.
|
🎭 Playwright Run Summary
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)
|
🎭 Playwright Run Summary
28 passed (2.1m)
|
🎭 Playwright Run Summary
28 passed (2.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
4.17 MB |
|