Room list: assign room to section when section is created #1438
Annotations
4 errors and 1 notice
|
Run Playwright tests
Process completed with exit code 1.
|
|
Run Playwright tests:
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
|
|
Run Playwright tests:
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
|
|
Run Playwright tests:
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
|
|
Run Playwright tests
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)
|
Loading