Skip to content

Repo maintenance: Switch to PNPM, update and clean dependencies, speed up production tests INTER-553 #125

Repo maintenance: Switch to PNPM, update and clean dependencies, speed up production tests INTER-553

Repo maintenance: Switch to PNPM, update and clean dependencies, speed up production tests INTER-553 #125

Re-run triggered February 29, 2024 12:36
Status Failure
Total duration 4m 37s
Artifacts 5

ci.yml

on: pull_request
Matrix: Playwright e2e tests
Fit to window
Zoom out
Zoom in

Annotations

8 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 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
[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 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') 5 | test('is not possible with Bot detection on', async ({ page }) => { 6 | await page.goto('/web-scraping', { waitUntil: 'networkidle' }); > 7 | await expect(page.getByTestId(TEST_IDS.common.alert)).toContainText('Malicious bot detected'); | ^ 8 | }); 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 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') 5 | test('is not possible with Bot detection on', async ({ page }) => { 6 | await page.goto('/web-scraping', { waitUntil: 'networkidle' }); > 7 | await expect(page.getByTestId(TEST_IDS.common.alert)).toContainText('Malicious bot detected'); | ^ 8 | }); 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 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') 5 | test('is not possible with Bot detection on', async ({ page }) => { 6 | await page.goto('/web-scraping', { waitUntil: 'networkidle' }); > 7 | await expect(page.getByTestId(TEST_IDS.common.alert)).toContainText('Malicious bot detected'); | ^ 8 | }); 9 | }); 10 | at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/scraping/protected.spec.ts:7:59
[firefox] › personalization.spec.ts:55:7 › Personalization › should remember cart contents after reloading page: e2e/personalization.spec.ts#L1
2) [firefox] › personalization.spec.ts:55:7 › Personalization › should remember cart contents after reloading page Test timeout of 30000ms exceeded.
[firefox] › personalization.spec.ts:55:7 › Personalization › should remember cart contents after reloading page: e2e/personalization.spec.ts#L63
2) [firefox] › personalization.spec.ts:55:7 › Personalization › should remember cart contents after reloading page Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByTestId('cartItem').first().getByTestId('cartItemPlusOne') 61 | 62 | await product.getByTestId(PERS_ID.addToCart).click(); > 63 | await cartItem.getByTestId(CART_ID.cartItemPlusOne).click(); | ^ 64 | 65 | await page.reload(); 66 | at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/personalization.spec.ts:63:57
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 (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 (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 Run Summary
29 passed (1.4m)
🎭 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
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 1 flaky [firefox] › personalization.spec.ts:55:7 › Personalization › should remember cart contents after reloading page 27 passed (2.8m)

Artifacts

Produced during runtime
Name Size
playwright-report-2 Expired
7.36 MB