Skip to content

Malicious site protection - iOS Ship review feedback #7646

Malicious site protection - iOS Ship review feedback

Malicious site protection - iOS Ship review feedback #7646

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

tests.yml

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

Annotations

4 errors, 10 warnings, and 2 notices
[integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:121:5 › newtab privacy stats › secondary expansion: special-pages/pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.page.js#L44
1) [integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:121:5 › newtab privacy stats › secondary expansion Error: expect(received).toBe(expected) // Object.is equality Expected: 5 Received: 0 at pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.page.js:44 42 | async hasRows(count) { 43 | const rows = this.rows(); > 44 | expect(await rows.count()).toBe(count); | ^ 45 | } 46 | 47 | /** at PrivacyStatsPage.hasRows (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.page.js:44:36) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:137:13
[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:51:5 › special-error › shows phishing warning: special-pages/pages/special-error/integration-tests/special-error.js#L252
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: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
4) [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 23.8s
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.5s
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.3s
🎭 Playwright Run Summary
51 skipped 232 passed (1.7m)
🎭 Playwright Run Summary
4 flaky [integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:121:5 › newtab privacy stats › secondary expansion [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: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 222 passed (3.1m)

Artifacts

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