Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix read receipt animation #11673

Fix read receipt animation

Fix read receipt animation #11673

Triggered via pull request August 23, 2024 17:27
Status Success
Total duration 15m 13s
Artifacts 8

end-to-end-tests.yaml

on: pull_request
Build Element-Web
2m 11s
Build Element-Web
Matrix: playwright
end-to-end-tests
27s
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:418:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart: matrix-react-sdk/playwright/e2e/read-receipts/index.ts#L461
1) read-receipts/redactions-in-threads.spec.ts:418: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:461 459 | async assertRead(room: string | { name: string }) { 460 | const tile = this.getRoomListTile(room); > 461 | await expect(tile.locator(".mx_NotificationBadge_dot")).not.toBeVisible(); | ^ 462 | await expect(tile.locator(".mx_NotificationBadge_count")).not.toBeVisible(); 463 | } 464 | at Helpers.assertRead (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:461:69) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/redactions-in-threads.spec.ts:448:28
pinned-messages/pinned-messages.spec.ts:42:9 › Pinned messages › should pin messages and show them in the pinned message panel: matrix-react-sdk/playwright/e2e/pinned-messages/index.ts#L186
1) pinned-messages/pinned-messages.spec.ts:42:9 › Pinned messages › should pin messages and show them in the pinned message panel Error: Screenshot comparison failed: 483 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-messages-3-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-db571-in-the-pinned-message-panel/pinned-messages-list-messages-3-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-db571-in-the-pinned-message-panel/pinned-messages-list-messages-3-diff.png Call log: - expect.toHaveScreenshot(pinned-messages-list-messages-3.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 483 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 483 pixels (ratio 0.01 of all image pixels) are different. at pinned-messages/index.ts:186 184 | `${messages.length} Pinned messages`, 185 | ); > 186 | await expect(rightPanel).toMatchScreenshot(`pinned-messages-list-messages-${messages.length}.png`); | ^ 187 | 188 | const list = rightPanel.getByRole("list"); 189 | await expect(list.getByRole("listitem")).toHaveCount(messages.length); at Helpers.assertPinnedMessagesList (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/index.ts:186:34) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:50:9
pinned-messages/pinned-messages.spec.ts:53:9 › Pinned messages › should unpin one message: matrix-react-sdk/playwright/e2e/pinned-messages/index.ts#L186
2) pinned-messages/pinned-messages.spec.ts:53:9 › Pinned messages › should unpin one message ───── Error: Screenshot comparison failed: 314 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-messages-2-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-messages-2-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-messages-2-diff.png Call log: - expect.toHaveScreenshot(pinned-messages-list-messages-2.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 314 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 314 pixels (ratio 0.01 of all image pixels) are different. at pinned-messages/index.ts:186 184 | `${messages.length} Pinned messages`, 185 | ); > 186 | await expect(rightPanel).toMatchScreenshot(`pinned-messages-list-messages-${messages.length}.png`); | ^ 187 | 188 | const list = rightPanel.getByRole("list"); 189 | await expect(list.getByRole("listitem")).toHaveCount(messages.length); at Helpers.assertPinnedMessagesList (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/index.ts:186:34) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:61:9
Slow Test: matrix-react-sdk/spaces/spaces.spec.ts#L1
matrix-react-sdk/spaces/spaces.spec.ts took 59.4s
Slow Test: matrix-react-sdk/right-panel/right-panel.spec.ts#L1
matrix-react-sdk/right-panel/right-panel.spec.ts took 50.7s
Slow Test: matrix-react-sdk/right-panel/file-panel.spec.ts#L1
matrix-react-sdk/right-panel/file-panel.spec.ts took 36.2s
Slow Test: matrix-react-sdk/settings/account-user-settings-tab.spec.ts#L1
matrix-react-sdk/settings/account-user-settings-tab.spec.ts took 35.4s
Slow Test: matrix-react-sdk/read-receipts/room-list-order.spec.ts#L1
matrix-react-sdk/read-receipts/room-list-order.spec.ts took 29.7s
Slow Test: matrix-react-sdk/read-receipts/high-level.spec.ts#L1
matrix-react-sdk/read-receipts/high-level.spec.ts took 3.3m
Slow Test: matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts took 1.8m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts took 1.4m
Slow Test: matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts took 1.3m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-thread-roots.spec.ts took 57.0s
Slow Test: matrix-react-sdk/timeline/timeline.spec.ts#L1
matrix-react-sdk/timeline/timeline.spec.ts took 2.5m
Slow Test: matrix-react-sdk/spotlight/spotlight.spec.ts#L1
matrix-react-sdk/spotlight/spotlight.spec.ts took 1.9m
Slow Test: matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.6m
Slow Test: matrix-react-sdk/threads/threads.spec.ts#L1
matrix-react-sdk/threads/threads.spec.ts took 34.3s
Slow Test: matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts#L1
matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts took 30.1s
Slow Test: matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts took 1.9m
Slow Test: matrix-react-sdk/read-receipts/read-receipts.spec.ts#L1
matrix-react-sdk/read-receipts/read-receipts.spec.ts took 1.0m
Slow Test: matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts took 55.1s
Slow Test: matrix-react-sdk/read-receipts/new-messages-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-thread-roots.spec.ts took 51.8s
Slow Test: matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts took 50.5s
Slow Test: matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 1.7m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts took 1.0m
Slow Test: matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 40.7s
Slow Test: matrix-react-sdk/login/login.spec.ts#L1
matrix-react-sdk/login/login.spec.ts took 38.3s
Slow Test: matrix-react-sdk/integration-manager/read_events.spec.ts#L1
matrix-react-sdk/integration-manager/read_events.spec.ts took 34.4s
Slow Test: matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.3m
Slow Test: matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.2m
Slow Test: matrix-react-sdk/crypto/crypto.spec.ts#L1
matrix-react-sdk/crypto/crypto.spec.ts took 1.1m
Slow Test: matrix-react-sdk/crypto/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 51.4s
Slow Test: matrix-react-sdk/crypto/event-shields.spec.ts#L1
matrix-react-sdk/crypto/event-shields.spec.ts took 48.5s
🎭 Playwright Run Summary
9 skipped 63 passed (7.9m)
🎭 Playwright Run Summary
31 skipped 43 passed (8.9m)
🎭 Playwright Run Summary
4 skipped 67 passed (8.9m)
🎭 Playwright Run Summary
1 flaky read-receipts/redactions-in-threads.spec.ts:418:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart 15 skipped 59 passed (9.4m)
🎭 Playwright Run Summary
2 flaky pinned-messages/pinned-messages.spec.ts:42:9 › Pinned messages › should pin messages and show them in the pinned message panel pinned-messages/pinned-messages.spec.ts:53:9 › Pinned messages › should unpin one message ────── 2 skipped 70 passed (10.1m)
🎭 Playwright Run Summary
1 skipped 75 passed (11.5m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
739 KB
all-blob-reports-2 Expired
6.74 MB
all-blob-reports-3 Expired
447 KB
all-blob-reports-4 Expired
4.41 MB
all-blob-reports-5 Expired
760 KB
all-blob-reports-6 Expired
844 KB
html-report Expired
11.7 MB
webapp Expired
37.8 MB