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

Use new CryptoEvent import #950

Use new CryptoEvent import

Use new CryptoEvent import #950

Triggered via pull request October 16, 2024 10:35
Status Success
Total duration 17m 12s
Artifacts 8

end-to-end-tests.yaml

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

Annotations

6 errors, 30 warnings, and 6 notices
login/login.spec.ts:199:21 › Login › Password login › verification after login › with force_verification on › Shows unskippable verification prompt after login if signing keys are set up: matrix-react-sdk/playwright/e2e/login/login.spec.ts#L220
1) login/login.spec.ts:199:21 › Login › Password login › verification after login › with force_verification on › Shows unskippable verification prompt after login if signing keys are set up Error: expect(locator).not.toBeVisible() Locator: getByRole('heading', { name: 'Verify this device', level: 1 }).locator('.mx_CompleteSecurity_skip') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Verify this device', level: 1 }).locator('.mx_CompleteSecurity_skip') 218 | await expect(h1).toBeVisible(); 219 | > 220 | expect(h1.locator(".mx_CompleteSecurity_skip")).not.toBeVisible(); | ^ 221 | }); 222 | }); 223 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/login/login.spec.ts:220:73
pinned-messages/pinned-messages.spec.ts:70:9 › Pinned messages › should unpin all messages: matrix-react-sdk/playwright/e2e/pinned-messages/index.ts#L199
2) pinned-messages/pinned-messages.spec.ts:70:9 › Pinned messages › should unpin all messages ──── Error: Screenshot comparison failed: 2430 pixels (ratio 0.02 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-empty-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-622a2-s-should-unpin-all-messages/pinned-messages-list-empty-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-622a2-s-should-unpin-all-messages/pinned-messages-list-empty-diff.png Call log: - expect.toHaveScreenshot(pinned-messages-list-empty.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 - 2430 pixels (ratio 0.02 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 - 2430 pixels (ratio 0.02 of all image pixels) are different. at pinned-messages/index.ts:199 197 | async assertEmptyPinnedMessagesList() { 198 | const rightPanel = this.getRightPanel(); > 199 | await expect(rightPanel).toMatchScreenshot(`pinned-messages-list-empty.png`); | ^ 200 | } 201 | 202 | /** at Helpers.assertEmptyPinnedMessagesList (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/index.ts:199:34) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:79:20
accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms: matrix-react-sdk/playwright/e2e/accessibility/keyboard-navigation.spec.ts#L25
1) accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: locator('.mx_SpaceButton_active') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('.mx_SpaceButton_active') - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" 23 | // Pressing Control+F6 will first focus the space button 24 | await page.keyboard.press("ControlOrMeta+F6"); > 25 | await expect(page.locator(".mx_SpaceButton_active")).toBeFocused(); | ^ 26 | 27 | // Pressing Control+F6 again will focus room search 28 | await page.keyboard.press("ControlOrMeta+F6"); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/accessibility/keyboard-navigation.spec.ts:25:62
crypto/crypto.spec.ts:97:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L120
2) crypto/crypto.spec.ts:97: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') 118 | if (!isDeviceVerified) { 119 | const uiaDialogTitle = page.locator(".mx_InteractiveAuthDialog .mx_Dialog_title"); > 120 | await expect(uiaDialogTitle.getByText("Setting up keys")).toBeVisible(); | ^ 121 | await expect(uiaDialogTitle.getByText("Setting up keys")).not.toBeVisible(); 122 | } 123 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:120:79
crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM: matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts#L1
3) crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM Test timeout of 30000ms exceeded.
crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L374
3) crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM Error: jsHandle.evaluateHandle: Test timeout of 30000ms exceeded. at crypto/utils.ts:374 372 | botVerificationRequest: JSHandle<VerificationRequest>, 373 | ): Promise<JSHandle<Verifier>> { > 374 | return botVerificationRequest.evaluateHandle(async (verificationRequest) => { | ^ 375 | while (!verificationRequest.verifier) { 376 | await new Promise((r) => verificationRequest.once("change" as any, r)); 377 | } at awaitVerifier (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:374:35) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts:67:48
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.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.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 53.9s
Slow Test: matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts took 1.1m
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 51.6s
Slow Test: matrix-react-sdk/right-panel/file-panel.spec.ts#L1
matrix-react-sdk/right-panel/file-panel.spec.ts took 36.8s
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.6s
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.2m
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.7m
Slow Test: matrix-react-sdk/threads/threads.spec.ts#L1
matrix-react-sdk/threads/threads.spec.ts took 40.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 31.7s
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.9m
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.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.5m
Slow Test: matrix-react-sdk/read-receipts/read-receipts.spec.ts#L1
matrix-react-sdk/read-receipts/read-receipts.spec.ts took 1.2m
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.1m
Slow Test: matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 2.5m
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/integration-manager/read_events.spec.ts#L1
matrix-react-sdk/integration-manager/read_events.spec.ts took 40.0s
Slow Test: matrix-react-sdk/polls/polls.spec.ts#L1
matrix-react-sdk/polls/polls.spec.ts took 38.1s
Slow Test: matrix-react-sdk/knock/manage-knocks.spec.ts#L1
matrix-react-sdk/knock/manage-knocks.spec.ts took 31.8s
Slow Test: matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.4m
Slow Test: matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.3m
Slow Test: matrix-react-sdk/crypto/event-shields.spec.ts#L1
matrix-react-sdk/crypto/event-shields.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 55.1s
Slow Test: matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 51.7s
🎭 Playwright Run Summary
32 skipped 42 passed (9.1m)
🎭 Playwright Run Summary
10 skipped 70 passed (9.1m)
🎭 Playwright Run Summary
4 skipped 67 passed (9.8m)
🎭 Playwright Run Summary
14 skipped 62 passed (11.0m)
🎭 Playwright Run Summary
2 flaky login/login.spec.ts:199:21 › Login › Password login › verification after login › with force_verification on › Shows unskippable verification prompt after login if signing keys are set up pinned-messages/pinned-messages.spec.ts:70:9 › Pinned messages › should unpin all messages ───── 1 skipped 76 passed (12.0m)
🎭 Playwright Run Summary
3 flaky accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms ─ crypto/crypto.spec.ts:97:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM 1 skipped 74 passed (13.3m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
10.6 MB
all-blob-reports-2 Expired
9.92 MB
all-blob-reports-3 Expired
447 KB
all-blob-reports-4 Expired
514 KB
all-blob-reports-5 Expired
827 KB
all-blob-reports-6 Expired
876 KB
html-report Expired
20.9 MB
webapp Expired
37.1 MB