Skip to content

Fix test that doesn't make sense in usePublicRoomDirectory-test.tsx (… #5400

Fix test that doesn't make sense in usePublicRoomDirectory-test.tsx (…

Fix test that doesn't make sense in usePublicRoomDirectory-test.tsx (… #5400

Triggered via push February 22, 2025 00:30
Status Success
Total duration 15m 6s
Artifacts 8
Build Element-Web
1m 53s
Build Element-Web
Matrix: playwright
end-to-end-tests
1m 39s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 29 warnings, and 6 notices
[Chrome] › playwright/e2e/read-receipts/new-messages-main-timeline.spec.ts:53:17 › Read receipts › new messages › in the main timeline › Reading an older message leaves the room unread @mergequeue: playwright/e2e/read-receipts/index.ts#L488
1) [Chrome] › playwright/e2e/read-receipts/new-messages-main-timeline.spec.ts:53:17 › Read receipts › new messages › in the main timeline › Reading an older message leaves the room unread @mergequeue Error: expect(received).toBeLessThan(expected) Expected: < 30 Received: 30 Call Log: - Timeout 5000ms exceeded while waiting on the predicate at read-receipts/index.ts:488 486 | // https://playwright.dev/docs/test-assertions#expectpoll 487 | // .toBeLessThan doesn't have a retry mechanism, so we use .poll > 488 | await expect | ^ 489 | .poll(async () => { 490 | return parseInt(await tile.locator(".mx_NotificationBadge_count").textContent(), 10); 491 | }) at Helpers.assertUnreadLessThan (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:488:9) at /home/runner/work/element-web/element-web/playwright/e2e/read-receipts/new-messages-main-timeline.spec.ts:68:17
[Chrome] › playwright/e2e/sliding-sync/sliding-sync.spec.ts:365:5 › Sliding Sync › should send unsubscribe_rooms for every room switch: playwright/e2e/sliding-sync/sliding-sync.spec.ts#L1
1) [Chrome] › playwright/e2e/sliding-sync/sliding-sync.spec.ts:365:5 › Sliding Sync › should send unsubscribe_rooms for every room switch Test timeout of 30000ms exceeded.
[Chrome] › playwright/e2e/sliding-sync/sliding-sync.spec.ts:365:5 › Sliding Sync › should send unsubscribe_rooms for every room switch: playwright/e2e/sliding-sync/sliding-sync.spec.ts#L406
1) [Chrome] › playwright/e2e/sliding-sync/sliding-sync.spec.ts:365:5 › Sliding Sync › should send unsubscribe_rooms for every room switch Error: page.waitForRequest: Test timeout of 30000ms exceeded. 404 | await Promise.all([ 405 | page.waitForRequest(matchRoomSubRequest(roomOId)), > 406 | page.waitForRequest(matchRoomUnsubRequest(roomPId)), | ^ 407 | page.getByRole("treeitem", { name: "Orange", exact: true }).click(), 408 | ]); 409 | at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:406:18
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:160:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot: playwright/e2e/timeline/timeline.spec.ts#L1
1) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:160:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot Test timeout of 30000ms exceeded.
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:160:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot: playwright/e2e/timeline/timeline.spec.ts#L177
1) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:160:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_GenericEventListSummary').getByRole('button', { name: 'Expand' }) - locator resolved to <div tabindex="0" role="button" aria-expanded="false" class="mx_AccessibleButton mx_GenericEventListSummary_toggle mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline">Expand</div> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events - retrying click action - waiting 100ms 53 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events - retrying click action - waiting 500ms 175 | const gels = page.locator(".mx_GenericEventListSummary"); 176 | // Click "expand" link button > 177 | await gels.getByRole("button", { name: "Expand" }).click(); | ^ 178 | // Assert that the "expand" link button worked 179 | await expect(gels.getByRole("button", { name: "Collapse" })).toBeVisible(); 180 | at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:177:68
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:277:13 › Timeline › configure room › should add inline start margin to an event line on IRC layout @screenshot: playwright/e2e/timeline/timeline.spec.ts#L1
2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:277:13 › Timeline › configure room › should add inline start margin to an event line on IRC layout @screenshot Test timeout of 30000ms exceeded.
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:277:13 › Timeline › configure room › should add inline start margin to an event line on IRC layout @screenshot: playwright/e2e/timeline/timeline.spec.ts#L295
2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:277:13 › Timeline › configure room › should add inline start margin to an event line on IRC layout @screenshot Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_GenericEventListSummary').getByRole('button', { name: 'Expand' }) - locator resolved to <div tabindex="0" role="button" aria-expanded="false" class="mx_AccessibleButton mx_GenericEventListSummary_toggle mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline">Expand</div> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events - retrying click action - waiting 100ms 53 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events - retrying click action - waiting 500ms 293 | 294 | // Click "expand" link button > 295 | await page.locator(".mx_GenericEventListSummary").getByRole("button", { name: "Expand" }).click(); | ^ 296 | 297 | // Check the event line has margin instead of inset property 298 | // cf. _EventTile.pcss at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:295:107
Slow Test: [Chrome] › playwright/e2e/messages/messages.spec.ts#L1
[Chrome] › playwright/e2e/messages/messages.spec.ts took 56.7s
Slow Test: [Chrome] › playwright/e2e/pinned-messages/pinned-messages.spec.ts#L1
[Chrome] › playwright/e2e/pinned-messages/pinned-messages.spec.ts took 56.3s
Slow Test: [Chrome] › playwright/e2e/read-receipts/editing-messages-in-threads.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/editing-messages-in-threads.spec.ts took 38.2s
Slow Test: [Chrome] › playwright/e2e/read-receipts/editing-messages-main-timeline.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/editing-messages-main-timeline.spec.ts took 37.8s
Slow Test: [Chrome] › playwright/e2e/invite/invite-dialog.spec.ts#L1
[Chrome] › playwright/e2e/invite/invite-dialog.spec.ts took 24.9s
Slow Test: [Chrome] › playwright/e2e/read-receipts/high-level.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/high-level.spec.ts took 2.7m
Slow Test: [Chrome] › playwright/e2e/read-receipts/new-messages-in-threads.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/new-messages-in-threads.spec.ts took 58.7s
Slow Test: [Chrome] › playwright/e2e/read-receipts/editing-messages-thread-roots.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/editing-messages-thread-roots.spec.ts took 49.2s
Slow Test: [Chrome] › playwright/e2e/read-receipts/new-messages-thread-roots.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/new-messages-thread-roots.spec.ts took 28.5s
Slow Test: [Chrome] › playwright/e2e/read-receipts/redactions-in-threads.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/redactions-in-threads.spec.ts took 1.6m
Slow Test: [Chrome] › playwright/e2e/read-receipts/redactions-main-timeline.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/redactions-main-timeline.spec.ts took 1.1m
Slow Test: [Chrome] › playwright/e2e/read-receipts/reactions-in-threads.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/reactions-in-threads.spec.ts took 51.4s
Slow Test: [Chrome] › playwright/e2e/read-receipts/read-receipts.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/read-receipts.spec.ts took 47.6s
Slow Test: [Chrome] › playwright/e2e/read-receipts/redactions-thread-roots.spec.ts#L1
[Chrome] › playwright/e2e/read-receipts/redactions-thread-roots.spec.ts took 31.9s
Slow Test: [Chrome] › playwright/e2e/crypto/event-shields.spec.ts#L1
[Chrome] › playwright/e2e/crypto/event-shields.spec.ts took 53.9s
Slow Test: [Chrome] › playwright/e2e/audio-player/audio-player.spec.ts#L1
[Chrome] › playwright/e2e/audio-player/audio-player.spec.ts took 38.4s
Slow Test: [Chrome] › playwright/e2e/composer/RTE.spec.ts#L1
[Chrome] › playwright/e2e/composer/RTE.spec.ts took 35.7s
Slow Test: [Chrome] › playwright/e2e/crypto/crypto.spec.ts#L1
[Chrome] › playwright/e2e/crypto/crypto.spec.ts took 35.3s
Slow Test: [Chrome] › playwright/e2e/crypto/decryption-failure-messages.spec.ts#L1
[Chrome] › playwright/e2e/crypto/decryption-failure-messages.spec.ts took 29.4s
Slow Test: [Chrome] › playwright/e2e/spotlight/spotlight.spec.ts#L1
[Chrome] › playwright/e2e/spotlight/spotlight.spec.ts took 2.3m
Slow Test: [Chrome] › playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
[Chrome] › playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 49.3s
Slow Test: [Chrome] › playwright/e2e/spaces/spaces.spec.ts#L1
[Chrome] › playwright/e2e/spaces/spaces.spec.ts took 30.7s
Slow Test: [Chrome] › playwright/e2e/room/room.spec.ts#L1
[Chrome] › playwright/e2e/room/room.spec.ts took 30.0s
Slow Test: [Chrome] › playwright/e2e/settings/encryption-user-tab/encryption-tab.spec.ts#L1
[Chrome] › playwright/e2e/settings/encryption-user-tab/encryption-tab.spec.ts took 19.2s
Slow Test: [Chrome] › playwright/e2e/login/login-consent.spec.ts#L1
[Chrome] › playwright/e2e/login/login-consent.spec.ts took 1.5m
Slow Test: [Chrome] › playwright/e2e/crypto/backups-mas.spec.ts#L1
[Chrome] › playwright/e2e/crypto/backups-mas.spec.ts took 34.0s
Slow Test: [Chrome] › playwright/e2e/threads/threads.spec.ts#L1
[Chrome] › playwright/e2e/threads/threads.spec.ts took 33.6s
Slow Test: [Chrome] › playwright/e2e/app-loading/guest-registration.spec.ts#L1
[Chrome] › playwright/e2e/app-loading/guest-registration.spec.ts took 21.5s
Slow Test: [Chrome] › playwright/e2e/crypto/dehydration.spec.ts#L1
[Chrome] › playwright/e2e/crypto/dehydration.spec.ts took 19.6s
🎭 Playwright Run Summary
2 skipped 80 passed (5.7m)
🎭 Playwright Run Summary
1 flaky [Chrome] › playwright/e2e/read-receipts/new-messages-main-timeline.spec.ts:53:17 › Read receipts › new messages › in the main timeline › Reading an older message leaves the room unread @mergequeue 43 skipped 38 passed (6.3m)
🎭 Playwright Run Summary
2 skipped 80 passed (7.0m)
🎭 Playwright Run Summary
84 passed (7.0m)
🎭 Playwright Run Summary
1 flaky [Chrome] › playwright/e2e/sliding-sync/sliding-sync.spec.ts:365:5 › Sliding Sync › should send unsubscribe_rooms for every room switch 2 skipped 85 passed (8.3m)
🎭 Playwright Run Summary
2 flaky [Chrome] › playwright/e2e/timeline/timeline.spec.ts:160:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot [Chrome] › playwright/e2e/timeline/timeline.spec.ts:277:13 › Timeline › configure room › should add inline start margin to an event line on IRC layout @screenshot 68 passed (8.8m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-Chrome-1
665 KB
all-blob-reports-Chrome-2
287 KB
all-blob-reports-Chrome-3
5.65 MB
all-blob-reports-Chrome-4
350 KB
all-blob-reports-Chrome-5
4.03 MB
all-blob-reports-Chrome-6
8.6 MB
html-report
17.2 MB
webapp
27.3 MB