Skip to content

Hack days, VPN widget #7967

Hack days, VPN widget

Hack days, VPN widget #7967

Triggered via pull request February 23, 2025 15:58
@shakyShaneshakyShane
synchronize #1499
shane/vpn
Status Failure
Total duration 7m 4s
Artifacts 1

tests.yml

on: pull_request
Matrix: unit
deploy-docs
0s
deploy-docs
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 7 warnings, and 2 notices
unit (ubuntu-latest): special-pages/pages/new-tab/app/privacy-stats/components/VpnHeading.js#L101
'calculateConnectedDisplay' is defined but never used
unit (ubuntu-latest)
Process completed with exit code 1.
unit (windows-latest)
The job was canceled because "ubuntu-latest" failed.
unit (windows-latest)
The operation was canceled.
[integration] › pages/new-tab/integration-tests/new-tab.spec.js:5:5 › newtab widgets › widget config single click: special-pages/pages/new-tab/integration-tests/new-tab.spec.js#L22
1) [integration] › pages/new-tab/integration-tests/new-tab.spec.js:5:5 › newtab widgets › widget config single click Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 0 + Received + 4 @@ -11,9 +11,13 @@ }, Object { "id": "privacyStats", "visibility": "hidden", }, + Object { + "id": "vpn", + "visibility": "visible", + }, ], }, }, ] 20 | const outgoing = await ntp.mocks.outgoing({ names: ['widgets_setConfig'] }); 21 | > 22 | expect(outgoing).toStrictEqual([ | ^ 23 | { 24 | payload: { 25 | context: 'specialPages', at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/integration-tests/new-tab.spec.js:22:26
[integration] › pages/new-tab/integration-tests/new-tab.spec.js:5:5 › newtab widgets › widget config single click: special-pages/pages/new-tab/integration-tests/new-tab.spec.js#L22
1) [integration] › pages/new-tab/integration-tests/new-tab.spec.js:5:5 › newtab widgets › widget config single click Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 0 + Received + 4 @@ -11,9 +11,13 @@ }, Object { "id": "privacyStats", "visibility": "hidden", }, + Object { + "id": "vpn", + "visibility": "visible", + }, ], }, }, ] 20 | const outgoing = await ntp.mocks.outgoing({ names: ['widgets_setConfig'] }); 21 | > 22 | expect(outgoing).toStrictEqual([ | ^ 23 | { 24 | payload: { 25 | context: 'specialPages', at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/integration-tests/new-tab.spec.js:22:26
[integration] › pages/new-tab/integration-tests/new-tab.spec.js:5:5 › newtab widgets › widget config single click: special-pages/pages/new-tab/integration-tests/new-tab.spec.js#L22
1) [integration] › pages/new-tab/integration-tests/new-tab.spec.js:5:5 › newtab widgets › widget config single click Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 0 + Received + 4 @@ -11,9 +11,13 @@ }, Object { "id": "privacyStats", "visibility": "hidden", }, + Object { + "id": "vpn", + "visibility": "visible", + }, ], }, }, ] 20 | const outgoing = await ntp.mocks.outgoing({ names: ['widgets_setConfig'] }); 21 | > 22 | expect(outgoing).toStrictEqual([ | ^ 23 | { 24 | payload: { 25 | context: 'specialPages', at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/integration-tests/new-tab.spec.js:22:26
[integration] › pages/new-tab/integration-tests/new-tab.spec.js:69:5 › newtab widgets › context menu: special-pages/pages/new-tab/integration-tests/new-tab.spec.js#L80
2) [integration] › pages/new-tab/integration-tests/new-tab.spec.js:69:5 › newtab widgets › context menu Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 0 + Received + 4 @@ -10,8 +10,12 @@ }, Object { "id": "privacyStats", "title": "Blocked Tracking Attempts", }, + Object { + "id": "vpn", + "title": "VPN", + }, ], }, } 78 | 79 | const calls = await ntp.mocks.waitForCallCount({ method: 'contextMenu', count: 1 }); > 80 | expect(calls[0].payload).toStrictEqual({ | ^ 81 | context: 'specialPages', 82 | featureName: 'newTabPage', 83 | method: 'contextMenu', at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/integration-tests/new-tab.spec.js:80:34
[integration] › pages/new-tab/integration-tests/new-tab.spec.js:69:5 › newtab widgets › context menu: special-pages/pages/new-tab/integration-tests/new-tab.spec.js#L80
2) [integration] › pages/new-tab/integration-tests/new-tab.spec.js:69:5 › newtab widgets › context menu Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 0 + Received + 4 @@ -10,8 +10,12 @@ }, Object { "id": "privacyStats", "title": "Blocked Tracking Attempts", }, + Object { + "id": "vpn", + "title": "VPN", + }, ], }, } 78 | 79 | const calls = await ntp.mocks.waitForCallCount({ method: 'contextMenu', count: 1 }); > 80 | expect(calls[0].payload).toStrictEqual({ | ^ 81 | context: 'specialPages', 82 | featureName: 'newTabPage', 83 | method: 'contextMenu', at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/integration-tests/new-tab.spec.js:80:34
[integration] › pages/new-tab/integration-tests/new-tab.spec.js:69:5 › newtab widgets › context menu: special-pages/pages/new-tab/integration-tests/new-tab.spec.js#L80
2) [integration] › pages/new-tab/integration-tests/new-tab.spec.js:69:5 › newtab widgets › context menu Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 0 + Received + 4 @@ -10,8 +10,12 @@ }, Object { "id": "privacyStats", "title": "Blocked Tracking Attempts", }, + Object { + "id": "vpn", + "title": "VPN", + }, ], }, } 78 | 79 | const calls = await ntp.mocks.waitForCallCount({ method: 'contextMenu', count: 1 }); > 80 | expect(calls[0].payload).toStrictEqual({ | ^ 81 | context: 'specialPages', 82 | featureName: 'newTabPage', 83 | method: 'contextMenu', at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/integration-tests/new-tab.spec.js:80:34
[macos] › pages/special-error/integration-tests/special-error.spec.js:51:5 › special-error › shows phishing warning: special-pages/pages/special-error/integration-tests/special-error.js#L263
3) [macos] › pages/special-error/integration-tests/special-error.spec.js:51:5 › special-error › shows phishing warning Error: expect(received).toBe(expected) // Object.is equality Expected: "Warning: Security Risk" Received: "Error" at pages/special-error/integration-tests/special-error.js:263 261 | 262 | const title = await page.locator('title').textContent(); > 263 | expect(title).toBe('Warning: Security Risk'); | ^ 264 | 265 | await expect(page.getByText('Warning: This site may be a security risk', { exact: true })).toBeVisible(); 266 | await expect( at SpecialErrorPage.showsPhishingPage (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.js:263:23) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.spec.js:54:9
[ios] › pages/special-error/integration-tests/special-error.spec.js:51:5 › special-error › shows phishing warning: special-pages/pages/special-error/integration-tests/special-error.js#L263
4) [ios] › pages/special-error/integration-tests/special-error.spec.js:51:5 › special-error › shows phishing warning Error: expect(received).toBe(expected) // Object.is equality Expected: "Warning: Security Risk" Received: "Error" at pages/special-error/integration-tests/special-error.js:263 261 | 262 | const title = await page.locator('title').textContent(); > 263 | expect(title).toBe('Warning: Security Risk'); | ^ 264 | 265 | await expect(page.getByText('Warning: This site may be a security risk', { exact: true })).toBeVisible(); 266 | await expect( at SpecialErrorPage.showsPhishingPage (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.js:263:23) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.spec.js:54:9
integration
Process completed with exit code 1.
unit (ubuntu-latest): special-pages/index.mjs#L103
Expected property shorthand
Slow Test: injected/[chrome] › integration-test/web-compat.spec.js#L1
injected/[chrome] › integration-test/web-compat.spec.js took 23.0s
Slow Test: special-pages/[macos] › pages/onboarding/integration-tests/onboarding.spec.js#L1
special-pages/[macos] › pages/onboarding/integration-tests/onboarding.spec.js took 1.0m
Slow Test: special-pages/[macos] › pages/duckplayer/integration-tests/duckplayer.spec.js#L1
special-pages/[macos] › pages/duckplayer/integration-tests/duckplayer.spec.js took 26.6s
Slow Test: special-pages/[windows] › pages/onboarding/integration-tests/onboarding.spec.js#L1
special-pages/[windows] › pages/onboarding/integration-tests/onboarding.spec.js took 22.6s
🎭 Playwright Run Summary
51 skipped 240 passed (1.7m)
🎭 Playwright Run Summary
2 failed [integration] › pages/new-tab/integration-tests/new-tab.spec.js:5:5 › newtab widgets › widget config single click [integration] › pages/new-tab/integration-tests/new-tab.spec.js:69:5 › newtab widgets › context menu 2 flaky [macos] › pages/special-error/integration-tests/special-error.spec.js:51:5 › special-error › shows phishing warning [ios] › pages/special-error/integration-tests/special-error.spec.js:51:5 › special-error › shows phishing warning 36 skipped 321 passed (3.6m)

Artifacts

Produced during runtime
Name Size
playwright-report-pages Expired
520 KB