Skip to content

Fix edited code block width #5590

Fix edited code block width

Fix edited code block width #5590

Triggered via pull request February 28, 2025 15:53
Status Failure
Total duration 10m 48s
Artifacts 8

end-to-end-tests.yaml

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

Annotations

8 errors, 27 warnings, and 6 notices
[Chrome] › playwright/e2e/crypto/device-verification.spec.ts:121:9 › Device verification › Verify device with QR code during login @no-webkit: playwright/e2e/crypto/device-verification.spec.ts#L96
1) [Chrome] › playwright/e2e/crypto/device-verification.spec.ts:121:9 › Device verification › Verify device with QR code during login @no-webkit Error: "route.fetch: Test ended." while running route callback. Consider awaiting `await page.unrouteAll({ behavior: 'ignoreErrors' })` before the end of the test to ignore remaining routes in flight. 94 | await route.fulfill({ json: {} }); 95 | await new Promise((f) => setTimeout(f, 1000)); > 96 | await route.fetch(); | ^ 97 | }); 98 | 99 | await logIntoElement(page, credentials); at /home/runner/work/element-web/element-web/playwright/e2e/crypto/device-verification.spec.ts:96:25
[Chrome] › playwright/e2e/crypto/device-verification.spec.ts:121:9 › Device verification › Verify device with QR code during login @no-webkit: playwright/plugins/utils/api.ts#L27
1) [Chrome] › playwright/e2e/crypto/device-verification.spec.ts:121:9 › Device verification › Verify device with QR code during login @no-webkit Error: apiRequestContext.fetch: Target page, context or browser has been closed Call log: - → POST http://localhost:33189/_synapse/admin/v1/register - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.6943.16 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - content-type: application/json - content-length: 310 at ../plugins/utils/api.ts:27 25 | public async request<R extends {}>(verb: Verb, path: string, token?: string, data?: object): Promise<R> { 26 | const url = `${this.baseUrl}${path}`; > 27 | const res = await this._request.fetch(url, { | ^ 28 | data, 29 | method: verb, 30 | headers: token at Api.request (/home/runner/work/element-web/element-web/playwright/plugins/utils/api.ts:27:41) at StartedSynapseContainer.registerUserInternal (/home/runner/work/element-web/element-web/playwright/testcontainers/synapse.ts:307:42) at Object.credentials (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:162:29)
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:879:13 › Timeline › message displaying › should render a code block @screenshot: playwright/element-web-test.ts#L331
1) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:879:13 › Timeline › message displaying › should render a code block @screenshot Error: A snapshot doesn't exist at /home/runner/work/element-web/element-web/playwright/snapshots/timeline/timeline.spec.ts/code-block-linux.png, writing actual. at ../element-web-test.ts:331 329 | 330 | const screenshotName = sanitizeFilePathBeforeExtension(name); > 331 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options); | ^ 332 | 333 | await style.evaluate((tag) => tag.remove()); 334 | at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:331:9) at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:901:13
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:879:13 › Timeline › message displaying › should render a code block @screenshot: playwright/e2e/timeline/timeline.spec.ts#L909
1) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:879:13 › Timeline › message displaying › should render a code block @screenshot Error: Timed out 5000ms waiting for expect(locator).toHaveScreenshot(expected) Locator: locator('.mx_EventTile_last .mx_MTextBody .mx_EventTile_body').getByText('console.log(\'Hello, world!\')') Timeout 5000ms exceeded. Call log: - expect.toHaveScreenshot(edited-code-block.png) with timeout 5000ms - generating new stable screenshot expectation - waiting for locator('.mx_EventTile_last .mx_MTextBody .mx_EventTile_body').getByText('console.log(\'Hello, world!\')') - Timeout 5000ms exceeded. 907 | .fill("```\nconsole.log('Edited: Hello, world!');\n```"); 908 | await page.getByRole("textbox", { name: "Edit message" }).press("Enter"); > 909 | await expect(tile).toMatchScreenshot("edited-code-block.png"); | ^ 910 | }); 911 | }); 912 | at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:909:32
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:160:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot: playwright/e2e/timeline/timeline.spec.ts#L1
2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:160:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot Test timeout of 30000ms exceeded.
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:160:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot: playwright/e2e/timeline/timeline.spec.ts#L177
2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:160:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_GenericEventListSummary').getByRole('button', { name: 'Expand' }) - locator resolved to <div tabindex="0" role="button" aria-expanded="false" class="mx_AccessibleButton mx_GenericEventListSummary_toggle mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline">Expand</div> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events - retrying click action - waiting 100ms 53 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events - retrying click action - waiting 500ms 175 | const gels = page.locator(".mx_GenericEventListSummary"); 176 | // Click "expand" link button > 177 | await gels.getByRole("button", { name: "Expand" }).click(); | ^ 178 | // Assert that the "expand" link button worked 179 | await expect(gels.getByRole("button", { name: "Collapse" })).toBeVisible(); 180 | at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:177:68
Run Tests [Chrome] 5/6
Process completed with exit code 1.
end-to-end-tests
Process completed with exit code 1.
Slow Test: [Chrome] › playwright/e2e/pinned-messages/pinned-messages.spec.ts#L1
[Chrome] › playwright/e2e/pinned-messages/pinned-messages.spec.ts took 57.9s
Slow Test: [Chrome] › playwright/e2e/right-panel/right-panel.spec.ts#L1
[Chrome] › playwright/e2e/right-panel/right-panel.spec.ts took 24.2s
Slow Test: [Chrome] › playwright/e2e/right-panel/file-panel.spec.ts#L1
[Chrome] › playwright/e2e/right-panel/file-panel.spec.ts took 19.2s
Slow Test: [Chrome] › playwright/e2e/polls/polls.spec.ts#L1
[Chrome] › playwright/e2e/polls/polls.spec.ts took 18.7s
Slow Test: [Chrome] › playwright/e2e/modules/loader.spec.ts#L1
[Chrome] › playwright/e2e/modules/loader.spec.ts took 15.2s
Slow Test: [Chrome] › playwright/e2e/sliding-sync/sliding-sync.spec.ts#L1
[Chrome] › playwright/e2e/sliding-sync/sliding-sync.spec.ts took 56.2s
Slow Test: [Chrome] › playwright/e2e/room/room-header.spec.ts#L1
[Chrome] › playwright/e2e/room/room-header.spec.ts took 27.5s
Slow Test: [Chrome] › playwright/e2e/settings/encryption-user-tab/encryption-tab.spec.ts#L1
[Chrome] › playwright/e2e/settings/encryption-user-tab/encryption-tab.spec.ts took 20.0s
Slow Test: [Chrome] › playwright/e2e/settings/account-user-settings-tab.spec.ts#L1
[Chrome] › playwright/e2e/settings/account-user-settings-tab.spec.ts took 17.4s
Slow Test: [Chrome] › playwright/e2e/crypto/event-shields.spec.ts#L1
[Chrome] › playwright/e2e/crypto/event-shields.spec.ts took 54.7s
Slow Test: [Chrome] › playwright/e2e/audio-player/audio-player.spec.ts#L1
[Chrome] › playwright/e2e/audio-player/audio-player.spec.ts took 39.5s
Slow Test: [Chrome] › playwright/e2e/composer/RTE.spec.ts#L1
[Chrome] › playwright/e2e/composer/RTE.spec.ts took 36.1s
Slow Test: [Chrome] › playwright/e2e/crypto/crypto.spec.ts#L1
[Chrome] › playwright/e2e/crypto/crypto.spec.ts took 35.0s
Slow Test: [Chrome] › playwright/e2e/crypto/decryption-failure-messages.spec.ts#L1
[Chrome] › playwright/e2e/crypto/decryption-failure-messages.spec.ts took 29.5s
Slow Test: [Chrome] › playwright/e2e/messages/messages.spec.ts#L1
[Chrome] › playwright/e2e/messages/messages.spec.ts took 58.2s
Slow Test: [Chrome] › playwright/e2e/integration-manager/kick.spec.ts#L1
[Chrome] › playwright/e2e/integration-manager/kick.spec.ts took 24.2s
Slow Test: [Chrome] › playwright/e2e/crypto/invisible-crypto.spec.ts#L1
[Chrome] › playwright/e2e/crypto/invisible-crypto.spec.ts took 20.9s
Slow Test: [Chrome] › playwright/e2e/knock/knock-into-room.spec.ts#L1
[Chrome] › playwright/e2e/knock/knock-into-room.spec.ts took 19.5s
Slow Test: [Chrome] › playwright/e2e/lazy-loading/lazy-loading.spec.ts#L1
[Chrome] › playwright/e2e/lazy-loading/lazy-loading.spec.ts took 17.5s
Slow Test: [Chrome] › playwright/e2e/login/login-consent.spec.ts#L1
[Chrome] › playwright/e2e/login/login-consent.spec.ts took 1.4m
Slow Test: [Chrome] › playwright/e2e/crypto/backups-mas.spec.ts#L1
[Chrome] › playwright/e2e/crypto/backups-mas.spec.ts took 34.4s
Slow Test: [Chrome] › playwright/e2e/crypto/dehydration.spec.ts#L1
[Chrome] › playwright/e2e/crypto/dehydration.spec.ts took 22.5s
Slow Test: [Chrome] › playwright/e2e/app-loading/guest-registration.spec.ts#L1
[Chrome] › playwright/e2e/app-loading/guest-registration.spec.ts took 18.4s
Slow Test: [Chrome] › playwright/e2e/spotlight/spotlight.spec.ts#L1
[Chrome] › playwright/e2e/spotlight/spotlight.spec.ts took 2.6m
Slow Test: [Chrome] › playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
[Chrome] › playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 51.2s
Slow Test: [Chrome] › playwright/e2e/spaces/spaces.spec.ts#L1
[Chrome] › playwright/e2e/spaces/spaces.spec.ts took 45.9s
Slow Test: [Chrome] › playwright/e2e/threads/threads.spec.ts#L1
[Chrome] › playwright/e2e/threads/threads.spec.ts took 27.4s
🎭 Playwright Run Summary
1 skipped 36 passed (2.9m)
🎭 Playwright Run Summary
1 skipped 59 passed (4.1m)
🎭 Playwright Run Summary
1 flaky [Chrome] › playwright/e2e/crypto/device-verification.spec.ts:121:9 › Device verification › Verify device with QR code during login @no-webkit 56 passed (5.1m)
🎭 Playwright Run Summary
1 skipped 73 passed (5.2m)
🎭 Playwright Run Summary
44 passed (5.6m)
🎭 Playwright Run Summary
1 failed [Chrome] › playwright/e2e/timeline/timeline.spec.ts:879:13 › Timeline › message displaying › should render a code block @screenshot 1 flaky [Chrome] › playwright/e2e/timeline/timeline.spec.ts:160:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot 1 skipped 58 passed (7.1m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-Chrome-1
5.83 MB
all-blob-reports-Chrome-2
607 KB
all-blob-reports-Chrome-3
128 KB
all-blob-reports-Chrome-4
193 KB
all-blob-reports-Chrome-5
4.26 MB
all-blob-reports-Chrome-6
436 KB
html-report
10.8 MB
webapp
27.3 MB