Skip to content

Use homeserver in a worker-scoped fixture #3831

Use homeserver in a worker-scoped fixture

Use homeserver in a worker-scoped fixture #3831

Triggered via pull request January 7, 2025 18:11
Status Cancelled
Total duration 10m 21s
Artifacts 6

end-to-end-tests.yaml

on: pull_request
Build Element-Web
2m 15s
Build Element-Web
Matrix: playwright
end-to-end-tests
44s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

21 errors, 20 warnings, and 4 notices
[Chrome] › room_options/marked_unread.spec.ts:22:9 › Mark as Unread › should mark a room as unread: playwright/e2e/room_options/marked_unread.spec.ts#L51
1) [Chrome] › room_options/marked_unread.spec.ts:22:9 › Mark as Unread › should mark a room as unread Error: expect(locator).toBeVisible() Locator: getByLabel('The mark unread test room Unread messages.') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByLabel('The mark unread test room Unread messages.') 49 | await page.getByRole("menuitem", { name: "Mark as unread" }).click(); 50 | > 51 | expect(page.getByLabel(TEST_ROOM_NAME + " Unread messages.")).toBeVisible(); | ^ 52 | }); 53 | }); 54 | at /home/runner/work/element-web/element-web/playwright/e2e/room_options/marked_unread.spec.ts:51:71
[Chrome] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot: playwright/element-web-test.ts#L313
2) [Chrome] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot Error: expect.toHaveScreenshot(share-dialog-room.png): Test ended. Call log: - expect.toHaveScreenshot(share-dialog-room.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByRole('dialog', { name: 'Share room' }) at ../element-web-test.ts:313 311 | 312 | const screenshotName = sanitizeFilePathBeforeExtension(name); > 313 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options); | ^ 314 | 315 | await style.evaluate((tag) => tag.remove()); 316 | at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:313:9)
[Chrome] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot: playwright/element-web-test.ts#L313
3) [Chrome] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot Error: expect.toHaveScreenshot(share-dialog-user.png): Target page, context or browser has been closed at ../element-web-test.ts:313 311 | 312 | const screenshotName = sanitizeFilePathBeforeExtension(name); > 313 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options); | ^ 314 | 315 | await style.evaluate((tag) => tag.remove()); 316 | at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:313:9)
[Chrome] › share-dialog/share-dialog.spec.ts:49:9 › Share dialog › should share an event @screenshot: playwright/element-web-test.ts#L313
4) [Chrome] › share-dialog/share-dialog.spec.ts:49:9 › Share dialog › should share an event @screenshot Error: expect.toHaveScreenshot(share-dialog-event.png): Test ended. Call log: - expect.toHaveScreenshot(share-dialog-event.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByRole('dialog', { name: 'Share Room Message' }) - locator resolved to <div role="dialog" class="mx_ShareDialog" data-focus-lock-disabled="false" aria-describedby="mx_Dialog_content" aria-labelledby="mx_BaseDialog_title">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable at ../element-web-test.ts:313 311 | 312 | const screenshotName = sanitizeFilePathBeforeExtension(name); > 313 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options); | ^ 314 | 315 | await style.evaluate((tag) => tag.remove()); 316 | at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:313:9)
[Chrome] › knock/create-knock-room.spec.ts:61:9 › Create Knock Room › should create a public knock room: playwright/e2e/knock/create-knock-room.spec.ts#L82
1) [Chrome] › knock/create-knock-room.spec.ts:61:9 › Create Knock Room › should create a public knock room Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('[role=dialog][aria-label="Search Dialog"]').locator('.mx_SpotlightDialog_section.mx_SpotlightDialog_results .mx_SpotlightDialog_option').first() Expected string: "Cybersecurity" Received string: "TTestRoom!ybPRVlgxEfKaRerqTD:localhost2 Members↵Join" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('[role=dialog][aria-label="Search Dialog"]').locator('.mx_SpotlightDialog_section.mx_SpotlightDialog_results .mx_SpotlightDialog_option').first() 7 × locator resolved to <li tabindex="-1" role="option" aria-selected="true" id="mx_SpotlightDialog_button_result_!ybPRVlgxEfKaRerqTD:localhost" aria-labelledby="mx_SpotlightDialog_button_result_!ybPRVlgxEfKaRerqTD:localhost_name" aria-details="mx_SpotlightDialog_button_result_!ybPRVlgxEfKaRerqTD:localhost_details" aria-describedby="mx_SpotlightDialog_button_result_!ybPRVlgxEfKaRerqTD:localhost_alias" class="mx_AccessibleButton mx_SpotlightDialog_result_multiline mx_SpotlightDialog_option">…</li> - unexpected value "TTestRoom!ybPRVlgxEfKaRerqTD:localhost2 Members↵Join" 80 | const spotlightDialog = await app.openSpotlight(); 81 | await spotlightDialog.filter(Filter.PublicRooms); > 82 | await expect(spotlightDialog.results.nth(0)).toContainText("Cybersecurity"); | ^ 83 | }); 84 | }); 85 | at /home/runner/work/element-web/element-web/playwright/e2e/knock/create-knock-room.spec.ts:82:54
[Chrome] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme @no-firefox @no-webkit @screenshot: playwright/e2e/audio-player/audio-player.spec.ts#L125
1) [Chrome] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme @no-firefox @no-webkit @screenshot Test timeout of 30000ms exceeded while running "beforeEach" hook. 123 | }; 124 | > 125 | test.beforeEach(async ({ page, app, user }) => { | ^ 126 | await app.client.createRoom({ name: "Test Room" }); 127 | await app.viewRoomByName("Test Room"); 128 | at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:125:10
[Chrome] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme @no-firefox @no-webkit @screenshot: playwright/pages/ElementAppPage.ts#L96
1) [Chrome] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme @no-firefox @no-webkit @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/audio-player/audio-player.spec.ts:127:19
Run Tests [Chrome] 6/6
Canceling since a higher priority waiting request for 'End to End Tests-refs/pull/28848/merge-pull_request' exists
Run Tests [Chrome] 6/6
The operation was canceled.
Run Tests [Chrome] 5/6
Canceling since a higher priority waiting request for 'End to End Tests-refs/pull/28848/merge-pull_request' exists
Run Tests [Chrome] 5/6
The operation was canceled.
Slow Test: [Chrome] › pinned-messages/pinned-messages.spec.ts#L1
[Chrome] › pinned-messages/pinned-messages.spec.ts took 57.6s
Slow Test: [Chrome] › right-panel/right-panel.spec.ts#L1
[Chrome] › right-panel/right-panel.spec.ts took 23.7s
Slow Test: [Chrome] › one-to-one-chat/one-to-one-chat.spec.ts#L1
[Chrome] › one-to-one-chat/one-to-one-chat.spec.ts took 19.6s
Slow Test: [Chrome] › right-panel/file-panel.spec.ts#L1
[Chrome] › right-panel/file-panel.spec.ts took 19.3s
Slow Test: [Chrome] › polls/polls.spec.ts#L1
[Chrome] › polls/polls.spec.ts took 18.7s
Slow Test: [Chrome] › sliding-sync/sliding-sync.spec.ts#L1
[Chrome] › sliding-sync/sliding-sync.spec.ts took 55.3s
Slow Test: [Chrome] › room/room-header.spec.ts#L1
[Chrome] › room/room-header.spec.ts took 26.6s
Slow Test: [Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 17.2s
Slow Test: [Chrome] › messages/messages.spec.ts#L1
[Chrome] › messages/messages.spec.ts took 58.5s
Slow Test: [Chrome] › crypto/invisible-crypto.spec.ts#L1
[Chrome] › crypto/invisible-crypto.spec.ts took 23.9s
Slow Test: [Chrome] › knock/knock-into-room.spec.ts#L1
[Chrome] › knock/knock-into-room.spec.ts took 19.2s
Slow Test: [Chrome] › integration-manager/kick.spec.ts#L1
[Chrome] › integration-manager/kick.spec.ts took 18.5s
Slow Test: [Chrome] › lazy-loading/lazy-loading.spec.ts#L1
[Chrome] › lazy-loading/lazy-loading.spec.ts took 15.7s
Slow Test: [Chrome] › crypto/event-shields.spec.ts#L1
[Chrome] › crypto/event-shields.spec.ts took 53.1s
Slow Test: [Chrome] › composer/RTE.spec.ts#L1
[Chrome] › composer/RTE.spec.ts took 35.5s
Slow Test: [Chrome] › crypto/crypto.spec.ts#L1
[Chrome] › crypto/crypto.spec.ts took 34.0s
Slow Test: [Chrome] › crypto/decryption-failure-messages.spec.ts#L1
[Chrome] › crypto/decryption-failure-messages.spec.ts took 28.7s
Slow Test: [Chrome] › crypto/device-verification.spec.ts#L1
[Chrome] › crypto/device-verification.spec.ts took 24.4s
Run Tests [Chrome] 6/6
No files were found with the provided path: blob-report. No artifacts will be uploaded.
Run Tests [Chrome] 5/6
No files were found with the provided path: blob-report. No artifacts will be uploaded.
🎭 Playwright Run Summary
1 skipped 35 passed (2.8m)
🎭 Playwright Run Summary
4 flaky [Chrome] › room_options/marked_unread.spec.ts:22:9 › Mark as Unread › should mark a room as unread [Chrome] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot [Chrome] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot [Chrome] › share-dialog/share-dialog.spec.ts:49:9 › Share dialog › should share an event @screenshot 1 skipped 46 passed (4.0m)
🎭 Playwright Run Summary
1 flaky [Chrome] › knock/create-knock-room.spec.ts:61:9 › Create Knock Room › should create a public knock room 1 skipped 64 passed (4.8m)
🎭 Playwright Run Summary
1 flaky [Chrome] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme @no-firefox @no-webkit @screenshot 55 passed (5.3m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-Chrome-1 Expired
4.92 MB
all-blob-reports-Chrome-2 Expired
4.49 MB
all-blob-reports-Chrome-3 Expired
117 KB
all-blob-reports-Chrome-4 Expired
11.9 MB
html-report
21.2 MB
webapp Expired
28.5 MB