Production E2E Tests #479
Annotations
9 errors and 1 notice
Run Playwright tests on Chrome:
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
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 Playwright tests on Chrome:
e2e/bot-firewall.spec.ts#L16
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 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
14 | */
15 | test.describe('Bot Firewall Demo CHROME_ONLY', () => {
> 16 | test.beforeEach(async ({ page }) => {
| ^
17 | await page.goto('/coupon-fraud');
18 | await resetScenarios(page);
19 | });
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:16:8
|
Run Playwright tests on Chrome:
e2e/resetHelper.ts#L7
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: page.waitForLoadState: Test timeout of 30000ms exceeded.
at resetHelper.ts:7
5 | export async function resetScenarios(page: Page) {
6 | await page.getByTestId(TEST_IDS.reset.resetButton).click();
> 7 | await page.waitForLoadState('networkidle');
| ^
8 | await page.getByTestId(TEST_IDS.reset.resetSuccess).waitFor({ timeout: 10000 });
9 | }
10 |
at resetScenarios (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/resetHelper.ts:7:14)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:18:5
|
Run Playwright tests on Chrome:
e2e/coupon-fraud.spec.ts#L15
2) [chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist
Test timeout of 30000ms exceeded while running "beforeEach" hook.
13 |
14 | test.describe('Coupon fraud', () => {
> 15 | test.beforeEach(async ({ page }) => {
| ^
16 | await page.goto('/coupon-fraud');
17 | await resetScenarios(page);
18 | });
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/coupon-fraud.spec.ts:15:8
|
Run Playwright tests on Chrome:
e2e/resetHelper.ts#L7
2) [chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist
Error: page.waitForLoadState: Test timeout of 30000ms exceeded.
at resetHelper.ts:7
5 | export async function resetScenarios(page: Page) {
6 | await page.getByTestId(TEST_IDS.reset.resetButton).click();
> 7 | await page.waitForLoadState('networkidle');
| ^
8 | await page.getByTestId(TEST_IDS.reset.resetSuccess).waitFor({ timeout: 10000 });
9 | }
10 |
at resetScenarios (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/resetHelper.ts:7:14)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/coupon-fraud.spec.ts:17:5
|
Run Playwright tests on Chrome:
e2e/coupon-fraud.spec.ts#L15
3) [chromium] › coupon-fraud.spec.ts:27:7 › Coupon fraud › should apply correct coupon only once ─
Test timeout of 30000ms exceeded while running "beforeEach" hook.
13 |
14 | test.describe('Coupon fraud', () => {
> 15 | test.beforeEach(async ({ page }) => {
| ^
16 | await page.goto('/coupon-fraud');
17 | await resetScenarios(page);
18 | });
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/coupon-fraud.spec.ts:15:8
|
Run Playwright tests on Chrome:
e2e/resetHelper.ts#L7
3) [chromium] › coupon-fraud.spec.ts:27:7 › Coupon fraud › should apply correct coupon only once ─
Error: page.waitForLoadState: Test timeout of 30000ms exceeded.
at resetHelper.ts:7
5 | export async function resetScenarios(page: Page) {
6 | await page.getByTestId(TEST_IDS.reset.resetButton).click();
> 7 | await page.waitForLoadState('networkidle');
| ^
8 | await page.getByTestId(TEST_IDS.reset.resetSuccess).waitFor({ timeout: 10000 });
9 | }
10 |
at resetScenarios (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/resetHelper.ts:7:14)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/coupon-fraud.spec.ts:17:5
|
Run Playwright tests on Chrome:
e2e/payment-fraud.spec.ts#L19
4) [chromium] › payment-fraud.spec.ts:24:7 › Payment fraud › should pass payment with prefilled details
Test timeout of 30000ms exceeded while running "beforeEach" hook.
17 |
18 | test.describe('Payment fraud', () => {
> 19 | test.beforeEach(async ({ page }) => {
| ^
20 | await page.goto('/payment-fraud');
21 | await resetScenarios(page);
22 | });
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/payment-fraud.spec.ts:19:8
|
Run Playwright tests on Chrome:
e2e/resetHelper.ts#L7
4) [chromium] › payment-fraud.spec.ts:24:7 › Payment fraud › should pass payment with prefilled details
Error: page.waitForLoadState: Test timeout of 30000ms exceeded.
at resetHelper.ts:7
5 | export async function resetScenarios(page: Page) {
6 | await page.getByTestId(TEST_IDS.reset.resetButton).click();
> 7 | await page.waitForLoadState('networkidle');
| ^
8 | await page.getByTestId(TEST_IDS.reset.resetSuccess).waitFor({ timeout: 10000 });
9 | }
10 |
at resetScenarios (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/resetHelper.ts:7:14)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/payment-fraud.spec.ts:21:5
|
Run Playwright tests on Chrome
4 flaky
[chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address
[chromium] › coupon-fraud.spec.ts:20:7 › Coupon fraud › should not allow to claim coupon that does not exist
[chromium] › coupon-fraud.spec.ts:27:7 › Coupon fraud › should apply correct coupon only once ──
[chromium] › payment-fraud.spec.ts:24:7 › Payment fraud › should pass payment with prefilled details
26 passed (5.8m)
|
Loading