Production E2E Tests #469
Annotations
10 errors and 1 notice
[chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address:
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
|
[chromium] › payment-fraud.spec.ts:37:7 › Payment fraud › should prevent card cracking after 3 attempts:
e2e/payment-fraud.spec.ts#L19
2) [chromium] › payment-fraud.spec.ts:37:7 › Payment fraud › should prevent card cracking after 3 attempts
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
|
[chromium] › payment-fraud.spec.ts:37:7 › Payment fraud › should prevent card cracking after 3 attempts:
e2e/resetHelper.ts#L7
2) [chromium] › payment-fraud.spec.ts:37:7 › Payment fraud › should prevent card cracking after 3 attempts
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
|
[chromium] › payment-fraud.spec.ts:37:7 › Payment fraud › should prevent card cracking after 3 attempts:
e2e/payment-fraud.spec.ts#L19
2) [chromium] › payment-fraud.spec.ts:37:7 › Payment fraud › should prevent card cracking after 3 attempts
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
[chromium] › payment-fraud.spec.ts:37:7 › Payment fraud › should prevent card cracking after 3 attempts:
e2e/resetHelper.ts#L7
2) [chromium] › payment-fraud.spec.ts:37:7 › Payment fraud › should prevent card cracking after 3 attempts
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/payment-fraud.spec.ts:21:5
|
[chromium] › personalization.spec.ts:17:7 › Personalization › should add and remove items from cart:
e2e/personalization.spec.ts#L9
3) [chromium] › personalization.spec.ts:17:7 › Personalization › should add and remove items from cart
Test timeout of 30000ms exceeded while running "beforeEach" hook.
7 |
8 | test.describe('Personalization', () => {
> 9 | test.beforeEach(async ({ page }) => {
| ^
10 | await page.goto('/personalization', {
11 | waitUntil: 'networkidle',
12 | });
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/personalization.spec.ts:9:8
|
[chromium] › personalization.spec.ts:17:7 › Personalization › should add and remove items from cart:
e2e/personalization.spec.ts#L10
3) [chromium] › personalization.spec.ts:17:7 › Personalization › should add and remove items from cart
Error: page.goto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "https://demo.fingerprint.com/personalization", waiting until "networkidle"
8 | test.describe('Personalization', () => {
9 | test.beforeEach(async ({ page }) => {
> 10 | await page.goto('/personalization', {
| ^
11 | waitUntil: 'networkidle',
12 | });
13 | await page.getByText('Okay, I understand').click();
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/personalization.spec.ts:10:16
|
[chromium] › personalization.spec.ts:17:7 › Personalization › should add and remove items from cart:
e2e/personalization.spec.ts#L9
3) [chromium] › personalization.spec.ts:17:7 › Personalization › should add and remove items from cart
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
7 |
8 | test.describe('Personalization', () => {
> 9 | test.beforeEach(async ({ page }) => {
| ^
10 | await page.goto('/personalization', {
11 | waitUntil: 'networkidle',
12 | });
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/personalization.spec.ts:9:8
|
[chromium] › personalization.spec.ts:17:7 › Personalization › should add and remove items from cart:
e2e/personalization.spec.ts#L10
3) [chromium] › personalization.spec.ts:17:7 › Personalization › should add and remove items from cart
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "https://demo.fingerprint.com/personalization", waiting until "networkidle"
8 | test.describe('Personalization', () => {
9 | test.beforeEach(async ({ page }) => {
> 10 | await page.goto('/personalization', {
| ^
11 | waitUntil: 'networkidle',
12 | });
13 | await page.getByText('Okay, I understand').click();
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/personalization.spec.ts:10:16
|
[chromium] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on:
e2e/scraping/protected.spec.ts#L1
4) [chromium] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on
Test timeout of 30000ms exceeded.
|
🎭 Playwright Run Summary
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] › payment-fraud.spec.ts:37:7 › Payment fraud › should prevent card cracking after 3 attempts
[chromium] › personalization.spec.ts:17:7 › Personalization › should add and remove items from cart
[chromium] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on
26 passed (6.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
10.4 MB |
|