Skip to content

[MS] Added e2e tests for file viewers #21123

[MS] Added e2e tests for file viewers

[MS] Added e2e tests for file viewers #21123

Triggered via pull request December 10, 2024 09:21
Status Failure
Total duration 13m 7s
Artifacts 1

ci.yml

on: pull_request
Matrix: rust / test-rust-non-linux
Waiting for pending jobs
web  /  🌐 Web tests
12m 33s
web / 🌐 Web tests
docs  /  Build & Check documentations
docs / Build & Check documentations
python  /  (🐧 Linux only): 🐍 Python server tests
python / (🐧 Linux only): 🐍 Python server tests
rust  /  🐧 Linux: 🦀 Rust tests
rust / 🐧 Linux: 🦀 Rust tests
⭐ CI is happy ⭐
0s
⭐ CI is happy ⭐
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 1 warning, and 1 notice
[chromium] › specs/document_context_menu.spec.ts:117:3 › Popover with right click on empty space in list mode: client/tests/e2e/specs/document_context_menu.spec.ts#L124
1) [chromium] › specs/document_context_menu.spec.ts:117:3 › Popover with right click on empty space in list mode Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.folder-global-context-menu') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.folder-global-context-menu') 122 | } 123 | await documents.locator('.folder-container').click({ button: 'right', position: { x: 100, y: 10 } }); > 124 | await expect(documents.locator('.folder-global-context-menu')).toBeVisible(); | ^ 125 | const popover = documents.locator('.folder-global-context-menu'); 126 | await expect(popover.getByRole('group')).toHaveCount(1); 127 | await expect(popover.getByRole('listitem')).toHaveCount(3); at /home/runner/work/parsec-cloud/parsec-cloud/client/tests/e2e/specs/document_context_menu.spec.ts:124:68
[chromium] › specs/document_context_menu.spec.ts:117:3 › Popover with right click on empty space in list mode: client/tests/e2e/specs/document_context_menu.spec.ts#L124
1) [chromium] › specs/document_context_menu.spec.ts:117:3 › Popover with right click on empty space in list mode Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.folder-global-context-menu') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.folder-global-context-menu') 122 | } 123 | await documents.locator('.folder-container').click({ button: 'right', position: { x: 100, y: 10 } }); > 124 | await expect(documents.locator('.folder-global-context-menu')).toBeVisible(); | ^ 125 | const popover = documents.locator('.folder-global-context-menu'); 126 | await expect(popover.getByRole('group')).toHaveCount(1); 127 | await expect(popover.getByRole('listitem')).toHaveCount(3); at /home/runner/work/parsec-cloud/parsec-cloud/client/tests/e2e/specs/document_context_menu.spec.ts:124:68
[chromium] › specs/document_context_menu.spec.ts:117:3 › Popover with right click on empty space in list mode: client/tests/e2e/specs/document_context_menu.spec.ts#L124
1) [chromium] › specs/document_context_menu.spec.ts:117:3 › Popover with right click on empty space in list mode Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.folder-global-context-menu') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.folder-global-context-menu') 122 | } 123 | await documents.locator('.folder-container').click({ button: 'right', position: { x: 100, y: 10 } }); > 124 | await expect(documents.locator('.folder-global-context-menu')).toBeVisible(); | ^ 125 | const popover = documents.locator('.folder-global-context-menu'); 126 | await expect(popover.getByRole('group')).toHaveCount(1); 127 | await expect(popover.getByRole('listitem')).toHaveCount(3); at /home/runner/work/parsec-cloud/parsec-cloud/client/tests/e2e/specs/document_context_menu.spec.ts:124:68
web / 🌐 Web tests
Process completed with exit code 1.
⭐ CI is happy ⭐
Process completed with exit code 1.
⭐ CI is happy ⭐
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 failed [chromium] › specs/document_context_menu.spec.ts:117:3 › Popover with right click on empty space in list mode 235 passed (8.8m)

Artifacts

Produced during runtime
Name Size
playwright-artifacts
1.51 MB