Skip to content

Move room header info button to right-most position #3292

Move room header info button to right-most position

Move room header info button to right-most position #3292

Triggered via pull request December 17, 2024 15:15
Status Failure
Total duration 12m 11s
Artifacts 8

end-to-end-tests.yaml

on: pull_request
Build Element-Web
1m 49s
Build Element-Web
Matrix: playwright
end-to-end-tests
33s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 30 warnings, and 6 notices
[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: playwright/e2e/room/room-header.spec.ts#L75
1) [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 Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.mx_RoomHeader').locator('.mx_Flex').getByRole('button') Expected: 5 Received: 4 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('.mx_RoomHeader').locator('.mx_Flex').getByRole('button') 9 × locator resolved to 4 elements - unexpected value "4" 73 | // Note these assertions do not check the size of mx_LegacyRoomHeader_name button 74 | const buttons = header.locator(".mx_Flex").getByRole("button"); > 75 | await expect(buttons).toHaveCount(5); | ^ 76 | 77 | for (const button of await buttons.all()) { 78 | await expect(button).toBeVisible(); at /home/runner/work/element-web/element-web/playwright/e2e/room/room-header.spec.ts:75:39
[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: playwright/e2e/room/room-header.spec.ts#L75
1) [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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.mx_RoomHeader').locator('.mx_Flex').getByRole('button') Expected: 5 Received: 4 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('.mx_RoomHeader').locator('.mx_Flex').getByRole('button') 9 × locator resolved to 4 elements - unexpected value "4" 73 | // Note these assertions do not check the size of mx_LegacyRoomHeader_name button 74 | const buttons = header.locator(".mx_Flex").getByRole("button"); > 75 | await expect(buttons).toHaveCount(5); | ^ 76 | 77 | for (const button of await buttons.all()) { 78 | await expect(button).toBeVisible(); at /home/runner/work/element-web/element-web/playwright/e2e/room/room-header.spec.ts:75:39
[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: playwright/e2e/room/room-header.spec.ts#L75
1) [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 Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.mx_RoomHeader').locator('.mx_Flex').getByRole('button') Expected: 5 Received: 4 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('.mx_RoomHeader').locator('.mx_Flex').getByRole('button') 9 × locator resolved to 4 elements - unexpected value "4" 73 | // Note these assertions do not check the size of mx_LegacyRoomHeader_name button 74 | const buttons = header.locator(".mx_Flex").getByRole("button"); > 75 | await expect(buttons).toHaveCount(5); | ^ 76 | 77 | for (const button of await buttons.all()) { 78 | await expect(button).toBeVisible(); at /home/runner/work/element-web/element-web/playwright/e2e/room/room-header.spec.ts:75:39
Run Tests 4/6
Process completed with exit code 1.
[Chrome] › integration-manager/kick.spec.ts:157:9 › Integration Manager: Kick › should kick the target: playwright/e2e/integration-manager/kick.spec.ts#L91
1) [Chrome] › integration-manager/kick.spec.ts:157:9 › Integration Manager: Kick › should kick the target Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Alice removed Bob: Goodbye') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Alice removed Bob: Goodbye') 89 | 90 | // Check for the event message (or lack thereof) > 91 | await expect(page.getByText(`${USER_DISPLAY_NAME} removed ${BOT_DISPLAY_NAME}: ${KICK_REASON}`)).toBeVisible({ | ^ 92 | visible: shouldExist, 93 | }); 94 | } at expectKickedMessage (/home/runner/work/element-web/element-web/playwright/e2e/integration-manager/kick.spec.ts:91:102) at /home/runner/work/element-web/element-web/playwright/e2e/integration-manager/kick.spec.ts:165:9
[Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account: playwright/e2e/oidc/oidc-native.spec.ts#L1
1) [Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account Test timeout of 90000ms exceeded.
[Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account: playwright/e2e/oidc/oidc-native.spec.ts#L23
1) [Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account Error: page.waitForRequest: Test timeout of 90000ms exceeded. 21 | test("can register the oauth2 client and an account", async ({ context, page, homeserver, mailhog, mas }) => { 22 | const tokenUri = `http://localhost:${mas.port}/oauth2/token`; > 23 | const tokenApiPromise = page.waitForRequest( | ^ 24 | (request) => request.url() === tokenUri && request.postDataJSON()["grant_type"] === "authorization_code", 25 | ); 26 | at /home/runner/work/element-web/element-web/playwright/e2e/oidc/oidc-native.spec.ts:23:38
[Chrome] › audio-player/audio-player.spec.ts:243:9 › Audio player › should support creating a reply chain with multiple audio files @screenshot: playwright/e2e/audio-player/audio-player.spec.ts#L256
1) [Chrome] › audio-player/audio-player.spec.ts:243:9 › Audio player › should support creating a reply chain with multiple audio files @screenshot Error: locator.scrollIntoViewIfNeeded: Element is not attached to the DOM Call log: - attempting scroll into view action - waiting for element to be stable 254 | // Find and click "Reply" button 255 | const clickButtonReply = async () => { > 256 | await tile.scrollIntoViewIfNeeded(); | ^ 257 | await tile.hover(); 258 | await tile.getByRole("button", { name: "Reply", exact: true }).click(); 259 | }; at clickButtonReply (/home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:256:28) at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:274:19
[Chrome] › crypto/backups.spec.ts:35:12 › Encryption state after registration › user is prompted to set up recovery: playwright/e2e/crypto/backups.spec.ts#L1
2) [Chrome] › crypto/backups.spec.ts:35:12 › Encryption state after registration › user is prompted to set up recovery Test timeout of 30000ms exceeded.
[Chrome] › crypto/backups.spec.ts:35:12 › Encryption state after registration › user is prompted to set up recovery: playwright/e2e/crypto/backups.spec.ts#L37
2) [Chrome] › crypto/backups.spec.ts:35:12 › Encryption state after registration › user is prompted to set up recovery Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Continue' }) 35 | masTest("user is prompted to set up recovery", async ({ page, mailhog, app }) => { 36 | await page.goto("/#/login"); > 37 | await page.getByRole("button", { name: "Continue" }).click(); | ^ 38 | await registerAccountMas(page, mailhog.api, "alice", "[email protected]", "Pa$sW0rD!"); 39 | 40 | await page.getByRole("button", { name: "Add room" }).click(); at /home/runner/work/element-web/element-web/playwright/e2e/crypto/backups.spec.ts:37:62
[Chrome] › crypto/backups.spec.ts:35:12 › Encryption state after registration › user is prompted to set up recovery: playwright/e2e/crypto/backups.spec.ts#L1
2) [Chrome] › crypto/backups.spec.ts:35:12 › Encryption state after registration › user is prompted to set up recovery Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[Chrome] › crypto/backups.spec.ts:35:12 › Encryption state after registration › user is prompted to set up recovery: playwright/e2e/crypto/backups.spec.ts#L37
2) [Chrome] › crypto/backups.spec.ts:35:12 › Encryption state after registration › user is prompted to set up recovery Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Continue' }) 35 | masTest("user is prompted to set up recovery", async ({ page, mailhog, app }) => { 36 | await page.goto("/#/login"); > 37 | await page.getByRole("button", { name: "Continue" }).click(); | ^ 38 | await registerAccountMas(page, mailhog.api, "alice", "[email protected]", "Pa$sW0rD!"); 39 | 40 | await page.getByRole("button", { name: "Add room" }).click(); at /home/runner/work/element-web/element-web/playwright/e2e/crypto/backups.spec.ts:37:62
end-to-end-tests
Process completed with exit code 1.
Slow Test: [Chrome] › timeline/timeline.spec.ts#L1
[Chrome] › timeline/timeline.spec.ts took 2.7m
Slow Test: [Chrome] › threads/threads.spec.ts#L1
[Chrome] › threads/threads.spec.ts took 44.4s
Slow Test: [Chrome] › user-onboarding/user-onboarding-new.spec.ts#L1
[Chrome] › user-onboarding/user-onboarding-new.spec.ts took 34.8s
Slow Test: [Chrome] › widgets/widget-pip-close.spec.ts#L1
[Chrome] › widgets/widget-pip-close.spec.ts took 21.5s
Slow Test: [Chrome] › widgets/stickers.spec.ts#L1
[Chrome] › widgets/stickers.spec.ts took 20.2s
Slow Test: [Chrome] › spotlight/spotlight.spec.ts#L1
[Chrome] › spotlight/spotlight.spec.ts took 2.2m
Slow Test: [Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.6m
Slow Test: [Chrome] › spaces/spaces.spec.ts#L1
[Chrome] › spaces/spaces.spec.ts took 59.6s
Slow Test: [Chrome] › sliding-sync/sliding-sync.spec.ts#L1
[Chrome] › sliding-sync/sliding-sync.spec.ts took 27.3s
Slow Test: [Chrome] › settings/general-room-settings-tab.spec.ts#L1
[Chrome] › settings/general-room-settings-tab.spec.ts took 24.1s
Slow Test: [Chrome] › right-panel/right-panel.spec.ts#L1
[Chrome] › right-panel/right-panel.spec.ts took 53.6s
Slow Test: [Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 43.1s
Slow Test: [Chrome] › polls/polls.spec.ts#L1
[Chrome] › polls/polls.spec.ts took 42.4s
Slow Test: [Chrome] › right-panel/file-panel.spec.ts#L1
[Chrome] › right-panel/file-panel.spec.ts took 37.5s
Slow Test: [Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 30.9s
Slow Test: [Chrome] › crypto/event-shields.spec.ts#L1
[Chrome] › crypto/event-shields.spec.ts took 1.3m
Slow Test: [Chrome] › knock/knock-into-room.spec.ts#L1
[Chrome] › knock/knock-into-room.spec.ts took 37.1s
Slow Test: [Chrome] › editing/editing.spec.ts#L1
[Chrome] › editing/editing.spec.ts took 30.5s
Slow Test: [Chrome] › knock/manage-knocks.spec.ts#L1
[Chrome] › knock/manage-knocks.spec.ts took 28.4s
Slow Test: [Chrome] › integration-manager/send_event.spec.ts#L1
[Chrome] › integration-manager/send_event.spec.ts took 25.9s
Slow Test: [Chrome] › messages/messages.spec.ts#L1
[Chrome] › messages/messages.spec.ts took 2.2m
Slow Test: [Chrome] › pinned-messages/pinned-messages.spec.ts#L1
[Chrome] › pinned-messages/pinned-messages.spec.ts took 1.7m
Slow Test: [Chrome] › login/login.spec.ts#L1
[Chrome] › login/login.spec.ts took 1.0m
Slow Test: [Chrome] › login/soft_logout.spec.ts#L1
[Chrome] › login/soft_logout.spec.ts took 24.5s
Slow Test: [Chrome] › oidc/oidc-aware.spec.ts#L1
[Chrome] › oidc/oidc-aware.spec.ts took 24.5s
Slow Test: [Chrome] › composer/RTE.spec.ts#L1
[Chrome] › composer/RTE.spec.ts took 1.2m
Slow Test: [Chrome] › crypto/crypto.spec.ts#L1
[Chrome] › crypto/crypto.spec.ts took 1.0m
Slow Test: [Chrome] › crypto/device-verification.spec.ts#L1
[Chrome] › crypto/device-verification.spec.ts took 43.9s
Slow Test: [Chrome] › crypto/decryption-failure-messages.spec.ts#L1
[Chrome] › crypto/decryption-failure-messages.spec.ts took 39.9s
Slow Test: [Chrome] › accessibility/keyboard-navigation.spec.ts#L1
[Chrome] › accessibility/keyboard-navigation.spec.ts took 28.8s
🎭 Playwright Run Summary
2 skipped 45 passed (6.0m)
🎭 Playwright Run Summary
10 skipped 46 passed (7.0m)
🎭 Playwright Run Summary
1 failed [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 1 skipped 50 passed (7.1m)
🎭 Playwright Run Summary
1 flaky [Chrome] › integration-manager/kick.spec.ts:157:9 › Integration Manager: Kick › should kick the target 47 passed (7.5m)
🎭 Playwright Run Summary
1 flaky [Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account 1 skipped 50 passed (8.6m)
🎭 Playwright Run Summary
2 flaky [Chrome] › audio-player/audio-player.spec.ts:243:9 › Audio player › should support creating a reply chain with multiple audio files @screenshot [Chrome] › crypto/backups.spec.ts:35:12 › Encryption state after registration › user is prompted to set up recovery 54 passed (9.0m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1
8.23 MB
all-blob-reports-2
4.28 MB
all-blob-reports-3
5.91 MB
all-blob-reports-4
4.34 MB
all-blob-reports-5
402 KB
all-blob-reports-6
663 KB
html-report
23.2 MB
webapp
29.2 MB