Skip to content

Room list: edit or remove custom sections #1473

Room list: edit or remove custom sections

Room list: edit or remove custom sections #1473

Re-run triggered April 23, 2026 14:16
Status Failure
Total duration 15m 40s
Artifacts 11

build-and-test.yaml

on: pull_request
Build Element Web
2m 24s
Build Element Web
Prepare Element Desktop  /  Prepare
49s
Prepare Element Desktop / Prepare
Matrix: playwright_ew
Downstream Playwright tests [element-modules]  /  Run Playwright end-to-end tests & upload html report
Downstream Playwright tests [element-modules] / Run Playwright end-to-end tests & upload html report
Matrix: Desktop Linux
Matrix: Desktop Windows
Waiting for pending jobs
Desktop macOS  /  Build macOS Universal
Desktop macOS / Build macOS Universal
Desktop macOS  /  ...  /  test
Desktop macOS / Test macOS Universal / test
end-to-end-tests
1m 2s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 notice
Run Tests [Chrome] 1/4
Process completed with exit code 1.
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:230:9 › Room list custom sections › Section removal › should move rooms back to Chats when their section is removed: apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts#L52
1) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:230:9 › Room list custom sections › Section removal › should move rooms back to Chats when their section is removed Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveAttribute(expected) failed Locator: getByTestId('room-list').getByRole('row', { name: 'Open room my room' }) Expected: "2" Timeout: 5000ms Error: element(s) not found Call log: - Expect "toHaveAttribute" with timeout 5000ms - waiting for getByTestId('room-list').getByRole('row', { name: 'Open room my room' }) 50 | const roomRow = roomList.getByRole("row", { name: `Open room ${roomName}` }); 51 | // Room row must be at aria-level=2 (i.e. inside a section) > 52 | await expect(roomRow).toHaveAttribute("aria-level", "2"); | ^ 53 | // The closest preceding aria-level=1 row must be the expected section header. 54 | // XPath preceding:: axis returns nodes before the context in document order; [1] picks the nearest one. 55 | const closestSectionHeader = roomRow.locator(`xpath=preceding::*[@ROLE="row" and @aria-level="1"][1]`); at assertRoomInSection (/home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:52:31) at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:255:19
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:230:9 › Room list custom sections › Section removal › should move rooms back to Chats when their section is removed: apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts#L52
1) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:230:9 › Room list custom sections › Section removal › should move rooms back to Chats when their section is removed Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveAttribute(expected) failed Locator: getByTestId('room-list').getByRole('row', { name: 'Open room my room' }) Expected: "2" Timeout: 5000ms Error: element(s) not found Call log: - Expect "toHaveAttribute" with timeout 5000ms - waiting for getByTestId('room-list').getByRole('row', { name: 'Open room my room' }) 50 | const roomRow = roomList.getByRole("row", { name: `Open room ${roomName}` }); 51 | // Room row must be at aria-level=2 (i.e. inside a section) > 52 | await expect(roomRow).toHaveAttribute("aria-level", "2"); | ^ 53 | // The closest preceding aria-level=1 row must be the expected section header. 54 | // XPath preceding:: axis returns nodes before the context in document order; [1] picks the nearest one. 55 | const closestSectionHeader = roomRow.locator(`xpath=preceding::*[@ROLE="row" and @aria-level="1"][1]`); at assertRoomInSection (/home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:52:31) at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:255:19
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:230:9 › Room list custom sections › Section removal › should move rooms back to Chats when their section is removed: apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts#L52
1) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:230:9 › Room list custom sections › Section removal › should move rooms back to Chats when their section is removed Error: expect(locator).toHaveAttribute(expected) failed Locator: getByTestId('room-list').getByRole('row', { name: 'Open room my room' }) Expected: "2" Timeout: 5000ms Error: element(s) not found Call log: - Expect "toHaveAttribute" with timeout 5000ms - waiting for getByTestId('room-list').getByRole('row', { name: 'Open room my room' }) 50 | const roomRow = roomList.getByRole("row", { name: `Open room ${roomName}` }); 51 | // Room row must be at aria-level=2 (i.e. inside a section) > 52 | await expect(roomRow).toHaveAttribute("aria-level", "2"); | ^ 53 | // The closest preceding aria-level=1 row must be the expected section header. 54 | // XPath preceding:: axis returns nodes before the context in document order; [1] picks the nearest one. 55 | const closestSectionHeader = roomRow.locator(`xpath=preceding::*[@ROLE="row" and @aria-level="1"][1]`); at assertRoomInSection (/home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:52:31) at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:255:19
end-to-end-tests
Process completed with exit code 1.
end-to-end-tests
1 tests failed, skipping stale screenshot reporter.
🎭 Playwright Run Summary
1 failed [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:230:9 › Room list custom sections › Section removal › should move rooms back to Chats when their section is removed 136 passed (12.8m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-Chrome-1
6.16 MB
sha256:6611dcc4d8b18abcea33f3e3b65610db6a23524bead30939af025ac8635f0e57
html-report
20.1 MB
sha256:7819ec2113d5c379c662dcdb9177bf28bfb58f9a21d62601efc03d78dd28cabf