Stabilise playwright tests using createRoom util (#28802) #3608
Annotations
10 errors, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/right-panel/file-panel.spec.ts#L33
1) [Chrome] › right-panel/file-panel.spec.ts:51:13 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
Test timeout of 30000ms exceeded while running "beforeEach" hook.
31 | });
32 |
> 33 | test.beforeEach(async ({ page, user, app }) => {
| ^
34 | await app.client.createRoom({ name: ROOM_NAME });
35 |
36 | // Open the file panel
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/file-panel.spec.ts:33:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
1) [Chrome] › right-panel/file-panel.spec.ts:51:13 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test room"],[aria-label="Test room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at viewRoomSummaryByName (/home/runner/work/element-web/element-web/playwright/e2e/right-panel/utils.ts:14:15)
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/file-panel.spec.ts:37:36
|
Run Playwright tests:
playwright/e2e/right-panel/file-panel.spec.ts#L33
1) [Chrome] › right-panel/file-panel.spec.ts:51:13 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
31 | });
32 |
> 33 | test.beforeEach(async ({ page, user, app }) => {
| ^
34 | await app.client.createRoom({ name: ROOM_NAME });
35 |
36 | // Open the file panel
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/file-panel.spec.ts:33:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
1) [Chrome] › right-panel/file-panel.spec.ts:51:13 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test room"],[aria-label="Test room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at viewRoomSummaryByName (/home/runner/work/element-web/element-web/playwright/e2e/right-panel/utils.ts:14:15)
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/file-panel.spec.ts:37:36
|
Run Playwright tests:
playwright/e2e/right-panel/file-panel.spec.ts#L33
1) [Chrome] › right-panel/file-panel.spec.ts:51:13 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
31 | });
32 |
> 33 | test.beforeEach(async ({ page, user, app }) => {
| ^
34 | await app.client.createRoom({ name: ROOM_NAME });
35 |
36 | // Open the file panel
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/file-panel.spec.ts:33:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
1) [Chrome] › right-panel/file-panel.spec.ts:51:13 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test room"],[aria-label="Test room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at viewRoomSummaryByName (/home/runner/work/element-web/element-web/playwright/e2e/right-panel/utils.ts:14:15)
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/file-panel.spec.ts:37:36
|
Run Playwright tests:
playwright/e2e/right-panel/file-panel.spec.ts#L33
2) [Chrome] › right-panel/file-panel.spec.ts:136:13 › FilePanel › render › should render the audio player and play the audio file on the panel @no-firefox @no-webkit
Test timeout of 30000ms exceeded while running "beforeEach" hook.
31 | });
32 |
> 33 | test.beforeEach(async ({ page, user, app }) => {
| ^
34 | await app.client.createRoom({ name: ROOM_NAME });
35 |
36 | // Open the file panel
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/file-panel.spec.ts:33:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
2) [Chrome] › right-panel/file-panel.spec.ts:136:13 › FilePanel › render › should render the audio player and play the audio file on the panel @no-firefox @no-webkit
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test room"],[aria-label="Test room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at viewRoomSummaryByName (/home/runner/work/element-web/element-web/playwright/e2e/right-panel/utils.ts:14:15)
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/file-panel.spec.ts:37:36
|
Run Playwright tests:
playwright/e2e/right-panel/file-panel.spec.ts#L33
2) [Chrome] › right-panel/file-panel.spec.ts:136:13 › FilePanel › render › should render the audio player and play the audio file on the panel @no-firefox @no-webkit
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
31 | });
32 |
> 33 | test.beforeEach(async ({ page, user, app }) => {
| ^
34 | await app.client.createRoom({ name: ROOM_NAME });
35 |
36 | // Open the file panel
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/file-panel.spec.ts:33:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
2) [Chrome] › right-panel/file-panel.spec.ts:136:13 › FilePanel › render › should render the audio player and play the audio file on the panel @no-firefox @no-webkit
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test room"],[aria-label="Test room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at viewRoomSummaryByName (/home/runner/work/element-web/element-web/playwright/e2e/right-panel/utils.ts:14:15)
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/file-panel.spec.ts:37:36
|
Run Playwright tests:
[Chrome] › spaces/spaces.spec.ts#L1
[Chrome] › spaces/spaces.spec.ts took 1.1m
|
Run Playwright tests:
[Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 46.7s
|
Run Playwright tests:
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 33.6s
|
Run Playwright tests:
[Chrome] › read-receipts/room-list-order.spec.ts#L1
[Chrome] › read-receipts/room-list-order.spec.ts took 31.4s
|
Run Playwright tests:
[Chrome] › sliding-sync/sliding-sync.spec.ts#L1
[Chrome] › sliding-sync/sliding-sync.spec.ts took 27.1s
|
Run Playwright tests
8 failed
[Chrome] › right-panel/file-panel.spec.ts:51:13 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
[Chrome] › right-panel/file-panel.spec.ts:136:13 › FilePanel › render › should render the audio player and play the audio file on the panel @no-firefox @no-webkit
[Chrome] › right-panel/file-panel.spec.ts:169:13 › FilePanel › render › should render file size in kibibytes on a file tile @no-firefox @no-webkit
[Chrome] › right-panel/file-panel.spec.ts:184:13 › FilePanel › download › should download an image via the link on the panel
[Chrome] › room-directory/room-directory.spec.ts:18:9 › Room Directory › should allow admin to add alias & publish room to directory @no-webkit
[Chrome] › settings/appearance-user-settings-tab/message-layout-panel.spec.ts:23:13 › Appearance user settings tab › Message Layout Panel › should change the message layout from modern to bubble @screenshot
[Chrome] › settings/appearance-user-settings-tab/message-layout-panel.spec.ts:42:13 › Appearance user settings tab › Message Layout Panel › should enable compact layout when the modern layout is selected
[Chrome] › settings/general-room-settings-tab.spec.ts:39:9 › General room settings tab › long address should not cause dialog to overflow @no-webkit
6 flaky
[Chrome] › right-panel/notification-panel.spec.ts:24:9 › NotificationPanel › should render empty state @screenshot
[Chrome] › right-panel/right-panel.spec.ts:41:13 › RightPanel › in rooms › should handle long room address and long room name @screenshot
[Chrome] › room/room-header.spec.ts:23:13 › Room Header › with feature_notifications enabled › should render default buttons properly @screenshot
[Chrome] › room/room-header.spec.ts:54:13 › Room Header › with feature_notifications enabled › should render a very long room name without collapsing the buttons @screenshot
[Chrome] › settings/general-room-settings-tab.spec.ts:23:9 › General room settings tab › should be rendered properly @screenshot
[Chrome] › settings/roles-permissions-room-settings-tab.spec.ts:28:9 › Roles & Permissions room settings tab › should be able to change the role of a user
9 skipped
57 passed (24.0m)
|
Loading