Skip to content

Malicious site protection - iOS Ship review feedback #7644

Malicious site protection - iOS Ship review feedback

Malicious site protection - iOS Ship review feedback #7644

Triggered via pull request January 30, 2025 19:17
Status Success
Total duration 6m 46s
Artifacts 1

tests.yml

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

Annotations

7 errors, 10 warnings, and 2 notices
[integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:83:5 › newtab privacy stats › bar width: special-pages/pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js#L105
1) [integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:83:5 › newtab privacy stats › bar width TimeoutError: locator.waitFor: Timeout 5000ms exceeded. Call log: - waiting for getByText('Google1').locator('[style="width: 100%;"]') to be visible 103 | }); 104 | > 105 | await page.getByText('Google1').locator('[style="width: 100%;"]').waitFor(); | ^ 106 | await page.getByText('Facebook1').locator('[style="width: 100%;"]').waitFor(); 107 | 108 | await psp.receiveData({ at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:105:79
[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
2) [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
3) [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
4) [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
5) [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
[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#L252
6) [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:252 250 | 251 | const title = await page.locator('title').textContent(); > 252 | expect(title).toBe('Warning: Security Risk'); | ^ 253 | 254 | await expect(page.getByText('Warning: This site may be a security risk', { exact: true })).toBeVisible(); 255 | await expect( at SpecialErrorPage.showsPhishingPage (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.js:252:23) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.spec.js:54:9
[macos] › pages/special-error/integration-tests/special-error.spec.js:57:5 › special-error › shows malware warning: special-pages/pages/special-error/integration-tests/special-error.js#L274
7) [macos] › pages/special-error/integration-tests/special-error.spec.js:57:5 › special-error › shows malware warning Error: expect(received).toBe(expected) // Object.is equality Expected: "Warning: Security Risk" Received: "Error" at pages/special-error/integration-tests/special-error.js:274 272 | 273 | const title = await page.locator('title').textContent(); > 274 | expect(title).toBe('Warning: Security Risk'); | ^ 275 | 276 | await expect(page.getByText('Warning: This site may be a security risk', { exact: true })).toBeVisible(); 277 | await expect( at SpecialErrorPage.showsMalwarePage (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.js:274:23) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/special-error/integration-tests/special-error.spec.js:60:9
unit (ubuntu-latest): special-pages/index.mjs#L102
Expected property shorthand
unit (windows-latest): special-pages/index.mjs#L102
Expected property shorthand
Slow Test: injected/[chrome] › integration-test/web-compat.spec.js#L1
injected/[chrome] › integration-test/web-compat.spec.js took 25.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.7s
Slow Test: special-pages/[windows] › pages/onboarding/integration-tests/onboarding.spec.js#L1
special-pages/[windows] › pages/onboarding/integration-tests/onboarding.spec.js took 23.0s
🎭 Playwright Run Summary
51 skipped 232 passed (1.8m)
🎭 Playwright Run Summary
7 flaky [integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:83:5 › newtab privacy stats › bar width [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 [macos] › pages/special-error/integration-tests/special-error.spec.js:57:5 › special-error › shows malware warning 36 skipped 219 passed (3.2m)

Artifacts

Produced during runtime
Name Size
playwright-report-pages
949 KB