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

Improve error display for messages sent from insecure devices #467

Improve error display for messages sent from insecure devices

Improve error display for messages sent from insecure devices #467

Triggered via pull request September 30, 2024 11:52
Status Success
Total duration 17m 30s
Artifacts 8

end-to-end-tests.yaml

on: pull_request
Build Element-Web
2m 25s
Build Element-Web
Matrix: playwright
end-to-end-tests
40s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 30 warnings, and 6 notices
crypto/crypto.spec.ts:92:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L115
1) crypto/crypto.spec.ts:92:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys') 113 | if (!isDeviceVerified) { 114 | const uiaDialogTitle = page.locator(".mx_InteractiveAuthDialog .mx_Dialog_title"); > 115 | await expect(uiaDialogTitle.getByText("Setting up keys")).toBeVisible(); | ^ 116 | await expect(uiaDialogTitle.getByText("Setting up keys")).not.toBeVisible(); 117 | } 118 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:115:79
crypto/event-shields.spec.ts:266:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted: matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts#L299
2) crypto/event-shields.spec.ts:266:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: locator('.mx_EventTile').filter({ hasText: 'test encrypted from verified' }).locator('.mx_EventTile_e2eIcon') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for locator('.mx_EventTile').filter({ hasText: 'test encrypted from verified' }).locator('.mx_EventTile_e2eIcon') - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" 297 | 298 | const penultimate = page.locator(".mx_EventTile").filter({ hasText: "test encrypted from verified" }); > 299 | await expect(penultimate.locator(".mx_EventTile_e2eIcon")).not.toBeVisible(); | ^ 300 | }); 301 | }); 302 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts:299:76
crypto/user-verification.spec.ts:78:9 › User verification › can abort emoji verification when emoji mismatch: matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts#L1
3) crypto/user-verification.spec.ts:78:9 › User verification › can abort emoji verification when emoji mismatch Test timeout of 30000ms exceeded.
crypto/user-verification.spec.ts:78:9 › User verification › can abort emoji verification when emoji mismatch: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L373
3) crypto/user-verification.spec.ts:78:9 › User verification › can abort emoji verification when emoji mismatch Error: jsHandle.evaluateHandle: Test timeout of 30000ms exceeded. at crypto/utils.ts:373 371 | botVerificationRequest: JSHandle<VerificationRequest>, 372 | ): Promise<JSHandle<Verifier>> { > 373 | return botVerificationRequest.evaluateHandle(async (verificationRequest) => { | ^ 374 | while (!verificationRequest.verifier) { 375 | await new Promise((r) => verificationRequest.once("change" as any, r)); 376 | } at awaitVerifier (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:373:35) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts:108:48
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 54.6s
Slow Test: matrix-react-sdk/right-panel/file-panel.spec.ts#L1
matrix-react-sdk/right-panel/file-panel.spec.ts took 36.5s
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.5s
Slow Test: matrix-react-sdk/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
matrix-react-sdk/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 30.9s
Slow Test: matrix-react-sdk/timeline/timeline.spec.ts#L1
matrix-react-sdk/timeline/timeline.spec.ts took 2.8m
Slow Test: matrix-react-sdk/spotlight/spotlight.spec.ts#L1
matrix-react-sdk/spotlight/spotlight.spec.ts took 2.1m
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.8m
Slow Test: matrix-react-sdk/threads/threads.spec.ts#L1
matrix-react-sdk/threads/threads.spec.ts took 38.4s
Slow Test: matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts#L1
matrix-react-sdk/user-onboarding/user-onboarding-new.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.8m
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.0m
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 1.0m
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 57.7s
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/pinned-messages/pinned-messages.spec.ts#L1
matrix-react-sdk/pinned-messages/pinned-messages.spec.ts took 1.6m
Slow Test: matrix-react-sdk/login/login.spec.ts#L1
matrix-react-sdk/login/login.spec.ts took 38.8s
Slow Test: matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 36.2s
Slow Test: matrix-react-sdk/integration-manager/read_events.spec.ts#L1
matrix-react-sdk/integration-manager/read_events.spec.ts took 36.1s
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 2.0m
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.5m
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.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.1m
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/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 53.7s
Slow Test: matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 50.5s
Slow Test: matrix-react-sdk/integration-manager/kick.spec.ts#L1
matrix-react-sdk/integration-manager/kick.spec.ts took 41.7s
🎭 Playwright Run Summary
9 skipped 64 passed (8.5m)
🎭 Playwright Run Summary
4 skipped 67 passed (9.9m)
🎭 Playwright Run Summary
15 skipped 60 passed (10.1m)
🎭 Playwright Run Summary
1 skipped 74 passed (10.4m)
🎭 Playwright Run Summary
32 skipped 50 passed (10.3m)
🎭 Playwright Run Summary
3 flaky crypto/crypto.spec.ts:92:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code crypto/event-shields.spec.ts:266:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted crypto/user-verification.spec.ts:78:9 › User verification › can abort emoji verification when emoji mismatch 1 skipped 74 passed (13.3m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
11.4 MB
all-blob-reports-2 Expired
444 KB
all-blob-reports-3 Expired
507 KB
all-blob-reports-4 Expired
503 KB
all-blob-reports-5 Expired
765 KB
all-blob-reports-6 Expired
858 KB
html-report Expired
12.2 MB
webapp Expired
38.1 MB