Repo maintenance: Switch to PNPM, update and clean dependencies, speed up production tests INTER-553 #131
ci.yml
on: pull_request
Lint
25s
Unit tests
23s
Matrix: Playwright e2e tests
Annotations
6 errors, 5 warnings, and 4 notices
[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#L1
1) [chromium] › bot-firewall.spec.ts:21: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:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address:
e2e/bot-firewall.spec.ts#L41
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: locator.waitFor: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('heading', { name: 'Sorry, you have been blocked' }) to be visible
39 | await secondTab.goto(WEB_SCRAPING_URL);
40 | await secondTab.reload();
> 41 | await secondTab.getByRole('heading', { name: 'Sorry, you have been blocked' }).waitFor();
| ^
42 |
43 | // Unblock IP
44 | await page.goto('/bot-firewall');
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:41:84
|
[firefox] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on:
e2e/scraping/protected.spec.ts#L8
1) [firefox] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on
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')
6 | await page.goto('/web-scraping');
7 | await page.getByRole('heading', { name: 'Learn more' }).scrollIntoViewIfNeeded();
> 8 | await expect(page.getByTestId(TEST_IDS.common.alert)).toContainText('Malicious bot detected');
| ^
9 | });
10 | });
11 |
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/scraping/protected.spec.ts:8:59
|
[firefox] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on:
e2e/scraping/protected.spec.ts#L8
1) [firefox] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on
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')
6 | await page.goto('/web-scraping');
7 | await page.getByRole('heading', { name: 'Learn more' }).scrollIntoViewIfNeeded();
> 8 | await expect(page.getByTestId(TEST_IDS.common.alert)).toContainText('Malicious bot detected');
| ^
9 | });
10 | });
11 |
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/scraping/protected.spec.ts:8:59
|
[firefox] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on:
e2e/scraping/protected.spec.ts#L8
1) [firefox] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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')
6 | await page.goto('/web-scraping');
7 | await page.getByRole('heading', { name: 'Learn more' }).scrollIntoViewIfNeeded();
> 8 | await expect(page.getByTestId(TEST_IDS.common.alert)).toContainText('Malicious bot detected');
| ^
9 | });
10 | });
11 |
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/scraping/protected.spec.ts:8:59
|
Playwright e2e tests (2, 3)
Process completed with exit code 1.
|
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 (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 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 Run Summary
29 passed (1.7m)
|
🎭 Playwright Run Summary
29 passed (1.5m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › bot-firewall.spec.ts:21:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address
|
🎭 Playwright Run Summary
1 failed
[firefox] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on
28 passed (2.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-2
Expired
|
1.63 MB |
|