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

Triggered via workflow run February 26, 2024 16:55
@dbkrdbkr
completed 1403cd8
Status Failure
Total duration 19m 59s
Artifacts 9

end-to-end-tests.yaml

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

Annotations

12 errors, 7 warnings, and 1 notice
Run Tests 5/8
The process '/usr/bin/xvfb-run' failed with exit code 1
Run Tests 1/8
The process '/usr/bin/xvfb-run' failed with exit code 1
[Legacy Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself: matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts#L231
1) [Legacy Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) 229 | await expect( 230 | page.getByRole("group", { name: "Historical" }).getByRole("treeitem", { name: "Cybersecurity" }), > 231 | ).toBeVisible(); | ^ 232 | }); 233 | 234 | test("should knock into the room then knock is cancelled by another user and room is forgotten", async ({ at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts:231:11
[Legacy Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself: matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts#L231
1) [Legacy Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) 229 | await expect( 230 | page.getByRole("group", { name: "Historical" }).getByRole("treeitem", { name: "Cybersecurity" }), > 231 | ).toBeVisible(); | ^ 232 | }); 233 | 234 | test("should knock into the room then knock is cancelled by another user and room is forgotten", async ({ at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts:231:11
[Legacy Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself: matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts#L231
1) [Legacy Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) 229 | await expect( 230 | page.getByRole("group", { name: "Historical" }).getByRole("treeitem", { name: "Cybersecurity" }), > 231 | ).toBeVisible(); | ^ 232 | }); 233 | 234 | test("should knock into the room then knock is cancelled by another user and room is forgotten", async ({ at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts:231:11
[Legacy Crypto] › one-to-one-chat/one-to-one-chat.spec.ts:38:5 › 1:1 chat room › should open new 1:1 chat room after leaving the old one: matrix-react-sdk/playwright/e2e/one-to-one-chat/one-to-one-chat.spec.ts#L47
2) [Legacy Crypto] › one-to-one-chat/one-to-one-chat.spec.ts:38:5 › 1:1 chat room › should open new 1:1 chat room after leaving the old one Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('group', { name: 'Historical' }).locator('.mx_RoomTile').getByText('Timmy') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('group', { name: 'Historical' }).locator('.mx_RoomTile').getByText('Timmy') 45 | await expect( 46 | page.getByRole("group", { name: "Historical" }).locator(".mx_RoomTile").getByText(user2.displayName), > 47 | ).toBeVisible(); | ^ 48 | 49 | // open new 1:1 chat room 50 | await page.goto(`/#/user/${user2.userId}?action=chat`); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/one-to-one-chat/one-to-one-chat.spec.ts:47:11
[Legacy Crypto] › one-to-one-chat/one-to-one-chat.spec.ts:38:5 › 1:1 chat room › should open new 1:1 chat room after leaving the old one: matrix-react-sdk/playwright/e2e/one-to-one-chat/one-to-one-chat.spec.ts#L47
2) [Legacy Crypto] › one-to-one-chat/one-to-one-chat.spec.ts:38:5 › 1:1 chat room › should open new 1:1 chat room after leaving the old one Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('group', { name: 'Historical' }).locator('.mx_RoomTile').getByText('Timmy') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('group', { name: 'Historical' }).locator('.mx_RoomTile').getByText('Timmy') 45 | await expect( 46 | page.getByRole("group", { name: "Historical" }).locator(".mx_RoomTile").getByText(user2.displayName), > 47 | ).toBeVisible(); | ^ 48 | 49 | // open new 1:1 chat room 50 | await page.goto(`/#/user/${user2.userId}?action=chat`); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/one-to-one-chat/one-to-one-chat.spec.ts:47:11
[Legacy Crypto] › one-to-one-chat/one-to-one-chat.spec.ts:38:5 › 1:1 chat room › should open new 1:1 chat room after leaving the old one: matrix-react-sdk/playwright/e2e/one-to-one-chat/one-to-one-chat.spec.ts#L47
2) [Legacy Crypto] › one-to-one-chat/one-to-one-chat.spec.ts:38:5 › 1:1 chat room › should open new 1:1 chat room after leaving the old one Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('group', { name: 'Historical' }).locator('.mx_RoomTile').getByText('Timmy') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('group', { name: 'Historical' }).locator('.mx_RoomTile').getByText('Timmy') 45 | await expect( 46 | page.getByRole("group", { name: "Historical" }).locator(".mx_RoomTile").getByText(user2.displayName), > 47 | ).toBeVisible(); | ^ 48 | 49 | // open new 1:1 chat room 50 | await page.goto(`/#/user/${user2.userId}?action=chat`); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/one-to-one-chat/one-to-one-chat.spec.ts:47:11
[Rust Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself: matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts#L231
3) [Rust Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) 229 | await expect( 230 | page.getByRole("group", { name: "Historical" }).getByRole("treeitem", { name: "Cybersecurity" }), > 231 | ).toBeVisible(); | ^ 232 | }); 233 | 234 | test("should knock into the room then knock is cancelled by another user and room is forgotten", async ({ at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts:231:11
[Rust Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself: matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts#L231
3) [Rust Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) 229 | await expect( 230 | page.getByRole("group", { name: "Historical" }).getByRole("treeitem", { name: "Cybersecurity" }), > 231 | ).toBeVisible(); | ^ 232 | }); 233 | 234 | test("should knock into the room then knock is cancelled by another user and room is forgotten", async ({ at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts:231:11
[Rust Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself: matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts#L231
3) [Rust Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('group', { name: 'Historical' }).getByRole('treeitem', { name: 'Cybersecurity' }) 229 | await expect( 230 | page.getByRole("group", { name: "Historical" }).getByRole("treeitem", { name: "Cybersecurity" }), > 231 | ).toBeVisible(); | ^ 232 | }); 233 | 234 | test("should knock into the room then knock is cancelled by another user and room is forgotten", async ({ at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/knock/knock-into-room.spec.ts:231:11
[Rust Crypto] › one-to-one-chat/one-to-one-chat.spec.ts:38:5 › 1:1 chat room › should open new 1:1 chat room after leaving the old one: matrix-react-sdk/playwright/e2e/one-to-one-chat/one-to-one-chat.spec.ts#L47
4) [Rust Crypto] › one-to-one-chat/one-to-one-chat.spec.ts:38:5 › 1:1 chat room › should open new 1:1 chat room after leaving the old one Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('group', { name: 'Historical' }).locator('.mx_RoomTile').getByText('Timmy') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('group', { name: 'Historical' }).locator('.mx_RoomTile').getByText('Timmy') 45 | await expect( 46 | page.getByRole("group", { name: "Historical" }).locator(".mx_RoomTile").getByText(user2.displayName), > 47 | ).toBeVisible(); | ^ 48 | 49 | // open new 1:1 chat room 50 | await page.goto(`/#/user/${user2.userId}?action=chat`); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/one-to-one-chat/one-to-one-chat.spec.ts:47:11
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.7m
Slow Test: [Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 6.5m
Slow Test: [Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.9m
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 failed [Legacy Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself [Legacy Crypto] › one-to-one-chat/one-to-one-chat.spec.ts:38:5 › 1:1 chat room › should open new 1:1 chat room after leaving the old one [Rust Crypto] › knock/knock-into-room.spec.ts:212:9 › Knock Into Room › should knock into the room and knock is cancelled by user himself [Rust Crypto] › one-to-one-chat/one-to-one-chat.spec.ts:38:5 › 1:1 chat room › should open new 1:1 chat room after leaving the old one 3 flaky [Legacy Crypto] › crypto/crypto.spec.ts:149:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code [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 121 skipped 654 passed (18.1m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
10.2 MB
all-blob-reports-2 Expired
596 KB
all-blob-reports-3 Expired
5.98 MB
all-blob-reports-4 Expired
1010 KB
all-blob-reports-5 Expired
7.18 MB
all-blob-reports-6 Expired
570 KB
all-blob-reports-7 Expired
5.54 MB
all-blob-reports-8 Expired
1.04 MB
html-report--attempt-1 Expired
27.4 MB