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

Triggered via workflow run December 18, 2023 06:16
@MidhunSureshRMidhunSureshR
completed 7508e62
Status Failure
Total duration 1h 18m 7s
Artifacts 2

end-to-end-tests.yaml

on: workflow_run
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors, 5 warnings, and 1 notice
Run Tests 4/8
The process '/usr/bin/xvfb-run' failed with exit code 1
Run Tests 8/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
Run Tests 5/8
The process '/usr/bin/xvfb-run' failed with exit code 1
Run Tests 2/8
The process '/usr/bin/xvfb-run' failed with exit code 1
Run Tests 6/8
The process '/usr/bin/xvfb-run' failed with exit code 1
Run Tests 3/8
The process '/usr/bin/xvfb-run' failed with exit code 1
Run Tests 7/8
The process '/usr/bin/xvfb-run' failed with exit code 1
[Legacy Crypto] › crypto/crypto.spec.ts:313:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L367
1) [Legacy Crypto] › crypto/crypto.spec.ts:313:13 › Cryptography › event shields › should show the correct shield on e2e events Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('.mx_EventTile_last') Expected string: "test encrypted 1" Received string: "06:22B" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('.mx_EventTile_last') - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22test unencryptedB" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22test unencryptedB" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" 365 | const lastTile = page.locator(".mx_EventTile_last"); 366 | const lastTileE2eIcon = lastTile.locator(".mx_EventTile_e2eIcon"); > 367 | await expect(lastTile).toContainText("test encrypted 1"); | ^ 368 | // no e2e icon 369 | await expect(lastTileE2eIcon).not.toBeVisible(); 370 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:367:36
[Legacy Crypto] › crypto/crypto.spec.ts:313:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L367
1) [Legacy Crypto] › crypto/crypto.spec.ts:313:13 › Cryptography › event shields › should show the correct shield on e2e events Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('.mx_EventTile_last') Expected string: "test encrypted 1" Received string: "06:22B" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('.mx_EventTile_last') - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22test unencryptedB" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22test unencryptedB" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" 365 | const lastTile = page.locator(".mx_EventTile_last"); 366 | const lastTileE2eIcon = lastTile.locator(".mx_EventTile_e2eIcon"); > 367 | await expect(lastTile).toContainText("test encrypted 1"); | ^ 368 | // no e2e icon 369 | await expect(lastTileE2eIcon).not.toBeVisible(); 370 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:367:36
[Legacy Crypto] › crypto/crypto.spec.ts:313:13 › Cryptography › event shields › should show the correct shield on e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L367
1) [Legacy Crypto] › crypto/crypto.spec.ts:313:13 › Cryptography › event shields › should show the correct shield on e2e events Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('.mx_EventTile_last') Expected string: "test encrypted 1" Received string: "06:22B" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('.mx_EventTile_last') - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22test unencryptedB" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22test unencryptedB" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li> - unexpected value "06:22B" 365 | const lastTile = page.locator(".mx_EventTile_last"); 366 | const lastTileE2eIcon = lastTile.locator(".mx_EventTile_e2eIcon"); > 367 | await expect(lastTile).toContainText("test encrypted 1"); | ^ 368 | // no e2e icon 369 | await expect(lastTileE2eIcon).not.toBeVisible(); 370 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:367:36
[Legacy Crypto] › crypto/crypto.spec.ts:468:13 › Cryptography › event shields › should show the correct shield on edited e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L505
2) [Legacy Crypto] › crypto/crypto.spec.ts:468:13 › Cryptography › event shields › should show the correct shield on edited e2e events Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.mx_EventTile').filter({ hasText: 'Haa!' }).locator('.mx_EventTile_e2eIcon_warning') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.mx_EventTile').filter({ hasText: 'Haa!' }).locator('.mx_EventTile_e2eIcon_warning') 503 | await expect( 504 | page.locator(".mx_EventTile", { hasText: "Haa!" }).locator(".mx_EventTile_e2eIcon_warning"), > 505 | ).toBeVisible(); | ^ 506 | 507 | // a second edit from the verified device should be ok 508 | await bob.sendMessage(testRoomId, { at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:505:15
[Legacy Crypto] › crypto/crypto.spec.ts:468:13 › Cryptography › event shields › should show the correct shield on edited e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L505
2) [Legacy Crypto] › crypto/crypto.spec.ts:468:13 › Cryptography › event shields › should show the correct shield on edited e2e events Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.mx_EventTile').filter({ hasText: 'Haa!' }).locator('.mx_EventTile_e2eIcon_warning') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.mx_EventTile').filter({ hasText: 'Haa!' }).locator('.mx_EventTile_e2eIcon_warning') 503 | await expect( 504 | page.locator(".mx_EventTile", { hasText: "Haa!" }).locator(".mx_EventTile_e2eIcon_warning"), > 505 | ).toBeVisible(); | ^ 506 | 507 | // a second edit from the verified device should be ok 508 | await bob.sendMessage(testRoomId, { at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:505:15
[Legacy Crypto] › crypto/crypto.spec.ts:468:13 › Cryptography › event shields › should show the correct shield on edited e2e events: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L505
2) [Legacy Crypto] › crypto/crypto.spec.ts:468:13 › Cryptography › event shields › should show the correct shield on edited e2e events Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.mx_EventTile').filter({ hasText: 'Haa!' }).locator('.mx_EventTile_e2eIcon_warning') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.mx_EventTile').filter({ hasText: 'Haa!' }).locator('.mx_EventTile_e2eIcon_warning') 503 | await expect( 504 | page.locator(".mx_EventTile", { hasText: "Haa!" }).locator(".mx_EventTile_e2eIcon_warning"), > 505 | ).toBeVisible(); | ^ 506 | 507 | // a second edit from the verified device should be ok 508 | await bob.sendMessage(testRoomId, { at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:505:15
[Legacy Crypto] › editing/editing.spec.ts:304:9 › Editing › should correctly display events which are edited: matrix-react-sdk/playwright/e2e/editing/editing.spec.ts#L326
3) [Legacy Crypto] › editing/editing.spec.ts:304:9 › Editing › should correctly display events which are edited, where we lack the edit event TypeError: Cannot destructure property 'event_id' of '(intermediate value)' as it is undefined. 324 | const testRoomId = await bob.createRoom({ name: "TestRoom", visibility: "public" as Visibility }); 325 | > 326 | const { event_id: originalEventId } = await bob.sendMessage(testRoomId, { | ^ 327 | body: "original", 328 | msgtype: "m.text", 329 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/editing/editing.spec.ts:326:27
[Legacy Crypto] › editing/editing.spec.ts:304:9 › Editing › should correctly display events which are edited: matrix-react-sdk/playwright/e2e/editing/editing.spec.ts#L326
3) [Legacy Crypto] › editing/editing.spec.ts:304:9 › Editing › should correctly display events which are edited, where we lack the edit event Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot destructure property 'event_id' of '(intermediate value)' as it is undefined. 324 | const testRoomId = await bob.createRoom({ name: "TestRoom", visibility: "public" as Visibility }); 325 | > 326 | const { event_id: originalEventId } = await bob.sendMessage(testRoomId, { | ^ 327 | body: "original", 328 | msgtype: "m.text", 329 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/editing/editing.spec.ts:326:27
[Legacy Crypto] › editing/editing.spec.ts:304:9 › Editing › should correctly display events which are edited: matrix-react-sdk/playwright/e2e/editing/editing.spec.ts#L326
3) [Legacy Crypto] › editing/editing.spec.ts:304:9 › Editing › should correctly display events which are edited, where we lack the edit event Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot destructure property 'event_id' of '(intermediate value)' as it is undefined. 324 | const testRoomId = await bob.createRoom({ name: "TestRoom", visibility: "public" as Visibility }); 325 | > 326 | const { event_id: originalEventId } = await bob.sendMessage(testRoomId, { | ^ 327 | body: "original", 328 | msgtype: "m.text", 329 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/editing/editing.spec.ts:326:27
[Legacy Crypto] › permalinks/permalinks.spec.ts:35:9 › permalinks › shoud render permalinks as expected: matrix-react-sdk/http:/localhost:8080/bundles/24d41e66e508bebe4122/bundle.js#L8949
4) [Legacy Crypto] › permalinks/permalinks.spec.ts:35:9 › permalinks › shoud render permalinks as expected Error: jsHandle.evaluate: Error: Event blocked by other events not yet sent at MatrixClient.sendCompleteEvent (http://localhost:8080/bundles/24d41e66e508bebe4122/bundle.js:8949:29) at MatrixClient.sendEvent (http://localhost:8080/bundles/24d41e66e508bebe4122/bundle.js:8890:17) at MatrixClient.sendMessage (http://localhost:8080/bundles/24d41e66e508bebe4122/bundle.js:9159:17) at eval (eval at evaluate (:226:30), <anonymous>:6:21) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at MatrixClient.sendCompleteEvent (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/24d41e66e508bebe4122/bundle.js:8949:29) at MatrixClient.sendEvent (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/24d41e66e508bebe4122/bundle.js:8890:17) at MatrixClient.sendMessage (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/24d41e66e508bebe4122/bundle.js:9159:17) at eval (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/eval at evaluate (:226:30), <anonymous>:6:21) at UtilityScript.evaluate (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/<anonymous>:1:44) at Client.sendMessage (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/client.ts:122:23) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/permalinks/permalinks.spec.ts:54:9
Slow Test: [Rust Crypto] › read-receipts/redactions.spec.ts#L1
[Rust Crypto] › read-receipts/redactions.spec.ts took 39.4m
Slow Test: [Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 38.9m
Slow Test: [Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 28.6m
Slow Test: [Legacy Crypto] › read-receipts/new-messages.spec.ts#L1
[Legacy Crypto] › read-receipts/new-messages.spec.ts took 28.4m
Slow Test: [Rust Crypto] › read-receipts/editing-messages.spec.ts#L1
[Rust Crypto] › read-receipts/editing-messages.spec.ts took 28.2m
🎭 Playwright Run Summary
228 failed [Legacy Crypto] › crypto/crypto.spec.ts:313:13 › Cryptography › event shields › should show the correct shield on e2e events [Legacy Crypto] › crypto/crypto.spec.ts:468:13 › Cryptography › event shields › should show the correct shield on edited e2e events [Legacy Crypto] › editing/editing.spec.ts:304:9 › Editing › should correctly display events which are edited, where we lack the edit event [Legacy Crypto] › permalinks/permalinks.spec.ts:35:9 › permalinks › shoud render permalinks as expected [Legacy Crypto] › read-receipts/editing-messages.spec.ts:24:17 › Read receipts › editing messages › in the main timeline › Editing a message leaves a room read [Legacy Crypto] › read-receipts/editing-messages.spec.ts:40:17 › Read receipts › editing messages › in the main timeline › Reading an edit leaves the room read [Legacy Crypto] › read-receipts/editing-messages.spec.ts:61:17 › Read receipts › editing messages › in the main timeline › Editing a message after marking as read leaves the room read [Legacy Crypto] › read-receipts/editing-messages.spec.ts:80:17 › Read receipts › editing messages › in the main timeline › Editing a reply after reading it makes the room unread [Legacy Crypto] › read-receipts/editing-messages.spec.ts:100:17 › Read receipts › editing messages › in the main timeline › Editing a reply after marking as read makes the room unread [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] › read-receipts/editing-messages.spec.ts:142:17 › Read receipts › editing messages › in the main timeline › An edited message becomes read if it happens while I am looking [Legacy Crypto] › read-receipts/editing-messages.spec.ts:159:17 › Read receipts › editing messages › in the main timeline › A room where all edits are read is still read after restart [Legacy Crypto] › read-receipts/editing-messages.spec.ts:181:17 › Read receipts › editing messages › in threads › An edit of a threaded message makes the room unread [Legacy Crypto] › read-receipts/editing-messages.spec.ts:205:17 › Read receipts › editing messages › in threads › Reading an edit of a threaded message makes the room read [Legacy Crypto] › read-receipts/editing-messages.spec.ts:231:17 › Read receipts › editing messages › in threads › Marking a room as read after an edit in a thread makes it read [Legacy Crypto] › read-receipts/editing-messages.spec.ts:252:17 › Read receipts › editing messages › in threads › Editing a thread message after marking as read leaves the room read [Legacy Crypto] › read-receipts/editing-messages.spec.ts:271:17 › Read receipts › editing messages › in threads › A room with an edited threaded message is still read after restart [Legacy Crypto] › read-receipts/editing-messages.spec.ts:290:17 › Read receipts › editing messages › in threads › A room where all threaded edits are read is still read after restart [Legacy Crypto] › read-receipts/editing-messages.spec.ts:312:17 › Read receipts › editing messages › in threads › A room where all threaded edits are marked as read is still read after restart [Legacy Crypto] › read-receipts/editing-messages.spec.ts:337:17 › Read receipts › editing messages › thread roots › An edit of a thread root leaves the room read [Legacy Crypto] › read-receipts/editing-messages.spec.ts:364:17 › Read receipts › editing messages › thread roots › Reading an edit of a thread root leaves the room read [Legacy Crypto] › read-receipts/editing-messages.spec.ts:389:17 › Read receipts › editing messages › thread roots › Editing a thread root after reading leaves the room read [Legacy Crypto] › read-receipts/editing-messages.spec.ts:408:17 › Read receipts › editing messages › thread roots › Marking a room as read after an edit of a thread root keeps it read [Legacy Crypto] › read-receipts/editing-messages.spec.ts:434:17 › Read receipts › editing messages › thread roo

Artifacts

Produced during runtime
Name Size
all-blob-reports Expired
1.06 GB
html-report--attempt-1 Expired
2.38 GB