Hack days, VPN widget #7967
Annotations
9 errors, 4 warnings, and 2 notices
Run npm run test-int-x:
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
|
Run npm run test-int-x:
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
|
Run npm run test-int-x:
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
|
Run npm run test-int-x:
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
|
Run npm run test-int-x:
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
|
Run npm run test-int-x:
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
|
Run npm run test-int-x:
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
|
Run npm run test-int-x:
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
|
Run npm run test-int-x
Process completed with exit code 1.
|
Run npm run test-int-x:
injected/[chrome] › integration-test/web-compat.spec.js#L1
injected/[chrome] › integration-test/web-compat.spec.js took 23.0s
|
Run npm run test-int-x:
special-pages/[macos] › pages/onboarding/integration-tests/onboarding.spec.js#L1
special-pages/[macos] › pages/onboarding/integration-tests/onboarding.spec.js took 1.0m
|
Run npm run test-int-x:
special-pages/[macos] › pages/duckplayer/integration-tests/duckplayer.spec.js#L1
special-pages/[macos] › pages/duckplayer/integration-tests/duckplayer.spec.js took 26.6s
|
Run npm run test-int-x:
special-pages/[windows] › pages/onboarding/integration-tests/onboarding.spec.js#L1
special-pages/[windows] › pages/onboarding/integration-tests/onboarding.spec.js took 22.6s
|
Run npm run test-int-x
51 skipped
240 passed (1.7m)
|
Run npm run test-int-x
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)
|
Loading