Skip to content

Room list: assign room to section when section is created #1438

Room list: assign room to section when section is created

Room list: assign room to section when section is created #1438

Triggered via pull request April 23, 2026 07:43
Status Failure
Total duration 19m 31s
Artifacts 9

build-and-test.yaml

on: pull_request
Build Element Web
2m 30s
Build Element Web
Prepare Element Desktop  /  Prepare
33s
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
38s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 1 warning, and 5 notices
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:88:9 › Room list custom sections › Section creation › should create a custom section via the room option menu: apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts#L56
1) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:88:9 › Room list custom sections › Section creation › should create a custom section via the room option menu Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) failed Locator: getByTestId('room-list').getByRole('row', { name: 'Open room my room' }).locator('xpath=preceding::*[@ROLE="row" and @aria-level="1"][1]') Expected substring: "Projects" Received string: "Chats" Timeout: 5000ms Call log: - Expect "toContainText" with timeout 5000ms - waiting for getByTestId('room-list').getByRole('row', { name: 'Open room my room' }).locator('xpath=preceding::*[@ROLE="row" and @aria-level="1"][1]') 9 × locator resolved to <div role="row" aria-level="1" aria-setsize="1" aria-posinset="2" aria-rowindex="2" aria-expanded="true">…</div> - unexpected value "Chats" 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]`); > 56 | await expect(closestSectionHeader).toContainText(sectionName); | ^ 57 | } 58 | 59 | test.beforeEach(async ({ page, app, user }) => { at assertRoomInSection (/home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:56:44) at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:118:13
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:88:9 › Room list custom sections › Section creation › should create a custom section via the room option menu: apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts#L56
1) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:88:9 › Room list custom sections › Section creation › should create a custom section via the room option menu Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) failed Locator: getByTestId('room-list').getByRole('row', { name: 'Open room my room' }).locator('xpath=preceding::*[@ROLE="row" and @aria-level="1"][1]') Expected substring: "Projects" Received string: "Chats" Timeout: 5000ms Call log: - Expect "toContainText" with timeout 5000ms - waiting for getByTestId('room-list').getByRole('row', { name: 'Open room my room' }).locator('xpath=preceding::*[@ROLE="row" and @aria-level="1"][1]') 9 × locator resolved to <div role="row" aria-level="1" aria-setsize="1" aria-posinset="2" aria-rowindex="2" aria-expanded="true">…</div> - unexpected value "Chats" 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]`); > 56 | await expect(closestSectionHeader).toContainText(sectionName); | ^ 57 | } 58 | 59 | test.beforeEach(async ({ page, app, user }) => { at assertRoomInSection (/home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:56:44) at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:118:13
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:88:9 › Room list custom sections › Section creation › should create a custom section via the room option menu: apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts#L56
1) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:88:9 › Room list custom sections › Section creation › should create a custom section via the room option menu Error: expect(locator).toContainText(expected) failed Locator: getByTestId('room-list').getByRole('row', { name: 'Open room my room' }).locator('xpath=preceding::*[@ROLE="row" and @aria-level="1"][1]') Expected substring: "Projects" Received string: "Chats" Timeout: 5000ms Call log: - Expect "toContainText" with timeout 5000ms - waiting for getByTestId('room-list').getByRole('row', { name: 'Open room my room' }).locator('xpath=preceding::*[@ROLE="row" and @aria-level="1"][1]') 9 × locator resolved to <div role="row" aria-level="1" aria-setsize="1" aria-posinset="2" aria-rowindex="2" aria-expanded="true">…</div> - unexpected value "Chats" 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]`); > 56 | await expect(closestSectionHeader).toContainText(sectionName); | ^ 57 | } 58 | 59 | test.beforeEach(async ({ page, app, user }) => { at assertRoomInSection (/home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:56:44) at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:118:13
end-to-end-tests
Process completed with exit code 1.
end-to-end-tests
1 tests failed, skipping stale screenshot reporter.
Desktop Linux (static, amd64, false) / Build Linux amd64 SQLCipher static
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: nbucic/variable-mapper@0673f6891a0619ba7c002ecfed0f9f4f39017b6f. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
1 skipped 130 passed (10.3m)
🎭 Playwright Run Summary
3 skipped 130 passed (11.7m)
🎭 Playwright Run Summary
1 failed [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-custom-sections.spec.ts:88:9 › Room list custom sections › Section creation › should create a custom section via the room option menu 134 passed (13.0m)
🎭 Playwright Run Summary
1 skipped 6 passed (22.6s)
🎭 Playwright Run Summary
1 skipped 130 passed (15.3m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-Chrome-1 Expired
5.52 MB
sha256:4098a5d7510e2df5e18ce01a0122825ca43c64abac085f581c5e7732782b32ff
blob-report-Chrome-2 Expired
933 KB
sha256:476c821114471f008bf6d6201178c9ce4a3bc5b2e376c6af2ae6597cca48574b
blob-report-Chrome-3 Expired
1.52 MB
sha256:a5a96e3ab3f01e9da26bd1de147824e13709c2de3303bfc89ff48e526aabb5a7
blob-report-Chrome-4 Expired
948 KB
sha256:b8f13a3267f736d91d70f94969be91a654cdecc348c077eb8015623a0b932580
blob-report-linux-amd64-sqlcipher-static Expired
23.4 KB
sha256:60a5aa1e27219266ef1c124bfc1ce2d91c2a966f62818ef8de3f03ea90fba1a2
desktop-prepare Expired
41.2 MB
sha256:c4a316bb61af8297b6bca0e9456b5d91a1683257abf2111ff3b2605691672a8d
html-report
7.71 MB
sha256:c21f6d9be18aa230c6a329ecf941cb0794867e05198e6caf1c3ea727c5cfcee1
linux-amd64-sqlcipher-static Expired
283 MB
sha256:97e2cb27ced534f10984c5e08d0ef7afdfa3b1a098e7e8dbfff831c0d04737bd
webapp Expired
41.4 MB
sha256:ca8c0f53e71ace452790aaca0321426ec94a25bbd0068f1e75ed8e88e07d1c69