Repo maintenance: Switch to PNPM, update and clean dependencies, speed up production tests INTER-553 #133
ci.yml
on: pull_request
Lint
26s
Unit tests
24s
Matrix: Playwright e2e tests
Annotations
4 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#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/.
|
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/.
|
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 (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 (2.3m)
|
🎭 Playwright Run Summary
29 passed (2.1m)
|
🎭 Playwright Run Summary
1 passed (41.4s)
|
🎭 Playwright Run Summary
1 failed
[firefox] › scraping/protected.spec.ts:5:7 › Scraping flights › is not possible with Bot detection on
28 passed (2.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-2
Expired
|
1.81 MB |
|