fix: lock node js to v22 to fix digital ocean deployment INTER-983 (#… #497
Annotations
1 error, 1 warning, and 1 notice
Run Playwright tests:
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
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Playwright tests
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.7m)
|
Loading