Skip to content

matrix-react-sdk End to End Tests #1525

matrix-react-sdk End to End Tests

matrix-react-sdk End to End Tests #1525

Triggered via merge group September 11, 2024 09:31
Status Failure
Total duration 15m 47s
Artifacts 8
Playwright  /  Build Element-Web
2m 4s
Playwright / Build Element-Web
Matrix: Playwright / playwright
Playwright  /  end-to-end-tests
42s
Playwright / end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 30 warnings, and 6 notices
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/pinned-messages.spec.ts#L51
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: 360 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-pin-3-linux.png Received: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-db571-in-the-pinned-message-panel/pinned-messages-list-pin-3-actual.png Diff: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-db571-in-the-pinned-message-panel/pinned-messages-list-pin-3-diff.png Call log: - expect.toHaveScreenshot(pinned-messages-list-pin-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 - 360 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 - 360 pixels (ratio 0.01 of all image pixels) are different. 49 | await util.openPinnedMessagesList(); 50 | await util.assertPinnedMessagesList(["Msg1", "Msg2", "Msg4"]); > 51 | await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-pin-3.png`); | ^ 52 | }); 53 | 54 | test("should unpin one message", async ({ page, app, room1, util }) => { at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:51:44
pinned-messages/pinned-messages.spec.ts:54:9 › Pinned messages › should unpin one message: matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts#L63
2) pinned-messages/pinned-messages.spec.ts:54: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-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-unpin-2-linux.png Received: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-unpin-2-actual.png Diff: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-unpin-2-diff.png Call log: - expect.toHaveScreenshot(pinned-messages-list-unpin-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. 61 | await util.unpinMessageFromMessageList("Msg2"); 62 | await util.assertPinnedMessagesList(["Msg1", "Msg4"]); > 63 | await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-unpin-2.png`); | ^ 64 | await util.backPinnedMessagesList(); 65 | await util.assertPinnedCountInRoomInfo(2); 66 | }); at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:63:44
crypto/event-shields.spec.ts:52:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts#L159
1) crypto/event-shields.spec.ts:52:13 › Cryptography › event shields › should show the correct shield on e2e events Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('tooltip') Expected string: "Encrypted by an unknown or deleted device." Received string: "Encrypted by a device not verified by its owner." Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('tooltip') - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-694" class="_tooltip_svz44_17" aria-labelledby="floating-ui-692" aria-describedby="floating-ui-692">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-694" class="_tooltip_svz44_17" aria-labelledby="floating-ui-692" aria-describedby="floating-ui-692">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-694" class="_tooltip_svz44_17" aria-labelledby="floating-ui-692" aria-describedby="floating-ui-692">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-694" class="_tooltip_svz44_17" aria-labelledby="floating-ui-692" aria-describedby="floating-ui-692">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-694" class="_tooltip_svz44_17" aria-labelledby="floating-ui-692" aria-describedby="floating-ui-692">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-694" class="_tooltip_svz44_17" aria-labelledby="floating-ui-692" aria-describedby="floating-ui-692">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-694" class="_tooltip_svz44_17" aria-labelledby="floating-ui-692" aria-describedby="floating-ui-692">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-694" class="_tooltip_svz44_17" aria-labelledby="floating-ui-692" aria-describedby="floating-ui-692">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-694" class="_tooltip_svz44_17" aria-labelledby="floating-ui-692" aria-describedby="floating-ui-692">…</div> - unexpected value "Encrypted by a device not verified by its owner." 157 | await expect(lastE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/); 158 | await lastE2eIcon.focus(); > 159 | await expect(page.getByRole("tooltip")).toContainText("Encrypted by an unknown or deleted device."); | ^ 160 | }); 161 | 162 | test("Should show a grey padlock for a key restored from backup", async ({ at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts:159:53
crypto/event-shields.spec.ts:52:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts#L159
1) crypto/event-shields.spec.ts:52:13 › Cryptography › event shields › should show the correct shield on e2e events Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('tooltip') Expected string: "Encrypted by an unknown or deleted device." Received string: "Encrypted by a device not verified by its owner." Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('tooltip') - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-686" class="_tooltip_svz44_17" aria-labelledby="floating-ui-684" aria-describedby="floating-ui-684">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-686" class="_tooltip_svz44_17" aria-labelledby="floating-ui-684" aria-describedby="floating-ui-684">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-686" class="_tooltip_svz44_17" aria-labelledby="floating-ui-684" aria-describedby="floating-ui-684">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-686" class="_tooltip_svz44_17" aria-labelledby="floating-ui-684" aria-describedby="floating-ui-684">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-686" class="_tooltip_svz44_17" aria-labelledby="floating-ui-684" aria-describedby="floating-ui-684">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-686" class="_tooltip_svz44_17" aria-labelledby="floating-ui-684" aria-describedby="floating-ui-684">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-686" class="_tooltip_svz44_17" aria-labelledby="floating-ui-684" aria-describedby="floating-ui-684">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-686" class="_tooltip_svz44_17" aria-labelledby="floating-ui-684" aria-describedby="floating-ui-684">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-686" class="_tooltip_svz44_17" aria-labelledby="floating-ui-684" aria-describedby="floating-ui-684">…</div> - unexpected value "Encrypted by a device not verified by its owner." 157 | await expect(lastE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/); 158 | await lastE2eIcon.focus(); > 159 | await expect(page.getByRole("tooltip")).toContainText("Encrypted by an unknown or deleted device."); | ^ 160 | }); 161 | 162 | test("Should show a grey padlock for a key restored from backup", async ({ at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts:159:53
crypto/event-shields.spec.ts:52:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts#L159
1) crypto/event-shields.spec.ts:52:13 › Cryptography › event shields › should show the correct shield on e2e events Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByRole('tooltip') Expected string: "Encrypted by an unknown or deleted device." Received string: "Encrypted by a device not verified by its owner." Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('tooltip') - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-690" class="_tooltip_svz44_17" aria-labelledby="floating-ui-688" aria-describedby="floating-ui-688">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-690" class="_tooltip_svz44_17" aria-labelledby="floating-ui-688" aria-describedby="floating-ui-688">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-690" class="_tooltip_svz44_17" aria-labelledby="floating-ui-688" aria-describedby="floating-ui-688">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-690" class="_tooltip_svz44_17" aria-labelledby="floating-ui-688" aria-describedby="floating-ui-688">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-690" class="_tooltip_svz44_17" aria-labelledby="floating-ui-688" aria-describedby="floating-ui-688">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-690" class="_tooltip_svz44_17" aria-labelledby="floating-ui-688" aria-describedby="floating-ui-688">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-690" class="_tooltip_svz44_17" aria-labelledby="floating-ui-688" aria-describedby="floating-ui-688">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-690" class="_tooltip_svz44_17" aria-labelledby="floating-ui-688" aria-describedby="floating-ui-688">…</div> - unexpected value "Encrypted by a device not verified by its owner." - locator resolved to <div tabindex="-1" role="tooltip" id="floating-ui-690" class="_tooltip_svz44_17" aria-labelledby="floating-ui-688" aria-describedby="floating-ui-688">…</div> - unexpected value "Encrypted by a device not verified by its owner." 157 | await expect(lastE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/); 158 | await lastE2eIcon.focus(); > 159 | await expect(page.getByRole("tooltip")).toContainText("Encrypted by an unknown or deleted device."); | ^ 160 | }); 161 | 162 | test("Should show a grey padlock for a key restored from backup", async ({ at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts:159:53
Playwright / Run Tests 1/6
Process completed with exit code 1.
Playwright / end-to-end-tests
Process completed with exit code 1.
🎭 Playwright Run Summary
4 skipped 67 passed (9.0m)
🎭 Playwright Run Summary
9 skipped 64 passed (9.4m)
🎭 Playwright Run Summary
15 skipped 60 passed (9.5m)
🎭 Playwright Run Summary
31 skipped 50 passed (10.5m)
🎭 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:54:9 › Pinned messages › should unpin one message ────── 2 skipped 72 passed (11.0m)
🎭 Playwright Run Summary
1 failed crypto/event-shields.spec.ts:52:13 › Cryptography › event shields › should show the correct shield on e2e events 1 skipped 74 passed (11.9m)
Slow Test: matrix-react-sdk/timeline/timeline.spec.ts#L1
matrix-react-sdk/timeline/timeline.spec.ts took 2.6m
Slow Test: matrix-react-sdk/spotlight/spotlight.spec.ts#L1
matrix-react-sdk/spotlight/spotlight.spec.ts took 2.0m
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 35.6s
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.3s
Slow Test: matrix-react-sdk/spaces/spaces.spec.ts#L1
matrix-react-sdk/spaces/spaces.spec.ts took 1.1m
Slow Test: matrix-react-sdk/right-panel/right-panel.spec.ts#L1
matrix-react-sdk/right-panel/right-panel.spec.ts took 59.9s
Slow Test: matrix-react-sdk/settings/account-user-settings-tab.spec.ts#L1
matrix-react-sdk/settings/account-user-settings-tab.spec.ts took 42.1s
Slow Test: matrix-react-sdk/right-panel/file-panel.spec.ts#L1
matrix-react-sdk/right-panel/file-panel.spec.ts took 41.9s
Slow Test: matrix-react-sdk/read-receipts/room-list-order.spec.ts#L1
matrix-react-sdk/read-receipts/room-list-order.spec.ts took 39.3s
Slow Test: matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts took 2.6m
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.1m
Slow Test: matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts took 59.2s
Slow Test: matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts took 53.2s
Slow Test: matrix-react-sdk/read-receipts/high-level.spec.ts#L1
matrix-react-sdk/read-receipts/high-level.spec.ts took 3.5m
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.9m
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.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-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts took 1.3m
Slow Test: matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 2.4m
Slow Test: matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 41.1s
Slow Test: matrix-react-sdk/login/login.spec.ts#L1
matrix-react-sdk/login/login.spec.ts took 37.6s
Slow Test: matrix-react-sdk/integration-manager/read_events.spec.ts#L1
matrix-react-sdk/integration-manager/read_events.spec.ts took 37.6s
Slow Test: matrix-react-sdk/polls/polls.spec.ts#L1
matrix-react-sdk/polls/polls.spec.ts took 35.7s
Slow Test: matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.2m
Slow Test: matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.1m
Slow Test: matrix-react-sdk/crypto/crypto.spec.ts#L1
matrix-react-sdk/crypto/crypto.spec.ts took 1.0m
Slow Test: matrix-react-sdk/crypto/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 54.9s
Slow Test: matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 50.5s

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
14.6 MB
all-blob-reports-2 Expired
6.82 MB
all-blob-reports-3 Expired
507 KB
all-blob-reports-4 Expired
498 KB
all-blob-reports-5 Expired
766 KB
all-blob-reports-6 Expired
855 KB
html-report
21.8 MB
webapp Expired
38.2 MB