Facelift: Alerts (#120) #114
Annotations
6 errors and 2 notices
Run Chrome-only Playwright tests:
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.
|
Run Chrome-only Playwright tests:
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
|
Run Chrome-only Playwright tests:
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 #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')
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
|
Run Chrome-only Playwright tests:
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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run Chrome-only Playwright tests:
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: 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
|
Run Chrome-only Playwright tests
Process completed with exit code 1.
|
Run Playwright tests
29 passed (2.1m)
|
Run Chrome-only Playwright tests
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
|
The logs for this run have expired and are no longer available.
Loading