Test: fix flaky firewall test INTER-320 #160
ci.yml
on: pull_request
Lint
26s
Unit tests
31s
Matrix: Playwright e2e tests
Annotations
4 errors, 5 warnings, and 3 notices
[chromium] › bot-firewall.spec.ts:25:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address:
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.
|
[chromium] › bot-firewall.spec.ts:25:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address:
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
|
[chromium] › bot-firewall.spec.ts:25:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address:
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.
|
[chromium] › bot-firewall.spec.ts:25:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address:
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
|
Lint
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/.
|
Unit tests
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/.
|
Playwright e2e tests (3, 3)
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/.
|
Playwright e2e tests (2, 3)
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/.
|
Playwright e2e tests (1, 3)
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/.
|
🎭 Playwright Run Summary
1 skipped
29 passed (1.8m)
|
🎭 Playwright Run Summary
2 skipped
28 passed (1.8m)
|
🎭 Playwright Run Summary
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)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-1
Expired
|
3.86 MB |
|
playwright-report-2
Expired
|
195 KB |
|
playwright-report-3
Expired
|
195 KB |
|