Hack days, VPN widget #7951
tests.yml
on: pull_request
integration
6m 25s
Matrix: unit
deploy-docs
0s
Annotations
10 errors, 12 warnings, and 2 notices
[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:21:5 › special-error › shows SSL expired cert error:
special-pages/pages/special-error/integration-tests/special-error.js#L155
3) [macos] › pages/special-error/integration-tests/special-error.spec.js:21:5 › special-error › shows SSL expired cert error
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Warning: This site may be insecure"
Received: "Error"
at pages/special-error/integration-tests/special-error.js:155
153 |
154 | const title = await page.locator('title').textContent();
> 155 | expect(title).toBe('Warning: This site may be insecure');
| ^
156 |
157 | await expect(page.getByText('Warning: This site may be insecure', { exact: true })).toBeVisible();
158 | await expect(
at SpecialErrorPage.showsExpiredPage (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.js:155:23)
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.spec.js:24:9
|
[macos] › pages/special-error/integration-tests/special-error.spec.js:33:5 › special-error › shows SSL invalid cert error:
special-pages/pages/special-error/integration-tests/special-error.js#L183
4) [macos] › pages/special-error/integration-tests/special-error.spec.js:33:5 › special-error › shows SSL invalid cert error
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Warning: This site may be insecure"
Received: "Error"
at pages/special-error/integration-tests/special-error.js:183
181 |
182 | const title = await page.locator('title').textContent();
> 183 | expect(title).toBe('Warning: This site may be insecure');
| ^
184 |
185 | await expect(page.getByText('Warning: This site may be insecure', { exact: true })).toBeVisible();
186 | await expect(
at SpecialErrorPage.showsInvalidPage (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.js:183:23)
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.spec.js:36:9
|
[macos] › pages/special-error/integration-tests/special-error.spec.js:39:5 › special-error › shows SSL self signed cert error:
special-pages/pages/special-error/integration-tests/special-error.js#L206
5) [macos] › pages/special-error/integration-tests/special-error.spec.js:39:5 › special-error › shows SSL self signed cert error
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Warning: This site may be insecure"
Received: "Error"
at pages/special-error/integration-tests/special-error.js:206
204 |
205 | const title = await page.locator('title').textContent();
> 206 | expect(title).toBe('Warning: This site may be insecure');
| ^
207 |
208 | await expect(page.getByText('Warning: This site may be insecure', { exact: true })).toBeVisible();
209 | await expect(
at SpecialErrorPage.showsSelfSignedPage (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.js:206:23)
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.spec.js:42:9
|
[macos] › pages/special-error/integration-tests/special-error.spec.js:45:5 › special-error › shows SSL wrong host error:
special-pages/pages/special-error/integration-tests/special-error.js#L229
6) [macos] › pages/special-error/integration-tests/special-error.spec.js:45:5 › special-error › shows SSL wrong host error
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Warning: This site may be insecure"
Received: "Error"
at pages/special-error/integration-tests/special-error.js:229
227 |
228 | const title = await page.locator('title').textContent();
> 229 | expect(title).toBe('Warning: This site may be insecure');
| ^
230 |
231 | await expect(page.getByText('Warning: This site may be insecure', { exact: true })).toBeVisible();
232 | await expect(
at SpecialErrorPage.showsWrongHostPage (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.js:229:23)
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.spec.js:48:9
|
unit (ubuntu-latest):
special-pages/index.mjs#L102
Expected property shorthand
|
unit (ubuntu-latest):
special-pages/pages/new-tab/app/customizer/mocks.js#L111
Expected property shorthand
|
unit (ubuntu-latest):
special-pages/pages/new-tab/app/customizer/mocks.js#L116
Expected property shorthand
|
unit (windows-latest)
Cache not found for keys: Windows-node-99dbe92f240c99c02cf0b559a47d894f0477389bf6a064d11aba1c14c30f533c, Windows-node-
|
unit (windows-latest):
special-pages/index.mjs#L102
Expected property shorthand
|
unit (windows-latest):
special-pages/pages/new-tab/app/customizer/mocks.js#L111
Expected property shorthand
|
unit (windows-latest):
special-pages/pages/new-tab/app/customizer/mocks.js#L116
Expected property shorthand
|
integration
Cache not found for keys: docs-output-13378692160
|
Slow Test:
injected/[chrome] › integration-test/web-compat.spec.js#L1
injected/[chrome] › integration-test/web-compat.spec.js took 23.7s
|
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 23.0s
|
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.8m)
|
🎭 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
5 flaky
[macos] › pages/special-error/integration-tests/special-error.spec.js:21:5 › special-error › shows SSL expired cert error
[macos] › pages/special-error/integration-tests/special-error.spec.js:33:5 › special-error › shows SSL invalid cert error
[macos] › pages/special-error/integration-tests/special-error.spec.js:39:5 › special-error › shows SSL self signed cert error
[macos] › pages/special-error/integration-tests/special-error.spec.js:45:5 › special-error › shows SSL wrong host error
[macos] › pages/special-error/integration-tests/special-error.spec.js:51:5 › special-error › shows phishing warning
36 skipped
258 passed (3.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-pages
|
950 KB |
|