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

End to End Tests

End to End Tests #8840

Triggered via workflow run April 24, 2024 21:08
@toger5toger5
completed 700b395
Status Success
Total duration 18m 41s
Artifacts 9

end-to-end-tests.yaml

on: workflow_run
Prepare
3s
Prepare
Matrix: tests
Report results
39s
Report results
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 7 warnings, and 1 notice
[Legacy Crypto] › crypto/verification.spec.ts:76:9 › Device verification › Verify device with SAS during login: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L118
1) [Legacy Crypto] › crypto/verification.spec.ts:76:9 › Device verification › Verify device with SAS during login Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.mx_Dialog').getByRole('button', { name: 'Restore from Backup' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.mx_Dialog').getByRole('button', { name: 'Restore from Backup' }) at crypto/utils.ts:118 116 | await page.getByRole("button", { name: "User menu" }).click(); 117 | await page.locator(".mx_UserMenu_contextMenu").getByRole("menuitem", { name: "Security & Privacy" }).click(); > 118 | await expect(page.locator(".mx_Dialog").getByRole("button", { name: "Restore from Backup" })).toBeVisible(); | ^ 119 | 120 | // expand the advanced section to see the active version in the reports 121 | await page.locator(".mx_SecureBackupPanel_advanced").locator("..").click(); at checkDeviceIsConnectedKeyBackup (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:118:99) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts:99:9
[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
2) [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
2) [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" aria-haspopup="true" …>…</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 <
[Rust Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions: matrix-react-sdk/playwright/e2e/settings/device-management.spec.ts#L24
3) [Rust Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions Test timeout of 30000ms exceeded while running "beforeEach" hook. 22 | }); 23 | > 24 | test.beforeEach(async ({ homeserver, user }) => { | ^ 25 | // create 3 extra sessions to manage 26 | for (let i = 0; i < 3; i++) { 27 | await homeserver.loginUser(user.userId, user.password); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/settings/device-management.spec.ts:24:10
[Rust Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions: matrix-react-sdk/playwright/plugins/homeserver/synapse/index.ts#L185
3) [Rust Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions Error: apiRequestContext.post: socket hang up Call log: - → POST http://localhost:40927/_matrix/client/v3/login - user-agent: Playwright/1.43.1 (x64; ubuntu 22.04) node/18.20 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - content-type: application/json - content-length: 110 at ../plugins/homeserver/synapse/index.ts:185 183 | public async loginUser(userId: string, password: string): Promise<Credentials> { 184 | const url = `${this.config.baseUrl}/_matrix/client/v3/login`; > 185 | const res = await this.request.post(url, { | ^ 186 | data: { 187 | type: "m.login.password", 188 | identifier: { at Synapse.loginUser (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/plugins/homeserver/synapse/index.ts:185:40) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/settings/device-management.spec.ts:27:30
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.8m
Slow Test: [Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 5.3m
Slow Test: [Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.8m
Slow Test: [Legacy Crypto] › read-receipts/high-level.spec.ts#L1
[Legacy Crypto] › read-receipts/high-level.spec.ts took 3.7m
Slow Test: [Legacy Crypto] › read-receipts/new-messages.spec.ts#L1
[Legacy Crypto] › read-receipts/new-messages.spec.ts took 3.7m
🎭 Playwright Run Summary
3 flaky [Legacy Crypto] › crypto/verification.spec.ts:76:9 › Device verification › Verify device with SAS during login [Rust Crypto] › login/overwrite_login.spec.ts:21:9 › Overwrite login action › Try replace existing login with new one [Rust Crypto] › settings/device-management.spec.ts:31:9 › Device manager › should display sessions 124 skipped 675 passed (16.5m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
10.3 MB
all-blob-reports-2 Expired
598 KB
all-blob-reports-3 Expired
976 KB
all-blob-reports-4 Expired
1.05 MB
all-blob-reports-5 Expired
8.07 MB
all-blob-reports-6 Expired
579 KB
all-blob-reports-7 Expired
943 KB
all-blob-reports-8 Expired
4.25 MB
html-report--attempt-1 Expired
21.8 MB