Test: fix flaky firewall test INTER-320 #160
Annotations
4 errors, 1 warning, and 1 notice
Run Playwright tests:
e2e/bot-firewall.spec.ts#L1
1) [chromium] › bot-firewall.spec.ts:25:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address
Test timeout of 60000ms exceeded.
|
Run Playwright tests:
e2e/bot-firewall.spec.ts#L46
1) [chromium] › bot-firewall.spec.ts:25:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address
Error: locator.waitFor: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('heading', { name: 'Sorry, you have been blocked' }) to be visible
44 | await secondTab.goto(WEB_SCRAPING_URL);
45 | await secondTab.reload();
> 46 | await secondTab.getByRole('heading', { name: 'Sorry, you have been blocked' }).waitFor();
| ^
47 |
48 | // Unblock IP
49 | await page.goto('/bot-firewall');
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:46:84
|
Run Playwright tests:
e2e/bot-firewall.spec.ts#L1
1) [chromium] › bot-firewall.spec.ts:25:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Run Playwright tests:
e2e/bot-firewall.spec.ts#L46
1) [chromium] › bot-firewall.spec.ts:25:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('heading', { name: 'Sorry, you have been blocked' }) to be visible
44 | await secondTab.goto(WEB_SCRAPING_URL);
45 | await secondTab.reload();
> 46 | await secondTab.getByRole('heading', { name: 'Sorry, you have been blocked' }).waitFor();
| ^
47 |
48 | // Unblock IP
49 | await page.goto('/bot-firewall');
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:46:84
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@ebcfd6995dade4b0104ac774445cef8b3b4635b0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Playwright tests
1 flaky
[chromium] › bot-firewall.spec.ts:25:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address
29 passed (4.6m)
|
Loading