Skip to content

Add a playwright test for backup reset / deleted #3686

Add a playwright test for backup reset / deleted

Add a playwright test for backup reset / deleted #3686

Triggered via pull request January 6, 2025 15:35
Status Success
Total duration 12m 32s
Artifacts 8

end-to-end-tests.yaml

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

Annotations

11 errors, 30 warnings, and 6 notices
[Chrome] › threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit: playwright/e2e/threads/threads.spec.ts#L1
1) [Chrome] › threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit Test timeout of 30000ms exceeded.
[Chrome] › threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit: playwright/e2e/threads/threads.spec.ts#L348
1) [Chrome] › threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit Error: page.waitForTimeout: Test timeout of 30000ms exceeded. 346 | 347 | (await app.openMessageComposerOptions(true)).getByRole("menuitem", { name: "Voice Message" }).click(); > 348 | await page.waitForTimeout(3000); | ^ 349 | await app.getComposer(true).getByRole("button", { name: "Send voice message" }).click(); 350 | await expect(page.locator(".mx_ThreadView .mx_MVoiceMessageBody")).toHaveCount(1); 351 | }); at /home/runner/work/element-web/element-web/playwright/e2e/threads/threads.spec.ts:348:24
[Chrome] › widgets/layout.spec.ts:73:9 › Widget Layout › should be set properly @screenshot: playwright/e2e/widgets/layout.spec.ts#L33
2) [Chrome] › widgets/layout.spec.ts:73:9 › Widget Layout › should be set properly @screenshot ─── Test timeout of 30000ms exceeded while running "beforeEach" hook. 31 | let roomId: string; 32 | let widgetUrl: string; > 33 | test.beforeEach(async ({ webserver, app, user }) => { | ^ 34 | widgetUrl = webserver.start(WIDGET_HTML); 35 | 36 | roomId = await app.client.createRoom({ name: ROOM_NAME }); at /home/runner/work/element-web/element-web/playwright/e2e/widgets/layout.spec.ts:33:10
[Chrome] › widgets/layout.spec.ts:73:9 › Widget Layout › should be set properly @screenshot: playwright/pages/ElementAppPage.ts#L96
2) [Chrome] › widgets/layout.spec.ts:73:9 › Widget Layout › should be set properly @screenshot ─── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test Room"],[aria-label="Test Room"]').first() at ../pages/ElementAppPage.ts:96 94 | .locator(`[title="${name}"],[aria-label="${name}"]`) 95 | .first() > 96 | .click(); | ^ 97 | } 98 | 99 | public async viewRoomById(roomId: string): Promise<void> { at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:96:14) at /home/runner/work/element-web/element-web/playwright/e2e/widgets/layout.spec.ts:70:19
[Chrome] › audio-player/audio-player.spec.ts:243:9 › Audio player › should support creating a reply chain with multiple audio files @no-firefox @no-webkit @screenshot: playwright/e2e/audio-player/audio-player.spec.ts#L1
1) [Chrome] › audio-player/audio-player.spec.ts:243:9 › Audio player › should support creating a reply chain with multiple audio files @no-firefox @no-webkit @screenshot Test timeout of 30000ms exceeded.
[Chrome] › audio-player/audio-player.spec.ts:243:9 › Audio player › should support creating a reply chain with multiple audio files @no-firefox @no-webkit @screenshot: playwright/e2e/audio-player/audio-player.spec.ts#L257
1) [Chrome] › audio-player/audio-player.spec.ts:243:9 › Audio player › should support creating a reply chain with multiple audio files @no-firefox @no-webkit @screenshot Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_EventTile_last').getByRole('button', { name: 'Reply', exact: true }) 255 | const clickButtonReply = async () => { 256 | await tile.hover(); > 257 | await tile.getByRole("button", { name: "Reply", exact: true }).click(); | ^ 258 | }; 259 | 260 | await uploadFile(page, "playwright/sample-files/upload-first.ogg"); at clickButtonReply (/home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:257:80) at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:273:13
[Chrome] › settings/general-room-settings-tab.spec.ts:23:9 › General room settings tab › should be rendered properly @screenshot: playwright/e2e/settings/general-room-settings-tab.spec.ts#L18
1) [Chrome] › settings/general-room-settings-tab.spec.ts:23:9 › General room settings tab › should be rendered properly @screenshot Test timeout of 30000ms exceeded while running "beforeEach" hook. 16 | }); 17 | > 18 | test.beforeEach(async ({ user, app }) => { | ^ 19 | await app.client.createRoom({ name: roomName }); 20 | await app.viewRoomByName(roomName); 21 | }); at /home/runner/work/element-web/element-web/playwright/e2e/settings/general-room-settings-tab.spec.ts:18:10
[Chrome] › settings/general-room-settings-tab.spec.ts:23:9 › General room settings tab › should be rendered properly @screenshot: playwright/pages/ElementAppPage.ts#L96
1) [Chrome] › settings/general-room-settings-tab.spec.ts:23:9 › General room settings tab › should be rendered properly @screenshot Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test Room"],[aria-label="Test Room"]').first() at ../pages/ElementAppPage.ts:96 94 | .locator(`[title="${name}"],[aria-label="${name}"]`) 95 | .first() > 96 | .click(); | ^ 97 | } 98 | 99 | public async viewRoomById(roomId: string): Promise<void> { at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:96:14) at /home/runner/work/element-web/element-web/playwright/e2e/settings/general-room-settings-tab.spec.ts:20:19
[Chrome] › sliding-sync/sliding-sync.spec.ts:356:5 › Sliding Sync › should send unsubscribe_rooms for every room switch: playwright/e2e/sliding-sync/sliding-sync.spec.ts#L372
2) [Chrome] › sliding-sync/sliding-sync.spec.ts:356:5 › Sliding Sync › should send unsubscribe_rooms for every room switch Error: expect(received).toEqual(expected) // deep equality Expected: ["!zhmokJAPwcpDIZsFjn:localhost"] Received: undefined 370 | return; 371 | } > 372 | expect(body.unsubscribe_rooms).toEqual([unsubRoomId]); | ^ 373 | expect(body.room_subscriptions).not.toHaveProperty(unsubRoomId); 374 | expect(body.room_subscriptions).toHaveProperty(subRoomId); 375 | }; at assertUnsubExists (/home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:372:44) at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:394:9
[Chrome] › oidc/oidc-native.spec.ts:17:9 › OIDC Native › can register the oauth2 client and an account @no-firefox @no-webkit: playwright/e2e/oidc/oidc-native.spec.ts#L1
1) [Chrome] › oidc/oidc-native.spec.ts:17:9 › OIDC Native › can register the oauth2 client and an account @no-firefox @no-webkit Test timeout of 90000ms exceeded.
[Chrome] › oidc/oidc-native.spec.ts:17:9 › OIDC Native › can register the oauth2 client and an account @no-firefox @no-webkit: playwright/e2e/oidc/oidc-native.spec.ts#L19
1) [Chrome] › oidc/oidc-native.spec.ts:17:9 › OIDC Native › can register the oauth2 client and an account @no-firefox @no-webkit Error: page.waitForRequest: Test timeout of 90000ms exceeded. 17 | test("can register the oauth2 client and an account", async ({ context, page, homeserver, mailhog, mas }) => { 18 | const tokenUri = `http://localhost:${mas.port}/oauth2/token`; > 19 | const tokenApiPromise = page.waitForRequest( | ^ 20 | (request) => request.url() === tokenUri && request.postDataJSON()["grant_type"] === "authorization_code", 21 | ); 22 | at /home/runner/work/element-web/element-web/playwright/e2e/oidc/oidc-native.spec.ts:19:38
Slow Test: [Chrome] › right-panel/right-panel.spec.ts#L1
[Chrome] › right-panel/right-panel.spec.ts took 52.9s
Slow Test: [Chrome] › polls/polls.spec.ts#L1
[Chrome] › polls/polls.spec.ts took 43.6s
Slow Test: [Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 42.5s
Slow Test: [Chrome] › right-panel/file-panel.spec.ts#L1
[Chrome] › right-panel/file-panel.spec.ts took 37.0s
Slow Test: [Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 31.2s
Slow Test: [Chrome] › timeline/timeline.spec.ts#L1
[Chrome] › timeline/timeline.spec.ts took 2.6m
Slow Test: [Chrome] › user-onboarding/user-onboarding-new.spec.ts#L1
[Chrome] › user-onboarding/user-onboarding-new.spec.ts took 35.0s
Slow Test: [Chrome] › widgets/widget-pip-close.spec.ts#L1
[Chrome] › widgets/widget-pip-close.spec.ts took 21.4s
Slow Test: [Chrome] › widgets/stickers.spec.ts#L1
[Chrome] › widgets/stickers.spec.ts took 20.3s
Slow Test: [Chrome] › toasts/analytics-toast.spec.ts#L1
[Chrome] › toasts/analytics-toast.spec.ts took 17.0s
Slow Test: [Chrome] › crypto/event-shields.spec.ts#L1
[Chrome] › crypto/event-shields.spec.ts took 1.2m
Slow Test: [Chrome] › crypto/device-verification.spec.ts#L1
[Chrome] › crypto/device-verification.spec.ts took 53.9s
Slow Test: [Chrome] › integration-manager/kick.spec.ts#L1
[Chrome] › integration-manager/kick.spec.ts took 37.2s
Slow Test: [Chrome] › knock/knock-into-room.spec.ts#L1
[Chrome] › knock/knock-into-room.spec.ts took 37.0s
Slow Test: [Chrome] › editing/editing.spec.ts#L1
[Chrome] › editing/editing.spec.ts took 30.7s
Slow Test: [Chrome] › composer/RTE.spec.ts#L1
[Chrome] › composer/RTE.spec.ts took 1.2m
Slow Test: [Chrome] › crypto/crypto.spec.ts#L1
[Chrome] › crypto/crypto.spec.ts took 59.5s
Slow Test: [Chrome] › crypto/backups.spec.ts#L1
[Chrome] › crypto/backups.spec.ts took 56.2s
Slow Test: [Chrome] › crypto/decryption-failure-messages.spec.ts#L1
[Chrome] › crypto/decryption-failure-messages.spec.ts took 50.3s
Slow Test: [Chrome] › accessibility/keyboard-navigation.spec.ts#L1
[Chrome] › accessibility/keyboard-navigation.spec.ts took 30.3s
Slow Test: [Chrome] › spotlight/spotlight.spec.ts#L1
[Chrome] › spotlight/spotlight.spec.ts took 2.1m
Slow Test: [Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.5m
Slow Test: [Chrome] › spaces/spaces.spec.ts#L1
[Chrome] › spaces/spaces.spec.ts took 58.8s
Slow Test: [Chrome] › share-dialog/share-dialog.spec.ts#L1
[Chrome] › share-dialog/share-dialog.spec.ts took 20.4s
Slow Test: [Chrome] › settings/preferences-user-settings-tab.spec.ts#L1
[Chrome] › settings/preferences-user-settings-tab.spec.ts took 18.8s
Slow Test: [Chrome] › messages/messages.spec.ts#L1
[Chrome] › messages/messages.spec.ts took 2.2m
Slow Test: [Chrome] › pinned-messages/pinned-messages.spec.ts#L1
[Chrome] › pinned-messages/pinned-messages.spec.ts took 1.7m
Slow Test: [Chrome] › login/login.spec.ts#L1
[Chrome] › login/login.spec.ts took 1.0m
Slow Test: [Chrome] › lazy-loading/lazy-loading.spec.ts#L1
[Chrome] › lazy-loading/lazy-loading.spec.ts took 30.1s
Slow Test: [Chrome] › login/soft_logout.spec.ts#L1
[Chrome] › login/soft_logout.spec.ts took 24.2s
🎭 Playwright Run Summary
1 skipped 51 passed (6.6m)
🎭 Playwright Run Summary
2 flaky [Chrome] › threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit [Chrome] › widgets/layout.spec.ts:73:9 › Widget Layout › should be set properly @screenshot ──── 2 skipped 43 passed (6.9m)
🎭 Playwright Run Summary
52 passed (7.7m)
🎭 Playwright Run Summary
1 flaky [Chrome] › audio-player/audio-player.spec.ts:243:9 › Audio player › should support creating a reply chain with multiple audio files @no-firefox @no-webkit @screenshot 51 passed (7.9m)
🎭 Playwright Run Summary
2 flaky [Chrome] › settings/general-room-settings-tab.spec.ts:23:9 › General room settings tab › should be rendered properly @screenshot [Chrome] › sliding-sync/sliding-sync.spec.ts:356:5 › Sliding Sync › should send unsubscribe_rooms for every room switch 2 skipped 52 passed (8.3m)
🎭 Playwright Run Summary
1 flaky [Chrome] › oidc/oidc-native.spec.ts:17:9 › OIDC Native › can register the oauth2 client and an account @no-firefox @no-webkit 1 skipped 50 passed (8.5m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-Chrome-1 Expired
5.02 MB
all-blob-reports-Chrome-2 Expired
585 KB
all-blob-reports-Chrome-3 Expired
5.88 MB
all-blob-reports-Chrome-4 Expired
471 KB
all-blob-reports-Chrome-5 Expired
6.48 MB
all-blob-reports-Chrome-6 Expired
6.95 MB
html-report
24.8 MB
webapp Expired
28.3 MB