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

Triggered via workflow run February 20, 2024 14:02
@floriandurosflorianduros
completed 3714057
Status Success
Total duration 17m 23s
Artifacts 9

end-to-end-tests.yaml

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

Annotations

7 errors, 7 warnings, and 1 notice
[Legacy Crypto] › read-receipts/redactions.spec.ts:691:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart: matrix-react-sdk/playwright/e2e/read-receipts/index.ts#L462
1) [Legacy Crypto] › read-receipts/redactions.spec.ts:691:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_dot') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_dot') - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" at read-receipts/index.ts:462 460 | async assertRead(room: string | { name: string }) { 461 | const tile = this.getRoomListTile(room); > 462 | await expect(tile.locator(".mx_NotificationBadge_dot")).not.toBeVisible(); | ^ 463 | await expect(tile.locator(".mx_NotificationBadge_count")).not.toBeVisible(); 464 | } 465 | at Helpers.assertRead (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:462:69) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/redactions.spec.ts:721:28
[Legacy 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
2) [Legacy 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
[Rust Crypto] › read-receipts/redactions.spec.ts:691:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart: matrix-react-sdk/playwright/e2e/read-receipts/index.ts#L462
3) [Rust Crypto] › read-receipts/redactions.spec.ts:691:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_dot') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_dot') - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge…>…</div> - unexpected value "visible" at read-receipts/index.ts:462 460 | async assertRead(room: string | { name: string }) { 461 | const tile = this.getRoomListTile(room); > 462 | await expect(tile.locator(".mx_NotificationBadge_dot")).not.toBeVisible(); | ^ 463 | await expect(tile.locator(".mx_NotificationBadge_count")).not.toBeVisible(); 464 | } 465 | at Helpers.assertRead (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/index.ts:462:69) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/read-receipts/redactions.spec.ts:721:28
[Rust Crypto] › sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly: matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts#L26
4) [Rust Crypto] › sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly 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:186:9 › Sliding Sync › should update user settings promptly: matrix-react-sdk/playwright/pages/client.ts#L153
4) [Rust Crypto] › sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly Error: jsHandle.evaluate: Test timeout of 30000ms exceeded. at ../pages/client.ts:153 151 | public async createRoom(options: ICreateRoomOpts): Promise<string> { 152 | const client = await this.prepareClient(); > 153 | return await client.evaluate(async (cli, options) => { | ^ 154 | const resp = await cli.createRoom(options); 155 | const roomId = resp.room_id; 156 | if (!cli.getRoom(roomId)) { at Client.createRoom (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/client.ts:153:29) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts:27:18
[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
5) [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#L259
5) [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:259 257 | }, proxyAddress); 258 | await page.goto("/"); > 259 | await page.waitForSelector(".mx_MatrixChat", { timeout: 30000 }); | ^ 260 | await use(proxyInstance); 261 | await proxy.stop(); 262 | }, at Object.slidingSyncProxy (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts:259: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 6.4m
Slow Test: [Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 5.7m
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.5m
🎭 Playwright Run Summary
5 flaky [Legacy Crypto] › read-receipts/redactions.spec.ts:691:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart [Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A [Rust Crypto] › read-receipts/redactions.spec.ts:691:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart [Rust Crypto] › sliding-sync/sliding-sync.spec.ts:186:9 › Sliding Sync › should update user settings promptly [Rust Crypto] › sliding-sync/sliding-sync.spec.ts:259:9 › Sliding Sync › should show a favourite DM only in the favourite sublist 121 skipped 652 passed (15.3m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
961 KB
all-blob-reports-2 Expired
582 KB
all-blob-reports-3 Expired
10.6 MB
all-blob-reports-4 Expired
993 KB
all-blob-reports-5 Expired
1.08 MB
all-blob-reports-6 Expired
553 KB
all-blob-reports-7 Expired
5.51 MB
all-blob-reports-8 Expired
5.42 MB
html-report--attempt-1 Expired
21.1 MB