Skip to content

Move state update listeners from constructor to componentDidMount #2011

Move state update listeners from constructor to componentDidMount

Move state update listeners from constructor to componentDidMount #2011

Triggered via pull request October 30, 2024 15:27
Status Success
Total duration 15m 18s
Artifacts 8

end-to-end-tests.yaml

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

Annotations

3 errors, 30 warnings, and 6 notices
read-receipts/redactions-in-threads.spec.ts:410:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart: playwright/e2e/read-receipts/index.ts#L446
1) read-receipts/redactions-in-threads.spec.ts:410:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_dot') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_dot') - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" at read-receipts/index.ts:446 444 | async assertRead(room: string | { name: string }) { 445 | const tile = this.getRoomListTile(room); > 446 | await expect(tile.locator(".mx_NotificationBadge_dot")).not.toBeVisible(); | ^ 447 | await expect(tile.locator(".mx_NotificationBadge_count")).not.toBeVisible(); 448 | } 449 | at Helpers.assertRead (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:446:69) at /home/runner/work/element-web/element-web/playwright/e2e/read-receipts/redactions-in-threads.spec.ts:440:28
spaces/threads-activity-centre/threadsActivityCentre.spec.ts:47:9 › Threads Activity Centre › should show a highlight indicator when there is a mention in a thread: playwright/e2e/spaces/threads-activity-centre/index.ts#L297
1) spaces/threads-activity-centre/threadsActivityCentre.spec.ts:47:9 › Threads Activity Centre › should show a highlight indicator when there is a mention in a thread Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('navigation', { name: 'Spaces' }).getByLabel('Threads').locator('[data-indicator=\'critical\']') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('navigation', { name: 'Spaces' }).getByLabel('Threads').locator('[data-indicator=\'critical\']') at spaces/threads-activity-centre/index.ts:297 295 | */ 296 | assertHighlightIndicator() { > 297 | return expect(this.getTacButton().locator("[data-indicator='critical']")).toBeVisible(); | ^ 298 | } 299 | 300 | /** at Helpers.assertHighlightIndicator (/home/runner/work/element-web/element-web/playwright/e2e/spaces/threads-activity-centre/index.ts:297:83) at /home/runner/work/element-web/element-web/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts:62:20
spaces/threads-activity-centre/threadsActivityCentre.spec.ts:47:9 › Threads Activity Centre › should show a highlight indicator when there is a mention in a thread: playwright/e2e/spaces/threads-activity-centre/index.ts#L297
1) spaces/threads-activity-centre/threadsActivityCentre.spec.ts:47:9 › Threads Activity Centre › should show a highlight indicator when there is a mention in a thread Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('navigation', { name: 'Spaces' }).getByLabel('Threads').locator('[data-indicator=\'critical\']') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('navigation', { name: 'Spaces' }).getByLabel('Threads').locator('[data-indicator=\'critical\']') at spaces/threads-activity-centre/index.ts:297 295 | */ 296 | assertHighlightIndicator() { > 297 | return expect(this.getTacButton().locator("[data-indicator='critical']")).toBeVisible(); | ^ 298 | } 299 | 300 | /** at Helpers.assertHighlightIndicator (/home/runner/work/element-web/element-web/playwright/e2e/spaces/threads-activity-centre/index.ts:297:83) at /home/runner/work/element-web/element-web/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts:62:20
Slow Test: read-receipts/high-level.spec.ts#L1
read-receipts/high-level.spec.ts took 3.5m
Slow Test: read-receipts/new-messages-in-threads.spec.ts#L1
read-receipts/new-messages-in-threads.spec.ts took 1.9m
Slow Test: read-receipts/editing-messages-in-threads.spec.ts#L1
read-receipts/editing-messages-in-threads.spec.ts took 1.4m
Slow Test: read-receipts/editing-messages-main-timeline.spec.ts#L1
read-receipts/editing-messages-main-timeline.spec.ts took 1.2m
Slow Test: read-receipts/editing-messages-thread-roots.spec.ts#L1
read-receipts/editing-messages-thread-roots.spec.ts took 56.0s
Slow Test: read-receipts/redactions-thread-roots.spec.ts#L1
read-receipts/redactions-thread-roots.spec.ts took 1.2m
Slow Test: spaces/spaces.spec.ts#L1
spaces/spaces.spec.ts took 1.0m
Slow Test: right-panel/right-panel.spec.ts#L1
right-panel/right-panel.spec.ts took 55.7s
Slow Test: settings/account-user-settings-tab.spec.ts#L1
settings/account-user-settings-tab.spec.ts took 43.7s
Slow Test: right-panel/file-panel.spec.ts#L1
right-panel/file-panel.spec.ts took 39.2s
Slow Test: read-receipts/redactions-main-timeline.spec.ts#L1
read-receipts/redactions-main-timeline.spec.ts took 1.9m
Slow Test: read-receipts/new-messages-main-timeline.spec.ts#L1
read-receipts/new-messages-main-timeline.spec.ts took 1.3m
Slow Test: read-receipts/read-receipts.spec.ts#L1
read-receipts/read-receipts.spec.ts took 1.0m
Slow Test: read-receipts/reactions-in-threads.spec.ts#L1
read-receipts/reactions-in-threads.spec.ts took 57.9s
Slow Test: read-receipts/new-messages-thread-roots.spec.ts#L1
read-receipts/new-messages-thread-roots.spec.ts took 41.8s
Slow Test: timeline/timeline.spec.ts#L1
timeline/timeline.spec.ts took 3.0m
Slow Test: spotlight/spotlight.spec.ts#L1
spotlight/spotlight.spec.ts took 2.3m
Slow Test: threads/threads.spec.ts#L1
threads/threads.spec.ts took 39.3s
Slow Test: user-onboarding/user-onboarding-new.spec.ts#L1
user-onboarding/user-onboarding-new.spec.ts took 33.7s
Slow Test: widgets/widget-pip-close.spec.ts#L1
widgets/widget-pip-close.spec.ts took 23.8s
Slow Test: audio-player/audio-player.spec.ts#L1
audio-player/audio-player.spec.ts took 1.3m
Slow Test: composer/RTE.spec.ts#L1
composer/RTE.spec.ts took 1.2m
Slow Test: crypto/crypto.spec.ts#L1
crypto/crypto.spec.ts took 1.0m
Slow Test: crypto/event-shields.spec.ts#L1
crypto/event-shields.spec.ts took 58.2s
Slow Test: crypto/device-verification.spec.ts#L1
crypto/device-verification.spec.ts took 44.8s
Slow Test: messages/messages.spec.ts#L1
messages/messages.spec.ts took 2.5m
Slow Test: pinned-messages/pinned-messages.spec.ts#L1
pinned-messages/pinned-messages.spec.ts took 1.8m
Slow Test: login/login.spec.ts#L1
login/login.spec.ts took 1.1m
Slow Test: knock/knock-into-room.spec.ts#L1
knock/knock-into-room.spec.ts took 41.0s
Slow Test: integration-manager/read_events.spec.ts#L1
integration-manager/read_events.spec.ts took 40.9s
🎭 Playwright Run Summary
32 skipped 42 passed (9.1m)
🎭 Playwright Run Summary
10 skipped 71 passed (9.8m)
🎭 Playwright Run Summary
1 flaky read-receipts/redactions-in-threads.spec.ts:410:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart 14 skipped 61 passed (10.1m)
🎭 Playwright Run Summary
1 flaky spaces/threads-activity-centre/threadsActivityCentre.spec.ts:47:9 › Threads Activity Centre › should show a highlight indicator when there is a mention in a thread 3 skipped 67 passed (10.9m)
🎭 Playwright Run Summary
78 passed (11.0m)
🎭 Playwright Run Summary
1 skipped 78 passed (11.8m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1
668 KB
all-blob-reports-2
348 KB
all-blob-reports-3
271 KB
all-blob-reports-4
3.46 MB
all-blob-reports-5
755 KB
all-blob-reports-6
4.03 MB
html-report
7.93 MB
webapp
36.9 MB