Implement the 'rollout' config option for percentage rollouts of sub-features #2769
Annotations
10 errors, 2 warnings, and 1 notice
Run tests:
integration-test/gpc.spec.js#L38
1) [chromium] › gpc.spec.js:17:5 › Ensure GPC is injected into frames ────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: true
Received: undefined
36 | const gpc2 = await getGPCValueOfContext(iframeInstance);
37 |
> 38 | expect(gpc).toEqual(true);
| ^
39 | expect(gpc).toEqual(gpc2);
40 | }
41 |
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/gpc.spec.js:38:21
|
Run tests:
integration-test/gpc.spec.js#L38
1) [chromium] › gpc.spec.js:17:5 › Ensure GPC is injected into frames ────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: true
Received: undefined
36 | const gpc2 = await getGPCValueOfContext(iframeInstance);
37 |
> 38 | expect(gpc).toEqual(true);
| ^
39 | expect(gpc).toEqual(gpc2);
40 | }
41 |
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/gpc.spec.js:38:21
|
Run tests:
integration-test/gpc.spec.js#L38
1) [chromium] › gpc.spec.js:17:5 › Ensure GPC is injected into frames ────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: true
Received: undefined
36 | const gpc2 = await getGPCValueOfContext(iframeInstance);
37 |
> 38 | expect(gpc).toEqual(true);
| ^
39 | expect(gpc).toEqual(gpc2);
40 | }
41 |
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/gpc.spec.js:38:21
|
Run tests:
integration-test/https-loop-protection.spec.js#L22
2) [chromium] › https-loop-protection.spec.js:8:9 › Loop protection › Loop protection page should prevent loading https:// infinately
Error: expect(received).toEqual(expected) // deep equality
Expected: "http://good.third-party.site/privacy-protections/https-loop-protection/http-only.html"
Received: "https://good.third-party.site/privacy-protections/https-loop-protection/http-only.html"
20 | // The expected outcome of this test is we land back on http:// rather than upgrading forever to https://
21 | const expectedValue = 'http://good.third-party.site/privacy-protections/https-loop-protection/http-only.html';
> 22 | expect(results.results[0].value).toEqual(expectedValue);
| ^
23 | });
24 | });
25 |
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/https-loop-protection.spec.js:22:42
|
Run tests:
integration-test/https-loop-protection.spec.js#L22
2) [chromium] › https-loop-protection.spec.js:8:9 › Loop protection › Loop protection page should prevent loading https:// infinately
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "http://good.third-party.site/privacy-protections/https-loop-protection/http-only.html"
Received: "https://good.third-party.site/privacy-protections/https-loop-protection/http-only.html"
20 | // The expected outcome of this test is we land back on http:// rather than upgrading forever to https://
21 | const expectedValue = 'http://good.third-party.site/privacy-protections/https-loop-protection/http-only.html';
> 22 | expect(results.results[0].value).toEqual(expectedValue);
| ^
23 | });
24 | });
25 |
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/https-loop-protection.spec.js:22:42
|
Run tests:
integration-test/https-loop-protection.spec.js#L22
2) [chromium] › https-loop-protection.spec.js:8:9 › Loop protection › Loop protection page should prevent loading https:// infinately
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "http://good.third-party.site/privacy-protections/https-loop-protection/http-only.html"
Received: "https://good.third-party.site/privacy-protections/https-loop-protection/http-only.html"
20 | // The expected outcome of this test is we land back on http:// rather than upgrading forever to https://
21 | const expectedValue = 'http://good.third-party.site/privacy-protections/https-loop-protection/http-only.html';
> 22 | expect(results.results[0].value).toEqual(expectedValue);
| ^
23 | });
24 | });
25 |
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/https-loop-protection.spec.js:22:42
|
Run tests:
integration-test/navigator-interface.spec.js#L16
3) [chromium] › navigator-interface.spec.js:6:9 › navigatorInterface › injects navigator.duckduckgo interface into pages
Error: expect(received).toBe(expected) // Object.is equality
Expected: "interface: true"
Received: "interface: false"
14 | }
15 | await page.goto('https://privacy-test-pages.site/features/navigator-interface.html');
> 16 | expect(await page.locator('#interface').innerText()).toBe('interface: true');
| ^
17 | expect(await page.locator('#isDuckDuckGo').innerText()).toBe('isDuckDuckGo: true');
18 | expect(await page.locator('#platform').innerText()).toBe('platform: extension');
19 | });
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/navigator-interface.spec.js:16:62
|
Run tests:
integration-test/navigator-interface.spec.js#L16
3) [chromium] › navigator-interface.spec.js:6:9 › navigatorInterface › injects navigator.duckduckgo interface into pages
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "interface: true"
Received: "interface: false"
14 | }
15 | await page.goto('https://privacy-test-pages.site/features/navigator-interface.html');
> 16 | expect(await page.locator('#interface').innerText()).toBe('interface: true');
| ^
17 | expect(await page.locator('#isDuckDuckGo').innerText()).toBe('isDuckDuckGo: true');
18 | expect(await page.locator('#platform').innerText()).toBe('platform: extension');
19 | });
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/navigator-interface.spec.js:16:62
|
Run tests:
integration-test/navigator-interface.spec.js#L16
3) [chromium] › navigator-interface.spec.js:6:9 › navigatorInterface › injects navigator.duckduckgo interface into pages
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "interface: true"
Received: "interface: false"
14 | }
15 | await page.goto('https://privacy-test-pages.site/features/navigator-interface.html');
> 16 | expect(await page.locator('#interface').innerText()).toBe('interface: true');
| ^
17 | expect(await page.locator('#isDuckDuckGo').innerText()).toBe('isDuckDuckGo: true');
18 | expect(await page.locator('#platform').innerText()).toBe('platform: extension');
19 | });
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/navigator-interface.spec.js:16:62
|
Run tests:
eval at evaluate (:234:30)#L11
4) [chromium] › privacy-dashboard.spec.js:9:9 › Test privacy dashboard › Should load the dashboard with correct link text
Error: page.waitForFunction: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
at eval (<anonymous>)
at predicate (eval at evaluate (:234:30), <anonymous>:11:37)
at next (eval at evaluate (:234:30), <anonymous>:32:31)
at predicate (/home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/eval at evaluate (:234:30), <anonymous>:11:37)
at next (/home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/eval at evaluate (:234:30), <anonymous>:32:31)
at linksText (/home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/privacy-dashboard.spec.js:45:17)
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/privacy-dashboard.spec.js:28:29
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run actions/upload-artifact@v4
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
Run tests
5 failed
[chromium] › gpc.spec.js:17:5 › Ensure GPC is injected into frames ─────────────────────────────
[chromium] › https-loop-protection.spec.js:8:9 › Loop protection › Loop protection page should prevent loading https:// infinately
[chromium] › navigator-interface.spec.js:6:9 › navigatorInterface › injects navigator.duckduckgo interface into pages
[chromium] › privacy-dashboard.spec.js:9:9 › Test privacy dashboard › Should load the dashboard with correct link text
[chromium] › request-blocking.spec.js:46:9 › Test request blocking › Should block all the test tracking requests
10 passed (2.5m)
|
Loading