chore: lint and remove unnecessary conditions (#183) #531
ci.yml
on: push
Lint
29s
Unit tests
15s
Matrix: Playwright e2e tests
Annotations
5 errors, 5 warnings, and 3 notices
[webkit] › sms-pumping/bot-protected.spec.ts:13:7 › Sending verification SMS messages › is not possible as a bot with Bot detection on:
e2e/e2eTestUtils.ts#L34
1) [webkit] › sms-pumping/bot-protected.spec.ts:13:7 › Sending verification SMS messages › is not possible as a bot with Bot detection on
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('alert').first()
Expected string: "error"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('alert').first()
at e2eTestUtils.ts:34
32 | export async function assertAlert({ page, severity, text, index = 0 }: AssertAlertOrSnackbarArgs) {
33 | const alert = await page.getByTestId(TEST_IDS.common.alert).nth(index);
> 34 | await expect(alert).toHaveAttribute(TEST_ATTRIBUTES.severity, severity);
| ^
35 | await expect(alert).toContainText(text);
36 | }
37 |
at assertAlert (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/e2eTestUtils.ts:34:23)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/sms-pumping/bot-protected.spec.ts:16:5
|
[chromium] › bot-firewall.spec.ts:28:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address:
e2e/bot-firewall.spec.ts#L88
1) [chromium] › bot-firewall.spec.ts:28: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).toBeVisible()
Locator: getByRole('heading', { name: 'Sorry, you have been blocked' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Sorry, you have been blocked' })
86 | await page.reload();
87 | }
> 88 | await expect(locator).toBeVisible();
| ^
89 | };
90 |
at assertElementWhileRepeatedlyReloadingPage (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:88:25)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:45:5
|
[chromium] › bot-firewall.spec.ts:28:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address:
e2e/bot-firewall.spec.ts#L88
1) [chromium] › bot-firewall.spec.ts:28:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Sorry, you have been blocked' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Sorry, you have been blocked' })
86 | await page.reload();
87 | }
> 88 | await expect(locator).toBeVisible();
| ^
89 | };
90 |
at assertElementWhileRepeatedlyReloadingPage (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:88:25)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:45:5
|
[chromium] › bot-firewall.spec.ts:28:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address:
e2e/bot-firewall.spec.ts#L88
1) [chromium] › bot-firewall.spec.ts:28: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).toBeVisible()
Locator: getByRole('heading', { name: 'Sorry, you have been blocked' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Sorry, you have been blocked' })
86 | await page.reload();
87 | }
> 88 | await expect(locator).toBeVisible();
| ^
89 | };
90 |
at assertElementWhileRepeatedlyReloadingPage (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:88:25)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/bot-firewall.spec.ts:45:5
|
Playwright e2e tests (1, 3)
Process completed with exit code 1.
|
Unit tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright e2e tests (2, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright e2e tests (3, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright e2e tests (1, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
3 skipped
36 passed (2.3m)
|
🎭 Playwright Run Summary
1 flaky
[webkit] › sms-pumping/bot-protected.spec.ts:13:7 › Sending verification SMS messages › is not possible as a bot with Bot detection on
1 skipped
37 passed (3.0m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › bot-firewall.spec.ts:28:7 › Bot Firewall Demo CHROME_ONLY › Should display bot visit and allow blocking/unblocking its IP address
38 passed (4.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-1
|
8.19 MB |
|
playwright-report-2
|
205 KB |
|
playwright-report-3
|
1.86 MB |
|