WIP: Playground redesign #363
ci.yml
on: pull_request
Lint
1m 7s
Unit tests
1m 13s
Matrix: Playwright e2e tests
Annotations
23 errors and 3 notices
[webkit] › vpn-detection.spec.ts:13:7 › VPN Detection demo › should personalize UI copy based on user location:
e2e/vpn-detection.spec.ts#L14
1) [webkit] › 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."
- 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
|
[webkit] › vpn-detection.spec.ts:13:7 › VPN Detection demo › should personalize UI copy based on user location:
e2e/vpn-detection.spec.ts#L14
1) [webkit] › vpn-detection.spec.ts:13:7 › VPN Detection demo › should personalize UI copy based on user location
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
[webkit] › vpn-detection.spec.ts:13:7 › VPN Detection demo › should personalize UI copy based on user location:
e2e/vpn-detection.spec.ts#L14
1) [webkit] › vpn-detection.spec.ts:13:7 › VPN Detection demo › should personalize UI copy based on user location
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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."
- 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
|
[webkit] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN:
e2e/e2eTestUtils.ts#L34
2) [webkit] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('alert').first()
Expected string: "success"
Received string: "error"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
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/vpn-detection.spec.ts:34:5
|
[webkit] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN:
e2e/e2eTestUtils.ts#L34
2) [webkit] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('alert').first()
Expected string: "success"
Received string: "error"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
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/vpn-detection.spec.ts:34:5
|
[webkit] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN:
e2e/e2eTestUtils.ts#L34
2) [webkit] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('alert').first()
Expected string: "success"
Received string: "error"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
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/vpn-detection.spec.ts:34:5
|
[webkit] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN:
e2e/e2eTestUtils.ts#L35
3) [webkit] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('alert').first()
Expected string: "You are using a VPN."
Received string: "FPJSAgentError: Failed to load the JS script of the agent"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
at e2eTestUtils.ts:35
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 |
38 | export async function assertSnackbar({ page, severity, text, index = 0 }: AssertAlertOrSnackbarArgs) {
at assertAlert (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/e2eTestUtils.ts:35:23)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/vpn-detection.spec.ts:52:5
|
[webkit] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN:
e2e/e2eTestUtils.ts#L35
3) [webkit] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('alert').first()
Expected string: "You are using a VPN."
Received string: "FPJSAgentError: Failed to load the JS script of the agent"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
at e2eTestUtils.ts:35
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 |
38 | export async function assertSnackbar({ page, severity, text, index = 0 }: AssertAlertOrSnackbarArgs) {
at assertAlert (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/e2eTestUtils.ts:35:23)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/vpn-detection.spec.ts:52:5
|
[webkit] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN:
e2e/e2eTestUtils.ts#L35
3) [webkit] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('alert').first()
Expected string: "You are using a VPN."
Received string: "FPJSAgentError: Failed to load the JS script of the agent"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
at e2eTestUtils.ts:35
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 |
38 | export async function assertSnackbar({ page, severity, text, index = 0 }: AssertAlertOrSnackbarArgs) {
at assertAlert (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/e2eTestUtils.ts:35:23)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/vpn-detection.spec.ts:52:5
|
Playwright e2e tests (3, 3)
Process completed with exit code 1.
|
[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."
- 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
|
[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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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."
- 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
|
[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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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."
- 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
|
[firefox] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN:
e2e/e2eTestUtils.ts#L34
2) [firefox] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('alert').first()
Expected string: "success"
Received string: "error"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
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/vpn-detection.spec.ts:34:5
|
[firefox] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN:
e2e/e2eTestUtils.ts#L34
2) [firefox] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('alert').first()
Expected string: "success"
Received string: "error"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
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/vpn-detection.spec.ts:34:5
|
[firefox] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN:
e2e/e2eTestUtils.ts#L34
2) [firefox] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('alert').first()
Expected string: "success"
Received string: "error"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "error"
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/vpn-detection.spec.ts:34:5
|
[firefox] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN:
e2e/e2eTestUtils.ts#L35
3) [firefox] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('alert').first()
Expected string: "You are using a VPN."
Received string: "FPJSAgentError: Failed to load the JS script of the agent"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
at e2eTestUtils.ts:35
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 |
38 | export async function assertSnackbar({ page, severity, text, index = 0 }: AssertAlertOrSnackbarArgs) {
at assertAlert (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/e2eTestUtils.ts:35:23)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/vpn-detection.spec.ts:52:5
|
[firefox] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN:
e2e/e2eTestUtils.ts#L35
3) [firefox] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('alert').first()
Expected string: "You are using a VPN."
Received string: "FPJSAgentError: Failed to load the JS script of the agent"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByTestId('alert').first()
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
- locator resolved to <div data-testid="alert" data-test-severity="error" c…>…</div>
- unexpected value "FPJSAgentError: Failed to load the JS script of the agent"
at e2eTestUtils.ts:35
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 |
38 | export async function assertSnackbar({ page, severity, text, index = 0 }: AssertAlertOrSnackbarArgs) {
at assertAlert (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/e2eTestUtils.ts:35:23)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/vpn-detection.spec.ts:52:5
|
Playwright e2e tests (2, 3)
Process completed with exit code 1.
|
[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.
|
🎭 Playwright Run Summary
3 failed
[webkit] › vpn-detection.spec.ts:13:7 › VPN Detection demo › should personalize UI copy based on user location
[webkit] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN
[webkit] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN
1 skipped
33 passed (3.2m)
|
🎭 Playwright Run Summary
2 failed
[firefox] › vpn-detection.spec.ts:13:7 › VPN Detection demo › should personalize UI copy based on user location
[firefox] › vpn-detection.spec.ts:20:7 › VPN Detection demo › should allow to activate regional pricing without VPN
1 flaky
[firefox] › vpn-detection.spec.ts:44:7 › VPN Detection demo › should not allow to activate regional pricing with VPN
3 skipped
31 passed (3.2m)
|
🎭 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
36 passed (4.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-1
Expired
|
6.19 MB |
|
playwright-report-2
Expired
|
4.15 MB |
|
playwright-report-3
Expired
|
2.22 MB |
|