Skip to content

Bump the types group across 1 directory with 4 updates #2637

Bump the types group across 1 directory with 4 updates

Bump the types group across 1 directory with 4 updates #2637

Triggered via pull request December 2, 2024 10:59
Status Failure
Total duration 2m 43s
Artifacts

checks.yml

on: pull_request
Matrix: build
Matrix: playwright-tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors, 8 warnings, and 8 notices
lint: shared/js/background/companies.js#L134
The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type 'unknown'.
lint: shared/js/background/companies.js#L135
'storageData' is of type 'unknown'.
lint: shared/js/background/companies.js#L136
'storageData' is of type 'unknown'.
lint: shared/js/background/companies.js#L137
'storageData' is of type 'unknown'.
lint: shared/js/background/companies.js#L142
Type '{}' is not assignable to type 'number'.
lint: shared/js/background/companies.js#L145
Type '{}' is not assignable to type 'number'.
lint: shared/js/background/components/tab-tracking.js#L24
Argument of type '(request: OnHeadersReceivedDetailsType) => void' is not assignable to parameter of type '(details: OnHeadersReceivedDetailsType) => BlockingResponseOrPromise | undefined'.
lint: shared/js/background/newtab-tracker-stats.js#L224
Property 'stats' does not exist on type '{}'.
lint: shared/js/background/popupMessaging.js#L31
Property 'messageType' does not exist on type '{}'.
lint: shared/js/background/popupMessaging.js#L38
Property 'options' does not exist on type '{}'.
[chromium] › fire-button.spec.js:108:9 › Fire Button › getBurnOptions: integration-test/fire-button.spec.js#L151
1) [chromium] › fire-button.spec.js:108:9 › Fire Button › getBurnOptions ───────────────────────── Error: expect(received).toHaveLength(expected) Expected length: 5 Received length: 6 Received array: [{"descriptionStats": {"clearHistory": true, "cookies": 2, "duration": "hour", "openTabs": 6, "pinnedTabs": 0}, "name": "LastHour", "options": {"since": 1733133672026}}, {"descriptionStats": {"clearHistory": true, "cookies": 2, "duration": "day", "openTabs": 6, "pinnedTabs": 0}, "name": "Last24Hour", "options": {"since": 1733050872026}}, {"descriptionStats": {"clearHistory": true, "cookies": 2, "duration": "week", "openTabs": 6, "pinnedTabs": 0}, "name": "Last7days", "options": {"since": 1732532472026}}, {"descriptionStats": {"clearHistory": true, "cookies": 2, "duration": "month", "openTabs": 6, "pinnedTabs": 0}, "name": "Last4Weeks", "options": {"since": 1730718072026}}, {"descriptionStats": {"clearHistory": true, "cookies": 2, "duration": "all", "openTabs": 6, "pinnedTabs": 0}, "name": "AllTime", "options": {}}, {"descriptionStats": {"clearHistory": true, "cookies": 1, "duration": "all", "openTabs": 2, "pinnedTabs": 0, "site": "privacy-test-pages.site"}, "name": "CurrentSite", "options": {"origins": ["https://privacy-test-pages.site", "http://privacy-test-pages.site"]}, "selected": true}] 149 | { 150 | const { options } = await fireButton.evaluate((f) => f.getBurnOptions()); > 151 | expect(options).toHaveLength(5); // only 5 time frames | ^ 152 | } 153 | await pages[0].bringToFront(); 154 | at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/fire-button.spec.js:151:29
[chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly: integration-test/amp-protection.spec.js#L59
1) [chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly Error: google.com AMP Links: *Simple link expect(received).toEqual(expected) // deep equality Expected: "https://www.vox.com/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" Received: "https://www.vox.com/platform/amp/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" 57 | // these tests, just wait for load rather than network idle. 58 | await page.goto(initialUrl, { waitUntil: 'commit' }); > 59 | expect(page.url(), description).toEqual(expectedUrl); | ^ 60 | } 61 | }); 62 | }); at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/amp-protection.spec.js:59:45
[chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly: integration-test/amp-protection.spec.js#L59
1) [chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: google.com AMP Links: *Simple link expect(received).toEqual(expected) // deep equality Expected: "https://www.vox.com/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" Received: "https://www.vox.com/platform/amp/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" 57 | // these tests, just wait for load rather than network idle. 58 | await page.goto(initialUrl, { waitUntil: 'commit' }); > 59 | expect(page.url(), description).toEqual(expectedUrl); | ^ 60 | } 61 | }); 62 | }); at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/amp-protection.spec.js:59:45
[chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly: integration-test/amp-protection.spec.js#L59
1) [chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: google.com AMP Links: *Simple link expect(received).toEqual(expected) // deep equality Expected: "https://www.vox.com/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" Received: "https://www.vox.com/platform/amp/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" 57 | // these tests, just wait for load rather than network idle. 58 | await page.goto(initialUrl, { waitUntil: 'commit' }); > 59 | expect(page.url(), description).toEqual(expectedUrl); | ^ 60 | } 61 | }); 62 | }); at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/amp-protection.spec.js:59:45
playwright-tests (playwright, 1/4)
Process completed with exit code 1.
[chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly: integration-test/amp-protection.spec.js#L59
1) [chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly Error: google.com AMP Links: *Simple link expect(received).toEqual(expected) // deep equality Expected: "https://www.vox.com/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" Received: "https://www.vox.com/platform/amp/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" 57 | // these tests, just wait for load rather than network idle. 58 | await page.goto(initialUrl, { waitUntil: 'commit' }); > 59 | expect(page.url(), description).toEqual(expectedUrl); | ^ 60 | } 61 | }); 62 | }); at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/amp-protection.spec.js:59:45
[chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly: integration-test/amp-protection.spec.js#L59
1) [chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: google.com AMP Links: *Simple link expect(received).toEqual(expected) // deep equality Expected: "https://www.vox.com/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" Received: "https://www.vox.com/platform/amp/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" 57 | // these tests, just wait for load rather than network idle. 58 | await page.goto(initialUrl, { waitUntil: 'commit' }); > 59 | expect(page.url(), description).toEqual(expectedUrl); | ^ 60 | } 61 | }); 62 | }); at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/amp-protection.spec.js:59:45
[chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly: integration-test/amp-protection.spec.js#L59
1) [chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: google.com AMP Links: *Simple link expect(received).toEqual(expected) // deep equality Expected: "https://www.vox.com/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" Received: "https://www.vox.com/platform/amp/identities/22530103/asians-americans-wealth-income-gap-crazy-rich-model-minority" 57 | // these tests, just wait for load rather than network idle. 58 | await page.goto(initialUrl, { waitUntil: 'commit' }); > 59 | expect(page.url(), description).toEqual(expectedUrl); | ^ 60 | } 61 | }); 62 | }); at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/amp-protection.spec.js:59:45
playwright-tests (playwright-mv2, 1/4)
Process completed with exit code 1.
[chromium] › request-blocking.spec.js:113:9 › Test request blocking › serviceworkerInitiatedRequests exceptions should disable service worker blocking: integration-test/request-blocking.spec.js#L1
1) [chromium] › request-blocking.spec.js:113:9 › Test request blocking › serviceworkerInitiatedRequests exceptions should disable service worker blocking Test timeout of 30000ms exceeded.
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-mv2, 4/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, 3/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, 1/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
3 skipped 14 passed (41.5s)
🎭 Playwright Run Summary
3 skipped 12 passed (37.6s)
🎭 Playwright Run Summary
16 passed (56.0s)
🎭 Playwright Run Summary
16 passed (56.7s)
🎭 Playwright Run Summary
1 flaky [chromium] › fire-button.spec.js:108:9 › Fire Button › getBurnOptions ────────────────────────── 14 passed (58.4s)
🎭 Playwright Run Summary
1 failed [chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly 1 skipped 14 passed (59.8s)
🎭 Playwright Run Summary
1 failed [chromium] › amp-protection.spec.js:9:9 › Test AMP link protection › Redirects AMP URLs correctly 1 skipped 15 passed (56.9s)
🎭 Playwright Run Summary
1 flaky [chromium] › request-blocking.spec.js:113:9 › Test request blocking › serviceworkerInitiatedRequests exceptions should disable service worker blocking 14 passed (1.2m)