Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Playwright test for E2E messages from deleted devices (#47) #186

Playwright test for E2E messages from deleted devices (#47)

Playwright test for E2E messages from deleted devices (#47) #186

Triggered via push September 17, 2024 18:07
Status Success
Total duration 14m 41s
Artifacts 8
Build Element-Web
2m 12s
Build Element-Web
Matrix: playwright
end-to-end-tests
30s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 30 warnings, and 6 notices
crypto/event-shields.spec.ts:262:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted: matrix-react-sdk/http:/localhost:8080/bundles/48e5366d3a064ed58d7a/771.js#L3261
1) crypto/event-shields.spec.ts:262:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted Error: jsHandle.evaluate: Error: Cannot encrypt event in unconfigured room !AFKmWixsDzFQSyTAIu:localhost at RustCrypto.encryptEvent (http://localhost:8080/bundles/48e5366d3a064ed58d7a/771.js:3261:13) at MatrixClient.encryptEventIfNeeded (http://localhost:8080/bundles/48e5366d3a064ed58d7a/init.js:9400:30) at async MatrixClient.encryptAndSendEvent (http://localhost:8080/bundles/48e5366d3a064ed58d7a/init.js:9332:9) at async <anonymous>:260:30 at RustCrypto.encryptEvent (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/48e5366d3a064ed58d7a/771.js:3261:13) at MatrixClient.encryptEventIfNeeded (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/48e5366d3a064ed58d7a/init.js:9400:30) at async MatrixClient.encryptAndSendEvent (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/48e5366d3a064ed58d7a/init.js:9332:9) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/async <anonymous>:260:30 at Bot.sendMessage (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/client.ts:125:23) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts:272:13
crypto/event-shields.spec.ts:262:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted: matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts#L295
1) crypto/event-shields.spec.ts:262:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: locator('.mx_EventTile').filter({ hasText: 'test encrypted from verified' }).locator('.mx_EventTile_e2eIcon') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for locator('.mx_EventTile').filter({ hasText: 'test encrypted from verified' }).locator('.mx_EventTile_e2eIcon') - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" - locator resolved to <div tabindex="0" class="mx_EventTile_e2eIcon mx_EventTile_e2eIcon_warning"></div> - unexpected value "visible" 293 | 294 | const penultimate = page.locator(".mx_EventTile").filter({ hasText: "test encrypted from verified" }); > 295 | await expect(penultimate.locator(".mx_EventTile_e2eIcon")).not.toBeVisible(); | ^ 296 | }); 297 | }); 298 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts:295:76
Slow Test: matrix-react-sdk/right-panel/right-panel.spec.ts#L1
matrix-react-sdk/right-panel/right-panel.spec.ts took 57.3s
Slow Test: matrix-react-sdk/spaces/spaces.spec.ts#L1
matrix-react-sdk/spaces/spaces.spec.ts took 56.9s
Slow Test: matrix-react-sdk/settings/account-user-settings-tab.spec.ts#L1
matrix-react-sdk/settings/account-user-settings-tab.spec.ts took 41.8s
Slow Test: matrix-react-sdk/right-panel/file-panel.spec.ts#L1
matrix-react-sdk/right-panel/file-panel.spec.ts took 41.3s
Slow Test: matrix-react-sdk/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
matrix-react-sdk/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 34.7s
Slow Test: matrix-react-sdk/timeline/timeline.spec.ts#L1
matrix-react-sdk/timeline/timeline.spec.ts took 2.6m
Slow Test: matrix-react-sdk/spotlight/spotlight.spec.ts#L1
matrix-react-sdk/spotlight/spotlight.spec.ts took 2.0m
Slow Test: matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.6m
Slow Test: matrix-react-sdk/threads/threads.spec.ts#L1
matrix-react-sdk/threads/threads.spec.ts took 35.0s
Slow Test: matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts#L1
matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts took 31.1s
Slow Test: matrix-react-sdk/read-receipts/high-level.spec.ts#L1
matrix-react-sdk/read-receipts/high-level.spec.ts took 3.2m
Slow Test: matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts took 1.7m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts took 1.5m
Slow Test: matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts took 1.1m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts took 1.1m
Slow Test: matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts took 2.8m
Slow Test: matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts took 2.1m
Slow Test: matrix-react-sdk/read-receipts/read-receipts.spec.ts#L1
matrix-react-sdk/read-receipts/read-receipts.spec.ts took 1.2m
Slow Test: matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts took 1.1m
Slow Test: matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts took 58.5s
Slow Test: matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.2m
Slow Test: matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.0m
Slow Test: matrix-react-sdk/crypto/crypto.spec.ts#L1
matrix-react-sdk/crypto/crypto.spec.ts took 1.0m
Slow Test: matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 44.5s
Slow Test: matrix-react-sdk/crypto/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 39.4s
Slow Test: matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 2.5m
Slow Test: matrix-react-sdk/pinned-messages/pinned-messages.spec.ts#L1
matrix-react-sdk/pinned-messages/pinned-messages.spec.ts took 1.6m
Slow Test: matrix-react-sdk/login/login.spec.ts#L1
matrix-react-sdk/login/login.spec.ts took 45.4s
Slow Test: matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 40.9s
Slow Test: matrix-react-sdk/polls/polls.spec.ts#L1
matrix-react-sdk/polls/polls.spec.ts took 38.1s
🎭 Playwright Run Summary
9 skipped 64 passed (8.9m)
🎭 Playwright Run Summary
4 skipped 67 passed (9.0m)
🎭 Playwright Run Summary
32 skipped 50 passed (9.7m)
🎭 Playwright Run Summary
15 skipped 60 passed (10.3m)
🎭 Playwright Run Summary
1 flaky crypto/event-shields.spec.ts:262:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted 1 skipped 75 passed (10.8m)
🎭 Playwright Run Summary
1 skipped 74 passed (11.0m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
4.16 MB
all-blob-reports-2 Expired
445 KB
all-blob-reports-3 Expired
504 KB
all-blob-reports-4 Expired
503 KB
all-blob-reports-5 Expired
766 KB
all-blob-reports-6 Expired
852 KB
html-report Expired
4.96 MB
webapp Expired
38.1 MB