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 #8520

Triggered via workflow run April 10, 2024 14:28
@toger5toger5
completed 59395ab
Status Success
Total duration 18m 13s
Artifacts 9

end-to-end-tests.yaml

on: workflow_run
Prepare
2s
Prepare
Matrix: tests
Report results
55s
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
[Legacy Crypto] › read-receipts/editing-messages.spec.ts:119:17 › Read receipts › editing messages › in the main timeline › A room with an edit is still read after restart: matrix-react-sdk/playwright/e2e/read-receipts/index.ts#L590
2) [Legacy Crypto] › read-receipts/editing-messages.spec.ts:119:17 › Read receipts › editing messages › in the main timeline › A room with an edit is still read after restart Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.mx_RoomView') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.mx_RoomView') at read-receipts/index.ts:590 588 | await this.page.reload(); 589 | // Wait for the app to reload > 590 | await expect(this.page.locator(".mx_RoomView")).toBeVisible(); | ^ 591 | } 592 | 593 | /** at Helpers.saveAndReload (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:590:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/editing-messages.spec.ts:139:17
[Legacy Crypto] › spotlight/spotlight.spec.ts:344:9 › Spotlight › should close spotlight after starting a DM: matrix-react-sdk/playwright/e2e/spotlight/spotlight.spec.ts#L44
3) [Legacy Crypto] › spotlight/spotlight.spec.ts:344:9 › Spotlight › should close spotlight after starting a DM Error: Timed out 3000ms waiting for expect(locator).toBeAttached() Locator: locator('.mx_EventTile_body').getByText('Hey!') Expected: attached Received: detached Call log: - expect.toBeAttached with timeout 3000ms - waiting for locator('.mx_EventTile_body').getByText('Hey!') 42 | await locator.press("Enter"); 43 | // The DM room is created at this point, this can take a little bit of time > 44 | await expect(page.locator(".mx_EventTile_body").getByText("Hey!")).toBeAttached({ timeout: 3000 }); | ^ 45 | await expect(page.getByRole("group", { name: "People" }).getByText(name)).toBeAttached(); 46 | } 47 | at startDM (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/spotlight/spotlight.spec.ts:44:72) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/spotlight/spotlight.spec.ts:345:9
[Rust Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist: matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts#L26
4) [Rust Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist Test timeout of 30000ms exceeded while running "beforeEach" hook. 24 | let roomId: string; 25 | > 26 | test.beforeEach(async ({ slidingSyncProxy, page, user, app }) => { | ^ 27 | roomId = await app.client.createRoom({ name: "Test Room" }); 28 | }); 29 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts:26:10
[Rust Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist: matrix-react-sdk/playwright/element-web-test.ts#L295
4) [Rust Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_MatrixChat') to be visible at ../element-web-test.ts:295 293 | }, proxyAddress); 294 | await page.goto("/"); > 295 | await page.waitForSelector(".mx_MatrixChat", { timeout: 30000 }); | ^ 296 | await use(proxyInstance); 297 | await proxy.stop(); 298 | }, at Object.slidingSyncProxy (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts:295:20)
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.7m
Slow Test: [Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.6m
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
4 flaky [Legacy Crypto] › crypto/verification.spec.ts:76:9 › Device verification › Verify device with SAS during login [Legacy Crypto] › read-receipts/editing-messages.spec.ts:119:17 › Read receipts › editing messages › in the main timeline › A room with an edit is still read after restart [Legacy Crypto] › spotlight/spotlight.spec.ts:344:9 › Spotlight › should close spotlight after starting a DM [Rust Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist 123 skipped 671 passed (16.1m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
10.5 MB
all-blob-reports-2 Expired
3.58 MB
all-blob-reports-3 Expired
1020 KB
all-blob-reports-4 Expired
4.57 MB
all-blob-reports-5 Expired
1.19 MB
all-blob-reports-6 Expired
580 KB
all-blob-reports-7 Expired
975 KB
all-blob-reports-8 Expired
2.76 MB
html-report--attempt-1 Expired
20 MB