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

Triggered via workflow run February 21, 2024 09:07
@floriandurosflorianduros
completed 6e73d65
Status Success
Total duration 18m 13s
Artifacts 9

end-to-end-tests.yaml

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

Annotations

5 errors, 7 warnings, and 1 notice
[Legacy Crypto] › crypto/crypto.spec.ts:149:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L166
1) [Legacy Crypto] › crypto/crypto.spec.ts:149: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') 164 | if (!isDeviceVerified) { 165 | const uiaDialogTitle = page.locator(".mx_InteractiveAuthDialog .mx_Dialog_title"); > 166 | await expect(uiaDialogTitle.getByText("Setting up keys")).toBeVisible(); | ^ 167 | await expect(uiaDialogTitle.getByText("Setting up keys")).not.toBeVisible(); 168 | } 169 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:166:79
[Rust Crypto] › audio-player/audio-player.spec.ts:146:9 › Audio player › should be correctly rendered - light theme with monospace font: matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts#L81
2) [Rust Crypto] › audio-player/audio-player.spec.ts:146:9 › Audio player › should be correctly rendered - light theme with monospace font Error: expect(received).toBeGreaterThan(expected) Expected: > 0 Received: 0 79 | 80 | // Check the status of the seek bar > 81 | expect(await page.locator(".mx_AudioPlayer_seek input[type='range']").count()).toBeGreaterThan(0); | ^ 82 | 83 | // Enable IRC layout 84 | await app.settings.setValue("layout", null, SettingLevel.DEVICE, Layout.IRC); at takeSnapshots (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts:81:88) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts:149:9
[Rust Crypto] › audio-player/audio-player.spec.ts:239:9 › Audio player › should support creating a reply chain with multiple audio files: matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts#L1
3) [Rust Crypto] › audio-player/audio-player.spec.ts:239:9 › Audio player › should support creating a reply chain with multiple audio files Test timeout of 30000ms exceeded.
[Rust Crypto] › audio-player/audio-player.spec.ts:239:9 › Audio player › should support creating a reply chain with multiple audio files: matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts#L250
3) [Rust Crypto] › audio-player/audio-player.spec.ts:239:9 › Audio player › should support creating a reply chain with multiple audio files Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_EventTile_last').getByRole('button', { name: 'Reply', exact: true }) 248 | const clickButtonReply = async () => { 249 | await tile.hover(); > 250 | await tile.getByRole("button", { name: "Reply", exact: true }).click(); | ^ 251 | }; 252 | 253 | await uploadFile(page, "playwright/sample-files/upload-first.ogg"); at clickButtonReply (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts:250:76) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts:266:9
[Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A: matrix-react-sdk/playwright/e2e/room/room.spec.ts#L100
4) [Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A Error: Timed out 5000ms waiting for expect(locator).toBeInViewport() Locator: locator('.mx_MTextBody .mx_EventTile_body').getByText('test0') Expected: in viewport Received: outside viewport Call log: - expect.toBeInViewport with timeout 5000ms - waiting for locator('.mx_MTextBody .mx_EventTile_body').getByText('test0') 98 | // The timeline should display the first message 99 | // The previous position before switching to Room B should be remembered > 100 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport(); | ^ 101 | }); 102 | }); 103 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/room/room.spec.ts:100:91
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.9m
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: [Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust 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.4m
🎭 Playwright Run Summary
4 flaky [Legacy Crypto] › crypto/crypto.spec.ts:149:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code [Rust Crypto] › audio-player/audio-player.spec.ts:146:9 › Audio player › should be correctly rendered - light theme with monospace font [Rust Crypto] › audio-player/audio-player.spec.ts:239:9 › Audio player › should support creating a reply chain with multiple audio files [Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A 121 skipped 651 passed (16.4m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
3.9 MB
all-blob-reports-2 Expired
599 KB
all-blob-reports-3 Expired
947 KB
all-blob-reports-4 Expired
971 KB
all-blob-reports-5 Expired
8.46 MB
all-blob-reports-6 Expired
568 KB
all-blob-reports-7 Expired
6.03 MB
all-blob-reports-8 Expired
1.04 MB
html-report--attempt-1 Expired
17.8 MB