fix: enable remote control detection #535
ci.yml
on: pull_request
Lint
1m 32s
Unit tests
1m 33s
Matrix: Playwright e2e tests
Annotations
3 errors, 5 warnings, and 3 notices
[webkit] › playground.spec.ts:104:7 › Playground page › Clicking JSON link scrolls to appropriate JSON property:
e2e/playground.spec.ts#L106
1) [webkit] › playground.spec.ts:104:7 › Playground page › Clicking JSON link scrolls to appropriate JSON property
Error: Timed out 5000ms waiting for expect(locator).toBeInViewport()
Locator: locator('span.json-view--property:text("rawDeviceAttributes")')
Expected: in viewport
Received: outside viewport
Call log:
- expect.toBeInViewport with timeout 5000ms
- waiting for locator('span.json-view--property:text("rawDeviceAttributes")')
- locator resolved to <span class="json-view--property">rawDeviceAttributes</span>
- unexpected value "viewport ratio 0"
- locator resolved to <span class="json-view--property">rawDeviceAttributes</span>
- unexpected value "viewport ratio 0"
- locator resolved to <span class="json-view--property">rawDeviceAttributes</span>
- unexpected value "viewport ratio 0"
- locator resolved to <span class="json-view--property">rawDeviceAttributes</span>
- unexpected value "viewport ratio 0"
- locator resolved to <span class="json-view--property">rawDeviceAttributes</span>
- unexpected value "viewport ratio 0"
- locator resolved to <span class="json-view--property">rawDeviceAttributes</span>
- unexpected value "viewport ratio 0"
- locator resolved to <span class="json-view--property">rawDeviceAttributes</span>
- unexpected value "viewport ratio 0"
- locator resolved to <span class="json-view--property">rawDeviceAttributes</span>
- unexpected value "viewport ratio 0"
104 | test('Clicking JSON link scrolls to appropriate JSON property', async ({ page }) => {
105 | await page.getByText('See the JSON below').click({ force: true });
> 106 | await expect(page.locator('span.json-view--property:text("rawDeviceAttributes")')).toBeInViewport();
| ^
107 | });
108 | });
109 |
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/playground.spec.ts:106:88
|
[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
2) [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
|
[firefox] › vpn-detection.spec.ts:13:7 › VPN Detection demo › should personalize UI copy based on user location:
e2e/vpn-detection.spec.ts#L14
1) [firefox] › vpn-detection.spec.ts:13:7 › VPN Detection demo › should personalize UI copy based on user location
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('callout')
Expected string: "We noticed you are from"
Received string: "We are offering purchasing power parity pricing."
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByTestId('callout')
- locator resolved to <p data-testid="callout">We are offering purchasing power parity pricing.</p>
- unexpected value "We are offering purchasing power parity pricing."
- locator resolved to <p data-testid="callout">We are offering purchasing power parity pricing.</p>
- unexpected value "We are offering purchasing power parity pricing."
- locator resolved to <p data-testid="callout">We are offering purchasing power parity pricing.</p>
- unexpected value "We are offering purchasing power parity pricing."
- locator resolved to <p data-testid="callout">We are offering purchasing power parity pricing.</p>
- unexpected value "We are offering purchasing power parity pricing."
- locator resolved to <p data-testid="callout">We are offering purchasing power parity pricing.</p>
- unexpected value "We are offering purchasing power parity pricing."
- locator resolved to <p data-testid="callout">We are offering purchasing power parity pricing.</p>
- unexpected value "We are offering purchasing power parity pricing."
- locator resolved to <p data-testid="callout">We are offering purchasing power parity pricing.</p>
- unexpected value "We are offering purchasing power parity pricing."
- locator resolved to <p data-testid="callout">We are offering purchasing power parity pricing.</p>
- unexpected value "We are offering purchasing power parity pricing."
12 |
13 | test('should personalize UI copy based on user location', async ({ page }) => {
> 14 | await expect(page.getByTestId(TEST_IDS.vpnDetection.callout)).toContainText(VPN_DETECTION_COPY.personalizedCallout);
| ^
15 |
16 | const button = await page.getByTestId(TEST_IDS.vpnDetection.activateRegionalPricing);
17 | await expect(button).toContainText(/\d+% off with/);
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/vpn-detection.spec.ts:14:67
|
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 (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 (2, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit tests
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
2 flaky
[webkit] › playground.spec.ts:104:7 › Playground page › Clicking JSON link scrolls to appropriate JSON property
[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
36 passed (3.2m)
|
🎭 Playwright Run Summary
1 flaky
[firefox] › vpn-detection.spec.ts:13:7 › VPN Detection demo › should personalize UI copy based on user location
3 skipped
35 passed (2.4m)
|
🎭 Playwright Run Summary
39 passed (3.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-1
|
206 KB |
|