WIP - Add experimental Firefox integration test support #3828
checks.yml
on: pull_request
lint
1m 43s
unit-tests
1m 54s
Matrix: build
Matrix: playwright-tests-firefox
Matrix: playwright-tests
Annotations
8 errors, 12 warnings, and 12 notices
|
lint
Process completed with exit code 2.
|
|
[chromium] › integration-test/storage-blocking.spec.js:18:9 › Storage blocking Tests › Blocks storage correctly on https://privacy-test-pages.site/privacy-protections/storage-blocking/:
integration-test/storage-blocking.spec.js#L37
1) [chromium] › integration-test/storage-blocking.spec.js:18:9 › Storage blocking Tests › Blocks storage correctly on https://privacy-test-pages.site/privacy-protections/storage-blocking/
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: blocks 3rd party JS cookies from trackers
expect(received).toBeUndefined()
Received: {"domain": "broken.third-party.site", "expires": 1803590748.7215, "httpOnly": false, "name": "jsdata", "path": "/privacy-protections/storage-blocking", "sameSite": "None", "secure": true, "value": "562"}
35 |
36 | const expectUnmodified = (desc) => (c) => expect(c.expires, desc).toBeGreaterThan(nowSeconds);
> 37 | const expectBlocked = (desc) => (c) => expect(c, desc).toBeUndefined();
| ^
38 | const expectedCookies = {
39 | [testPageDomain]: {
40 | top_firstparty_headerdata: expectUnmodified('does not block 1st party HTTP cookies'),
at Object.jsdata (/home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/storage-blocking.spec.js:37:64)
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/storage-blocking.spec.js:64:60
|
|
[chromium] › integration-test/storage-blocking.spec.js:18:9 › Storage blocking Tests › Blocks storage correctly on https://privacy-test-pages.site/privacy-protections/storage-blocking/:
integration-test/storage-blocking.spec.js#L68
1) [chromium] › integration-test/storage-blocking.spec.js:18:9 › Storage blocking Tests › Blocks storage correctly on https://privacy-test-pages.site/privacy-protections/storage-blocking/
Error: expect(received).toBeLessThan(expected)
Expected: < 604800
Received: 34559999.15524697
66 | if (jsCookies.has(cookie.name)) {
67 | expect(cookie.expires - nowSeconds).toBeGreaterThan(0);
> 68 | expect(cookie.expires - nowSeconds).toBeLessThan(604800);
| ^
69 | if (cookie.domain === thirdPartyTracker) {
70 | expect(cookie.expires - nowSeconds, `cookie expires for ${cookie.domain}`).toBeLessThan(86400);
71 | } else if (cookie.domain === thirdPartyAd) {
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/storage-blocking.spec.js:68:53
|
|
[chromium] › integration-test/gpc.spec.js:17:5 › Ensure GPC is injected into frames:
integration-test/gpc.spec.js#L0
1) [chromium] › integration-test/gpc.spec.js:17:5 › Ensure GPC is injected into frames ───────────
Test timeout of 30000ms exceeded.
|
|
playwright-tests (playwright, 4/4)
Process completed with exit code 1.
|
|
[chromium] › integration-test/request-blocking.spec.js:75:9 › Test request blocking › serviceworkerInitiatedRequests exceptions should disable service worker blocking:
integration-test/request-blocking.spec.js#L0
1) [chromium] › integration-test/request-blocking.spec.js:75:9 › Test request blocking › serviceworkerInitiatedRequests exceptions should disable service worker blocking
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
[chromium] › integration-test/request-blocking.spec.js:75:9 › Test request blocking › serviceworkerInitiatedRequests exceptions should disable service worker blocking:
integration-test/request-blocking.spec.js#L0
1) [chromium] › integration-test/request-blocking.spec.js:75:9 › Test request blocking › serviceworkerInitiatedRequests exceptions should disable service worker blocking
Test timeout of 30000ms exceeded.
|
|
playwright-tests (playwright, 4/4)
Error: request.response: Target page, context or browser has been closed
Failed worker ran 1 test:
[chromium] › integration-test/request-blocking.spec.js:75:9 › Test request blocking › serviceworkerInitiatedRequests exceptions should disable service worker blocking
at helpers/requests.js:126
124 | }
125 | let status = 'unknown';
> 126 | const resp = await req.response();
| ^
127 | if (!resp) {
128 | status = 'blocked';
129 | } else {
at Page.<anonymous> (/home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/helpers/requests.js:126:32)
|
|
playwright-tests-firefox (1/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests-firefox (3/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests-firefox (4/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests-firefox (2/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests (playwright-mv2, 1/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests (playwright-mv2, 2/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests (playwright, 2/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests (playwright, 3/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests (playwright-mv2, 4/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests (playwright, 1/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests (playwright-mv2, 3/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
playwright-tests (playwright, 4/4)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
2 passed (20.9s)
|
|
🎭 Playwright Run Summary
3 passed (31.2s)
|
|
🎭 Playwright Run Summary
1 passed (17.7s)
|
|
🎭 Playwright Run Summary
2 passed (30.0s)
|
|
🎭 Playwright Run Summary
2 skipped
16 passed (56.6s)
|
|
🎭 Playwright Run Summary
4 skipped
14 passed (51.9s)
|
|
🎭 Playwright Run Summary
3 skipped
14 passed (1.0m)
|
|
🎭 Playwright Run Summary
16 passed (1.3m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › integration-test/storage-blocking.spec.js:18:9 › Storage blocking Tests › Blocks storage correctly on https://privacy-test-pages.site/privacy-protections/storage-blocking/
16 passed (1.2m)
|
|
🎭 Playwright Run Summary
2 skipped
15 passed (1.1m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › integration-test/gpc.spec.js:17:5 › Ensure GPC is injected into frames ────────────
17 passed (1.4m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › integration-test/request-blocking.spec.js:75:9 › Test request blocking › serviceworkerInitiatedRequests exceptions should disable service worker blocking
15 passed (1.7m)
|