Production E2E Tests #5250
Annotations
2 errors and 1 notice
e2e/bot-firewall.spec.ts#L88
1) [chromium] › bot-firewall.spec.ts:28:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Web Scraping Prevention' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Web Scraping Prevention' })
86 | await page.reload();
87 | }
> 88 | await expect(locator).toBeVisible();
| ^
89 | };
90 |
at assertElementWhileRepeatedlyReloadingPage (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:88:25)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:57:5
|
e2e/bot-firewall.spec.ts#L31
1) [chromium] › bot-firewall.spec.ts:28: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')
29 | // Record bot visit in web-scraping page
30 | await page.goto('/web-scraping');
> 31 | await expect(page.getByTestId(TEST_IDS.common.alert)).toContainText('Malicious bot detected');
| ^
32 |
33 | // Check bot visit record and block IP
34 | await page.goto('/bot-firewall');
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:31:59
|
|
This job succeeded
Loading