Skip to content

Use CryptoApi.getKeyBackupInfo instead of deprecated MatrixClient.getKeyBackupVersion #2487

Use CryptoApi.getKeyBackupInfo instead of deprecated MatrixClient.getKeyBackupVersion

Use CryptoApi.getKeyBackupInfo instead of deprecated MatrixClient.getKeyBackupVersion #2487

Triggered via pull request November 18, 2024 14:26
Status Failure
Total duration 17m 51s
Artifacts 8

end-to-end-tests.yaml

on: pull_request
Build Element-Web
1m 55s
Build Element-Web
Matrix: playwright
end-to-end-tests
35s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 30 warnings, and 6 notices
settings/general-room-settings-tab.spec.ts:39:9 β€Ί General room settings tab β€Ί long address should not cause dialog to overflow: playwright/e2e/settings/general-room-settings-tab.spec.ts#L47
1) settings/general-room-settings-tab.spec.ts:39:9 β€Ί General room settings tab β€Ί long address should not cause dialog to overflow Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('.mx_Dialog').filter({ has: locator('.mx_RoomSettingsDialog') }).locator('#canonicalAlias') Expected string: "#abcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksdabcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksdabcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksdabcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksd:localhost" Received string: "" Call log: - expect.toHaveValue with timeout 5000ms - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_RoomSettingsDialog') }).locator('#canonicalAlias') - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" 45 | 46 | // 2. wait for the new setting to apply ... > 47 | await expect(settings.locator("#canonicalAlias")).toHaveValue(`#${longString}:localhost`); | ^ 48 | 49 | // 3. Check if the dialog overflows 50 | const dialogBoundingBox = await page.locator(".mx_Dialog").boundingBox(); at /home/runner/work/element-web/element-web/playwright/e2e/settings/general-room-settings-tab.spec.ts:47:59
read-receipts/redactions-in-threads.spec.ts:410:17 β€Ί Read receipts β€Ί redactions β€Ί in threads β€Ί A thread with a redacted unread is still read after restart: playwright/e2e/read-receipts/index.ts#L446
1) read-receipts/redactions-in-threads.spec.ts:410: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_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" at read-receipts/index.ts:446 444 | async assertRead(room: string | { name: string }) { 445 | const tile = this.getRoomListTile(room); > 446 | await expect(tile.locator(".mx_NotificationBadge_dot")).not.toBeVisible(); | ^ 447 | await expect(tile.locator(".mx_NotificationBadge_count")).not.toBeVisible(); 448 | } 449 | at Helpers.assertRead (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:446:69) at /home/runner/work/element-web/element-web/playwright/e2e/read-receipts/redactions-in-threads.spec.ts:440:28
crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create: playwright/e2e/crypto/backups.spec.ts#L1
1) crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create, delete and recreate a keys backup ───────────── Test timeout of 30000ms exceeded.
crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create: playwright/e2e/crypto/backups.spec.ts#L65
1) crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create, delete and recreate a keys backup ───────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_UserSettingsDialog') }).getByRole('button', { name: 'Set up', exact: true }) 63 | 64 | // Create another > 65 | await securityTab.getByRole("button", { name: "Set up", exact: true }).click(); | ^ 66 | await expect(currentDialogLocator.getByRole("heading", { name: "Security Key" })).toBeVisible(); 67 | await currentDialogLocator.getByLabel("Security Key").fill(securityKey); 68 | await currentDialogLocator.getByRole("button", { name: "Continue", exact: true }).click(); at /home/runner/work/element-web/element-web/playwright/e2e/crypto/backups.spec.ts:65:80
crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create: playwright/e2e/crypto/backups.spec.ts#L1
1) crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create, delete and recreate a keys backup ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create: playwright/e2e/crypto/backups.spec.ts#L65
1) crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create, delete and recreate a keys backup ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_UserSettingsDialog') }).getByRole('button', { name: 'Set up', exact: true }) 63 | 64 | // Create another > 65 | await securityTab.getByRole("button", { name: "Set up", exact: true }).click(); | ^ 66 | await expect(currentDialogLocator.getByRole("heading", { name: "Security Key" })).toBeVisible(); 67 | await currentDialogLocator.getByLabel("Security Key").fill(securityKey); 68 | await currentDialogLocator.getByRole("button", { name: "Continue", exact: true }).click(); at /home/runner/work/element-web/element-web/playwright/e2e/crypto/backups.spec.ts:65:80
crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create: playwright/e2e/crypto/backups.spec.ts#L1
1) crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create, delete and recreate a keys backup ───────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create: playwright/e2e/crypto/backups.spec.ts#L65
1) crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create, delete and recreate a keys backup ───────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_UserSettingsDialog') }).getByRole('button', { name: 'Set up', exact: true }) 63 | 64 | // Create another > 65 | await securityTab.getByRole("button", { name: "Set up", exact: true }).click(); | ^ 66 | await expect(currentDialogLocator.getByRole("heading", { name: "Security Key" })).toBeVisible(); 67 | await currentDialogLocator.getByLabel("Security Key").fill(securityKey); 68 | await currentDialogLocator.getByRole("button", { name: "Continue", exact: true }).click(); at /home/runner/work/element-web/element-web/playwright/e2e/crypto/backups.spec.ts:65:80
Run Tests 1/6
Process completed with exit code 1.
end-to-end-tests
Process completed with exit code 1.
Slow Test: read-receipts/high-level.spec.ts#L1
read-receipts/high-level.spec.ts took 3.4m
Slow Test: read-receipts/new-messages-in-threads.spec.ts#L1
read-receipts/new-messages-in-threads.spec.ts took 1.8m
Slow Test: read-receipts/editing-messages-in-threads.spec.ts#L1
read-receipts/editing-messages-in-threads.spec.ts took 1.4m
Slow Test: read-receipts/editing-messages-main-timeline.spec.ts#L1
read-receipts/editing-messages-main-timeline.spec.ts took 1.3m
Slow Test: read-receipts/editing-messages-thread-roots.spec.ts#L1
read-receipts/editing-messages-thread-roots.spec.ts took 58.2s
Slow Test: spaces/spaces.spec.ts#L1
spaces/spaces.spec.ts took 1.1m
Slow Test: right-panel/right-panel.spec.ts#L1
right-panel/right-panel.spec.ts took 59.6s
Slow Test: settings/account-user-settings-tab.spec.ts#L1
settings/account-user-settings-tab.spec.ts took 48.6s
Slow Test: right-panel/file-panel.spec.ts#L1
right-panel/file-panel.spec.ts took 41.8s
Slow Test: settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 34.9s
Slow Test: timeline/timeline.spec.ts#L1
timeline/timeline.spec.ts took 3.0m
Slow Test: spotlight/spotlight.spec.ts#L1
spotlight/spotlight.spec.ts took 2.4m
Slow Test: spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.9m
Slow Test: threads/threads.spec.ts#L1
threads/threads.spec.ts took 38.4s
Slow Test: user-onboarding/user-onboarding-new.spec.ts#L1
user-onboarding/user-onboarding-new.spec.ts took 36.7s
Slow Test: messages/messages.spec.ts#L1
messages/messages.spec.ts took 2.5m
Slow Test: pinned-messages/pinned-messages.spec.ts#L1
pinned-messages/pinned-messages.spec.ts took 1.8m
Slow Test: login/login.spec.ts#L1
login/login.spec.ts took 1.1m
Slow Test: knock/knock-into-room.spec.ts#L1
knock/knock-into-room.spec.ts took 41.1s
Slow Test: integration-manager/read_events.spec.ts#L1
integration-manager/read_events.spec.ts took 40.1s
Slow Test: read-receipts/redactions-main-timeline.spec.ts#L1
read-receipts/redactions-main-timeline.spec.ts took 2.2m
Slow Test: read-receipts/new-messages-main-timeline.spec.ts#L1
read-receipts/new-messages-main-timeline.spec.ts took 1.5m
Slow Test: read-receipts/read-receipts.spec.ts#L1
read-receipts/read-receipts.spec.ts took 1.2m
Slow Test: read-receipts/reactions-in-threads.spec.ts#L1
read-receipts/reactions-in-threads.spec.ts took 1.1m
Slow Test: read-receipts/redactions-thread-roots.spec.ts#L1
read-receipts/redactions-thread-roots.spec.ts took 58.9s
Slow Test: composer/RTE.spec.ts#L1
composer/RTE.spec.ts took 1.4m
Slow Test: audio-player/audio-player.spec.ts#L1
audio-player/audio-player.spec.ts took 1.3m
Slow Test: crypto/crypto.spec.ts#L1
crypto/crypto.spec.ts took 1.1m
Slow Test: crypto/event-shields.spec.ts#L1
crypto/event-shields.spec.ts took 1.1m
Slow Test: crypto/device-verification.spec.ts#L1
crypto/device-verification.spec.ts took 49.0s
🎭 Playwright Run Summary
32 skipped 42 passed (9.1m)
🎭 Playwright Run Summary
1 flaky settings/general-room-settings-tab.spec.ts:39:9 β€Ί General room settings tab β€Ί long address should not cause dialog to overflow 9 skipped 64 passed (9.7m)
🎭 Playwright Run Summary
3 skipped 69 passed (10.9m)
🎭 Playwright Run Summary
1 skipped 78 passed (11.6m)
🎭 Playwright Run Summary
1 flaky read-receipts/redactions-in-threads.spec.ts:410:17 β€Ί Read receipts β€Ί redactions β€Ί in threads β€Ί A thread with a redacted unread is still read after restart 15 skipped 67 passed (12.1m)
🎭 Playwright Run Summary
1 failed crypto/backups.spec.ts:26:9 β€Ί Backups β€Ί Create, delete and recreate a keys backup ────────────── 77 passed (13.5m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
6.29 MB
all-blob-reports-2 Expired
348 KB
all-blob-reports-3 Expired
270 KB
all-blob-reports-4 Expired
3.58 MB
all-blob-reports-5 Expired
3.53 MB
all-blob-reports-6 Expired
772 KB
html-report
13.2 MB
webapp Expired
37 MB