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