Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

End to End Tests

End to End Tests #8755

Triggered via workflow run April 19, 2024 09:28
Status Success
Total duration 20m 5s
Artifacts 9
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

end-to-end-tests.yaml

on: workflow_run
Prepare
2s
Prepare
Matrix: tests
Report results
46s
Report results
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 7 warnings, and 1 notice
Report results
Pull Request not found!
Report results
The template is not valid. matrix-org/pr-details-action/v1.3/action.yml (Line: 15, Col: 12): Error reading JToken from JsonReader. Path '', line 0, position 0.,matrix-org/pr-details-action/v1.3/action.yml (Line: 18, Col: 12): Error reading JToken from JsonReader. Path '', line 0, position 0.,matrix-org/pr-details-action/v1.3/action.yml (Line: 21, Col: 12): Error reading JToken from JsonReader. Path '', line 0, position 0.
[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-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:169:79
[Legacy Crypto] › user-onboarding/user-onboarding-new.spec.ts:43:9 › User Onboarding (new user) › app download dialog: matrix-react-sdk/playwright/e2e/user-onboarding/user-onboarding-new.spec.ts#L48
2) [Legacy Crypto] › user-onboarding/user-onboarding-new.spec.ts:43:9 › User Onboarding (new user) › app download dialog Error: Screenshot comparison failed: 129 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/user-onboarding/user-onboarding-new.spec.ts/User-Onboarding-new-user-app-download-dialog-1-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-onboarding-user-onboa-8144a-ew-user-app-download-dialog-Legacy-Crypto/User-Onboarding-new-user-app-download-dialog-1-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-onboarding-user-onboa-8144a-ew-user-app-download-dialog-Legacy-Crypto/User-Onboarding-new-user-app-download-dialog-1-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_Dialog') - locator resolved to <div class="mx_Dialog">…</div> - 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 - 129 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_Dialog') - locator resolved to <div class="mx_Dialog">…</div> - 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 - 129 pixels (ratio 0.01 of all image pixels) are different. 46 | page.getByRole("dialog").getByRole("heading", { level: 1, name: "Download Element" }), 47 | ).toBeVisible(); > 48 | await expect(page.locator(".mx_Dialog")).toMatchScreenshot(); | ^ 49 | }); 50 | 51 | test("using find friends action should increase progress", async ({ page, homeserver }) => { at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/user-onboarding/user-onboarding-new.spec.ts:48:50
[Rust 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
3) [Rust 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-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:169:79
[Rust Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L1
4) [Rust Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup Test timeout of 30000ms exceeded.
[Rust Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L162
4) [Rust Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_AuthPage').getByRole('button', { name: 'Verify with Security Key' }) at crypto/utils.ts:162 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { > 162 | await page.locator(".mx_AuthPage").getByRole("button", { name: "Verify with Security Key" }).click(); | ^ 163 | // Fill in the security key 164 | await page.locator(".mx_Dialog").locator('input[type="password"]').fill(securityKey); 165 | await page.locator(".mx_Dialog_primary:not([disabled])", { hasText: "Continue" }).click(); at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:162:102) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:462:13
[Rust Crypto] › login/overwrite_login.spec.ts:21:9 › Overwrite login action › Try replace existing login with new one: matrix-react-sdk/playwright/e2e/login/overwrite_login.spec.ts#L1
5) [Rust Crypto] › login/overwrite_login.spec.ts:21:9 › Overwrite login action › Try replace existing login with new one Test timeout of 30000ms exceeded.
[Rust Crypto] › login/overwrite_login.spec.ts:21:9 › Overwrite login action › Try replace existing login with new one: matrix-react-sdk/playwright/pages/settings.ts#L28
5) [Rust Crypto] › login/overwrite_login.spec.ts:21:9 › Overwrite login action › Try replace existing login with new one Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('button', { name: 'User menu' }) - locator resolved to <div tabindex="0" role="button" title="User menu" ari…>…</div> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="mx_ContextualMenu_background"></div> from <
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/.
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.7m
Slow Test: [Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 5.5m
Slow Test: [Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.7m
Slow Test: [Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.5m
Slow Test: [Legacy Crypto] › read-receipts/new-messages.spec.ts#L1
[Legacy Crypto] › read-receipts/new-messages.spec.ts took 3.4m
🎭 Playwright Run Summary
5 flaky [Legacy Crypto] › crypto/crypto.spec.ts:146:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code [Legacy Crypto] › user-onboarding/user-onboarding-new.spec.ts:43:9 › User Onboarding (new user) › app download dialog [Rust Crypto] › crypto/crypto.spec.ts:146:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code [Rust Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup [Rust Crypto] › login/overwrite_login.spec.ts:21:9 › Overwrite login action › Try replace existing login with new one 124 skipped 673 passed (17.4m)

Artifacts

Produced during runtime
Name Size Digest
all-blob-reports-1 Expired
4.28 MB
sha256:a42ce518d5e95f9751f398da073de8a2a373d05611e989615db7d3286cb909ea
all-blob-reports-2 Expired
604 KB
sha256:2e07be1674b815f5833da57ce2d9ce6e81855b38c51807f54e6eb76618e64f44
all-blob-reports-3 Expired
977 KB
sha256:f75007c1aa41ab0d1df2b8d032ac73e43820c5d3fdbb236799b4bac0bc604fab
all-blob-reports-4 Expired
3.8 MB
sha256:21ec56198653c57cb60937a54aa2507655916093344e64253db55c1340fe86fc
all-blob-reports-5 Expired
23.7 MB
sha256:b550472671f3737feb33e890f9e3966c2410c71514450276794a6aa86c9c6566
all-blob-reports-6 Expired
579 KB
sha256:1f262a3e889dfaf49cde2cb9fe375216c2750ee3481b1ed2e6d0b69cc43d6161
all-blob-reports-7 Expired
941 KB
sha256:241ba70e8c0e3bdd6219254444205b538715c19c7edde2b4e1c35e4dfddde750
all-blob-reports-8 Expired
1.1 MB
sha256:37859ae60b0bbed64a9271c042541e6d85a13347b63d4d3439e118b9e8b3b5a2
html-report--attempt-1 Expired
31 MB
sha256:51c8ece387dc16233a36586d415f893405ecf902339edaf58ec69122e24a52b1