Skip to content

matrix-react-sdk End to End Tests #1480

matrix-react-sdk End to End Tests

matrix-react-sdk End to End Tests #1480

Triggered via merge group September 3, 2024 13:51
Status Success
Total duration 16m 2s
Artifacts 8
Playwright  /  Build Element-Web
2m 15s
Playwright / Build Element-Web
Matrix: Playwright / playwright
Playwright  /  end-to-end-tests
36s
Playwright / end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 30 warnings, and 6 notices
sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly: matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts#L26
1) sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly ─ Test timeout of 30000ms exceeded while running "beforeEach" hook. 24 | let roomId: string; 25 | > 26 | test.beforeEach(async ({ slidingSyncProxy, page, user, app }) => { | ^ 27 | roomId = await app.client.createRoom({ name: "Test Room" }); 28 | }); 29 | at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts:26:10
sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly: matrix-react-sdk/playwright/pages/client.ts#L161
1) sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly ─ Error: jsHandle.evaluate: Test timeout of 30000ms exceeded. at ../pages/client.ts:161 159 | public async createRoom(options: ICreateRoomOpts): Promise<string> { 160 | const client = await this.prepareClient(); > 161 | return await client.evaluate(async (cli, options) => { | ^ 162 | const resp = await cli.createRoom(options); 163 | const roomId = resp.room_id; 164 | if (!cli.getRoom(roomId)) { at Client.createRoom (/home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/pages/client.ts:161:29) at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts:27:18
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/user-verification.spec.ts:86:9 › User verification › can abort emoji verification when emoji mismatch: matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts#L1
1) crypto/user-verification.spec.ts:86:9 › User verification › can abort emoji verification when emoji mismatch Test timeout of 30000ms exceeded.
crypto/user-verification.spec.ts:86:9 › User verification › can abort emoji verification when emoji mismatch: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L381
1) crypto/user-verification.spec.ts:86:9 › User verification › can abort emoji verification when emoji mismatch Error: jsHandle.evaluateHandle: Test timeout of 30000ms exceeded. at crypto/utils.ts:381 379 | botVerificationRequest: JSHandle<VerificationRequest>, 380 | ): Promise<JSHandle<Verifier>> { > 381 | return botVerificationRequest.evaluateHandle(async (verificationRequest) => { | ^ 382 | while (!verificationRequest.verifier) { 383 | await new Promise((r) => verificationRequest.once("change" as any, r)); 384 | } at awaitVerifier (/home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:381:35) at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts:116:48
🎭 Playwright Run Summary
1 flaky sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly ── 9 skipped 63 passed (8.4m)
🎭 Playwright Run Summary
4 skipped 67 passed (9.0m)
🎭 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 (10.0m)
🎭 Playwright Run Summary
15 skipped 60 passed (10.0m)
🎭 Playwright Run Summary
31 skipped 50 passed (10.3m)
🎭 Playwright Run Summary
1 flaky crypto/user-verification.spec.ts:86:9 › User verification › can abort emoji verification when emoji mismatch 1 skipped 74 passed (11.7m)
Slow Test: matrix-react-sdk/spaces/spaces.spec.ts#L1
matrix-react-sdk/spaces/spaces.spec.ts took 55.4s
Slow Test: matrix-react-sdk/right-panel/right-panel.spec.ts#L1
matrix-react-sdk/right-panel/right-panel.spec.ts took 50.8s
Slow Test: matrix-react-sdk/right-panel/file-panel.spec.ts#L1
matrix-react-sdk/right-panel/file-panel.spec.ts took 35.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 35.1s
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.6s
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 36.1s
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.2s
Slow Test: matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 2.1m
Slow Test: matrix-react-sdk/login/login.spec.ts#L1
matrix-react-sdk/login/login.spec.ts took 37.3s
Slow Test: matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 35.4s
Slow Test: matrix-react-sdk/integration-manager/read_events.spec.ts#L1
matrix-react-sdk/integration-manager/read_events.spec.ts took 35.3s
Slow Test: matrix-react-sdk/polls/polls.spec.ts#L1
matrix-react-sdk/polls/polls.spec.ts took 32.9s
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.7m
Slow Test: matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts took 2.1m
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/redactions-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts took 58.2s
Slow Test: matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts took 57.8s
Slow Test: matrix-react-sdk/read-receipts/high-level.spec.ts#L1
matrix-react-sdk/read-receipts/high-level.spec.ts took 3.4m
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-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/editing-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts took 1.2m
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.2m
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/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 1.0m
Slow Test: matrix-react-sdk/crypto/crypto.spec.ts#L1
matrix-react-sdk/crypto/crypto.spec.ts took 58.7s
Slow Test: matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 50.6s

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
5.55 MB
all-blob-reports-2 Expired
7.17 MB
all-blob-reports-3 Expired
505 KB
all-blob-reports-4 Expired
498 KB
all-blob-reports-5 Expired
3.49 MB
all-blob-reports-6 Expired
853 KB
html-report Expired
15.8 MB
webapp Expired
37.8 MB