Skip to content

matrix-react-sdk End to End Tests #663

matrix-react-sdk End to End Tests

matrix-react-sdk End to End Tests #663

Triggered via workflow run April 16, 2024 13:30
@t3chguyt3chguy
completed 8438533
Status Success
Total duration 18m 25s
Artifacts 9
Playwright  /  Prepare
5s
Playwright / Prepare
mark_skipped
0s
mark_skipped
Matrix: Playwright / tests
Playwright  /  Report results
43s
Playwright / Report results
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 7 warnings, and 1 notice
[Legacy Crypto] › crypto/crypto.spec.ts:146:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L169
1) [Legacy Crypto] › crypto/crypto.spec.ts:146: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: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys') 167 | if (!isDeviceVerified) { 168 | const uiaDialogTitle = page.locator(".mx_InteractiveAuthDialog .mx_Dialog_title"); > 169 | await expect(uiaDialogTitle.getByText("Setting up keys")).toBeVisible(); | ^ 170 | await expect(uiaDialogTitle.getByText("Setting up keys")).not.toBeVisible(); 171 | } 172 | at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:169:79
[Legacy Crypto] › timeline/timeline.spec.ts:910:13 › Timeline › message sending › should display a reply chain: matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts#L1017
2) [Legacy Crypto] › timeline/timeline.spec.ts:910:13 › Timeline › message sending › should display a reply chain Error: Screenshot comparison failed: 103 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/timeline/timeline.spec.ts/event-tile-reply-chains-bubble-layout-linux.png Received: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-sending-should-display-a-reply-chain-Legacy-Crypto/event-tile-reply-chains-bubble-layout-actual.png Diff: /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-sending-should-display-a-reply-chain-Legacy-Crypto/event-tile-reply-chains-bubble-layout-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_EventTile_last') - locator resolved to <li tabindex="-1" aria-live="off" data-self="true" a…>…</li> - 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 - 103 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_EventTile_last') - locator resolved to <li tabindex="-1" aria-live="off" data-self="true" a…>…</li> - 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 - 103 pixels (ratio 0.01 of all image pixels) are different. 1015 | 1016 | // Take a snapshot on bubble layout > 1017 | await expect(page.locator(".mx_EventTile_last")).toMatchScreenshot( | ^ 1018 | "event-tile-reply-chains-bubble-layout.png", 1019 | screenshotOptions, 1020 | ); at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts:1017:62
[Rust Crypto] › crypto/verification.spec.ts:245:9 › User verification › can receive a verification request when there is no existing DM: matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts#L1
3) [Rust Crypto] › crypto/verification.spec.ts:245:9 › User verification › can receive a verification request when there is no existing DM Test timeout of 30000ms exceeded.
[Rust Crypto] › crypto/verification.spec.ts:245:9 › User verification › can receive a verification request when there is no existing DM: matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts#L355
3) [Rust Crypto] › crypto/verification.spec.ts:245:9 › User verification › can receive a verification request when there is no existing DM Error: jsHandle.evaluateHandle: Test timeout of 30000ms exceeded. 353 | */ 354 | async function awaitVerifier(botVerificationRequest: JSHandle<VerificationRequest>): Promise<JSHandle<Verifier>> { > 355 | return botVerificationRequest.evaluateHandle(async (verificationRequest) => { | ^ 356 | while (!verificationRequest.verifier) { 357 | await new Promise((r) => verificationRequest.once("change" as any, r)); 358 | } at awaitVerifier (/home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts:355:35) at /home/runner/work/matrix-js-sdk/matrix-js-sdk/matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts:287:35
Playwright / Prepare
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Sibz/github-status-action@071b5370da85afbb16637d6eed8524a06bc2053e. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright / Report results
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Sibz/github-status-action@071b5370da85afbb16637d6eed8524a06bc2053e, bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3, actions/github-script@v6, nwtgck/actions-netlify@7a92f00dde8c92a5a9e8385ec2919775f7647352. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: [Rust Crypto] › read-receipts/redactions.spec.ts#L1
[Rust Crypto] › read-receipts/redactions.spec.ts took 5.8m
Slow Test: [Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 5.2m
Slow Test: [Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.8m
Slow Test: [Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.7m
Slow Test: [Rust Crypto] › read-receipts/editing-messages.spec.ts#L1
[Rust Crypto] › read-receipts/editing-messages.spec.ts took 3.4m
🎭 Playwright Run Summary
3 flaky [Legacy Crypto] › crypto/crypto.spec.ts:146:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code [Legacy Crypto] › timeline/timeline.spec.ts:910:13 › Timeline › message sending › should display a reply chain [Rust Crypto] › crypto/verification.spec.ts:245:9 › User verification › can receive a verification request when there is no existing DM 124 skipped 675 passed (16.4m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
4.24 MB
all-blob-reports-2 Expired
608 KB
all-blob-reports-3 Expired
1020 KB
all-blob-reports-4 Expired
4.86 MB
all-blob-reports-5 Expired
6.4 MB
all-blob-reports-6 Expired
579 KB
all-blob-reports-7 Expired
975 KB
all-blob-reports-8 Expired
1.15 MB
html-report--attempt-1 Expired
14.7 MB