Skip to content

history: adding multi-select #7891

history: adding multi-select

history: adding multi-select #7891

Triggered via pull request February 13, 2025 21:48
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

15 errors, 9 warnings, and 2 notices
unit (ubuntu-latest): special-pages/pages/history/app/global-state/SelectionProvider.js#L7
'useGlobalState' 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/history/integration-tests/history-selections.spec.js:19:5 › history selections › adds to selection: special-pages/pages/history/integration-tests/history.page.js#L353
1) [integration] › pages/history/integration-tests/history-selections.spec.js:19:5 › history selections › adds to selection Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('main').locator('[aria-selected]').first() Expected string: "true" Received string: "false" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('main').locator('[aria-selected]').first() 9 × locator resolved to <div data-index="0" aria-selected="false" class="Item_row Item_hover" data-history-entry="history-id-00">…</div> - unexpected value "false" at pages/history/integration-tests/history.page.js:353 351 | const { page } = this; 352 | const rows = page.locator('main').locator('[aria-selected]'); > 353 | await expect(rows.nth(nth)).toHaveAttribute('aria-selected', 'true'); | ^ 354 | } 355 | 356 | /** at HistoryTestPage.rowIsSelected (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history.page.js:353:37) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history-selections.spec.js:26:18
[integration] › pages/history/integration-tests/history-selections.spec.js:19:5 › history selections › adds to selection: special-pages/pages/history/integration-tests/history.page.js#L353
1) [integration] › pages/history/integration-tests/history-selections.spec.js:19:5 › history selections › adds to selection Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('main').locator('[aria-selected]').first() Expected string: "true" Received string: "false" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('main').locator('[aria-selected]').first() 9 × locator resolved to <div data-index="0" aria-selected="false" class="Item_row Item_hover" data-history-entry="history-id-00">…</div> - unexpected value "false" at pages/history/integration-tests/history.page.js:353 351 | const { page } = this; 352 | const rows = page.locator('main').locator('[aria-selected]'); > 353 | await expect(rows.nth(nth)).toHaveAttribute('aria-selected', 'true'); | ^ 354 | } 355 | 356 | /** at HistoryTestPage.rowIsSelected (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history.page.js:353:37) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history-selections.spec.js:26:18
[integration] › pages/history/integration-tests/history-selections.spec.js:19:5 › history selections › adds to selection: special-pages/pages/history/integration-tests/history.page.js#L353
1) [integration] › pages/history/integration-tests/history-selections.spec.js:19:5 › history selections › adds to selection Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('main').locator('[aria-selected]').first() Expected string: "true" Received string: "false" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('main').locator('[aria-selected]').first() 9 × locator resolved to <div data-index="0" aria-selected="false" class="Item_row Item_hover" data-history-entry="history-id-00">…</div> - unexpected value "false" at pages/history/integration-tests/history.page.js:353 351 | const { page } = this; 352 | const rows = page.locator('main').locator('[aria-selected]'); > 353 | await expect(rows.nth(nth)).toHaveAttribute('aria-selected', 'true'); | ^ 354 | } 355 | 356 | /** at HistoryTestPage.rowIsSelected (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history.page.js:353:37) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history-selections.spec.js:26:18
[integration] › pages/history/integration-tests/history-selections.spec.js:29:5 › history selections › removes from a selection: special-pages/pages/history/integration-tests/history.page.js#L353
2) [integration] › pages/history/integration-tests/history-selections.spec.js:29:5 › history selections › removes from a selection Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('main').locator('[aria-selected]').first() Expected string: "true" Received string: "false" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('main').locator('[aria-selected]').first() 9 × locator resolved to <div data-index="0" aria-selected="false" class="Item_row Item_hover" data-history-entry="history-id-00">…</div> - unexpected value "false" at pages/history/integration-tests/history.page.js:353 351 | const { page } = this; 352 | const rows = page.locator('main').locator('[aria-selected]'); > 353 | await expect(rows.nth(nth)).toHaveAttribute('aria-selected', 'true'); | ^ 354 | } 355 | 356 | /** at HistoryTestPage.rowIsSelected (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history.page.js:353:37) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history-selections.spec.js:36:18
[integration] › pages/history/integration-tests/history-selections.spec.js:29:5 › history selections › removes from a selection: special-pages/pages/history/integration-tests/history.page.js#L353
2) [integration] › pages/history/integration-tests/history-selections.spec.js:29:5 › history selections › removes from a selection Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('main').locator('[aria-selected]').first() Expected string: "true" Received string: "false" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('main').locator('[aria-selected]').first() 9 × locator resolved to <div data-index="0" aria-selected="false" class="Item_row Item_hover" data-history-entry="history-id-00">…</div> - unexpected value "false" at pages/history/integration-tests/history.page.js:353 351 | const { page } = this; 352 | const rows = page.locator('main').locator('[aria-selected]'); > 353 | await expect(rows.nth(nth)).toHaveAttribute('aria-selected', 'true'); | ^ 354 | } 355 | 356 | /** at HistoryTestPage.rowIsSelected (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history.page.js:353:37) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history-selections.spec.js:36:18
[integration] › pages/history/integration-tests/history-selections.spec.js:29:5 › history selections › removes from a selection: special-pages/pages/history/integration-tests/history.page.js#L353
2) [integration] › pages/history/integration-tests/history-selections.spec.js:29:5 › history selections › removes from a selection Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('main').locator('[aria-selected]').first() Expected string: "true" Received string: "false" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('main').locator('[aria-selected]').first() 9 × locator resolved to <div data-index="0" aria-selected="false" class="Item_row Item_hover" data-history-entry="history-id-00">…</div> - unexpected value "false" at pages/history/integration-tests/history.page.js:353 351 | const { page } = this; 352 | const rows = page.locator('main').locator('[aria-selected]'); > 353 | await expect(rows.nth(nth)).toHaveAttribute('aria-selected', 'true'); | ^ 354 | } 355 | 356 | /** at HistoryTestPage.rowIsSelected (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history.page.js:353:37) at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/history/integration-tests/history-selections.spec.js:36:18
[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:51:5 › special-error › shows phishing warning: special-pages/pages/special-error/integration-tests/special-error.js#L252
5) [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
6) [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)
Cache not found for keys: Windows-node-99dbe92f240c99c02cf0b559a47d894f0477389bf6a064d11aba1c14c30f533c, Windows-node-
integration
Cache not found for keys: docs-output-13317722770
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/[windows] › pages/onboarding/integration-tests/onboarding.spec.js#L1
special-pages/[windows] › pages/onboarding/integration-tests/onboarding.spec.js took 22.9s
Slow Test: special-pages/[macos] › pages/duckplayer/integration-tests/duckplayer.spec.js#L1
special-pages/[macos] › pages/duckplayer/integration-tests/duckplayer.spec.js took 22.8s
🎭 Playwright Run Summary
51 skipped 240 passed (1.7m)
🎭 Playwright Run Summary
2 failed [integration] › pages/history/integration-tests/history-selections.spec.js:19:5 › history selections › adds to selection [integration] › pages/history/integration-tests/history-selections.spec.js:29:5 › history selections › removes from a selection 4 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:51:5 › special-error › shows phishing warning [macos] › pages/special-error/integration-tests/special-error.spec.js:57:5 › special-error › shows malware warning 46 skipped 264 passed (3.8m)

Artifacts

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