Skip to content

Remove usages of Buffer so we don't need to ship the polyfill #2985

Remove usages of Buffer so we don't need to ship the polyfill

Remove usages of Buffer so we don't need to ship the polyfill #2985

Triggered via pull request December 4, 2024 11:47
Status Success
Total duration 17m 30s
Artifacts 8

end-to-end-tests.yaml

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

Annotations

4 errors, 30 warnings, and 6 notices
right-panel/right-panel.spec.ts:41:13 β€Ί RightPanel β€Ί in rooms β€Ί should handle long room address and long room name @screenshot: playwright/e2e/right-panel/right-panel.spec.ts#L51
1) right-panel/right-panel.spec.ts:41:13 β€Ί RightPanel β€Ί in rooms β€Ί should handle long room address and long room name @screenshot Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected) Locator: locator('.mx_SettingsFieldset').filter({ hasText: 'Local Addresses' }).getByText('#loremIpsumDolorSitAmetConsecteturAdipisicingElitSedDoEiusmodTemporIncididuntUtLaboreEtDoloreMagnaAliqua:localhost') Expected string: "mx_EditableItem_item" Received: <element(s) not found> Call log: - expect.toHaveClass with timeout 5000ms - waiting for locator('.mx_SettingsFieldset').filter({ hasText: 'Local Addresses' }).getByText('#loremIpsumDolorSitAmetConsecteturAdipisicingElitSedDoEiusmodTemporIncididuntUtLaboreEtDoloreMagnaAliqua:localhost') 49 | await localAddresses.getByRole("textbox").fill(ROOM_ADDRESS_LONG); 50 | await localAddresses.getByRole("button", { name: "Add" }).click(); > 51 | await expect(localAddresses.getByText(`#${ROOM_ADDRESS_LONG}:localhost`)).toHaveClass( | ^ 52 | "mx_EditableItem_item", 53 | ); 54 | at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/right-panel.spec.ts:51:87
oidc/oidc-native.spec.ts:21:9 β€Ί OIDC Native β€Ί can register the oauth2 client and an account: playwright/e2e/oidc/oidc-native.spec.ts#L1
1) oidc/oidc-native.spec.ts:21:9 β€Ί OIDC Native β€Ί can register the oauth2 client and an account ─── Test timeout of 90000ms exceeded.
oidc/oidc-native.spec.ts:21:9 β€Ί OIDC Native β€Ί can register the oauth2 client and an account: playwright/e2e/oidc/oidc-native.spec.ts#L23
1) oidc/oidc-native.spec.ts:21:9 β€Ί OIDC Native β€Ί can register the oauth2 client and an account ─── Error: page.waitForRequest: Test timeout of 90000ms exceeded. 21 | test("can register the oauth2 client and an account", async ({ context, page, homeserver, mailhog, mas }) => { 22 | const tokenUri = `http://localhost:${mas.port}/oauth2/token`; > 23 | const tokenApiPromise = page.waitForRequest( | ^ 24 | (request) => request.url() === tokenUri && request.postDataJSON()["grant_type"] === "authorization_code", 25 | ); 26 | at /home/runner/work/element-web/element-web/playwright/e2e/oidc/oidc-native.spec.ts:23:38
pinned-messages/pinned-messages.spec.ts:66:9 β€Ί Pinned messages β€Ί should unpin one message: playwright/e2e/pinned-messages/index.ts#L182
2) pinned-messages/pinned-messages.spec.ts:66:9 β€Ί Pinned messages β€Ί should unpin one message ───── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#mx_RightPanel').getByRole('heading', { name: 'Pinned messages' }) Expected string: "2 Pinned messages" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#mx_RightPanel').getByRole('heading', { name: 'Pinned messages' }) at pinned-messages/index.ts:182 180 | async assertPinnedMessagesList(messages: string[]) { 181 | const rightPanel = this.getRightPanel(); > 182 | await expect(rightPanel.getByRole("heading", { name: "Pinned messages" })).toHaveText( | ^ 183 | `${messages.length} Pinned messages`, 184 | ); 185 | at Helpers.assertPinnedMessagesList (/home/runner/work/element-web/element-web/playwright/e2e/pinned-messages/index.ts:182:84) at /home/runner/work/element-web/element-web/playwright/e2e/pinned-messages/pinned-messages.spec.ts:74:20
Slow Test: spaces/spaces.spec.ts#L1
spaces/spaces.spec.ts took 1.1m
Slow Test: settings/account-user-settings-tab.spec.ts#L1
settings/account-user-settings-tab.spec.ts took 46.4s
Slow Test: right-panel/file-panel.spec.ts#L1
right-panel/file-panel.spec.ts took 40.2s
Slow Test: settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 33.4s
Slow Test: read-receipts/room-list-order.spec.ts#L1
read-receipts/room-list-order.spec.ts took 32.0s
Slow Test: read-receipts/redactions-in-threads.spec.ts#L1
read-receipts/redactions-in-threads.spec.ts took 2.6m
Slow Test: read-receipts/redactions-main-timeline.spec.ts#L1
read-receipts/redactions-main-timeline.spec.ts took 2.1m
Slow Test: read-receipts/read-receipts.spec.ts#L1
read-receipts/read-receipts.spec.ts took 1.1m
Slow Test: read-receipts/reactions-in-threads.spec.ts#L1
read-receipts/reactions-in-threads.spec.ts took 59.9s
Slow Test: read-receipts/redactions-thread-roots.spec.ts#L1
read-receipts/redactions-thread-roots.spec.ts took 55.7s
Slow Test: timeline/timeline.spec.ts#L1
timeline/timeline.spec.ts took 2.8m
Slow Test: spotlight/spotlight.spec.ts#L1
spotlight/spotlight.spec.ts took 2.3m
Slow Test: spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.7m
Slow Test: threads/threads.spec.ts#L1
threads/threads.spec.ts took 35.5s
Slow Test: user-onboarding/user-onboarding-new.spec.ts#L1
user-onboarding/user-onboarding-new.spec.ts took 35.4s
Slow Test: read-receipts/high-level.spec.ts#L1
read-receipts/high-level.spec.ts took 3.3m
Slow Test: read-receipts/new-messages-in-threads.spec.ts#L1
read-receipts/new-messages-in-threads.spec.ts took 1.7m
Slow Test: read-receipts/editing-messages-in-threads.spec.ts#L1
read-receipts/editing-messages-in-threads.spec.ts took 1.3m
Slow Test: read-receipts/new-messages-main-timeline.spec.ts#L1
read-receipts/new-messages-main-timeline.spec.ts took 1.2m
Slow Test: read-receipts/editing-messages-main-timeline.spec.ts#L1
read-receipts/editing-messages-main-timeline.spec.ts took 1.2m
Slow Test: composer/RTE.spec.ts#L1
composer/RTE.spec.ts took 1.3m
Slow Test: audio-player/audio-player.spec.ts#L1
audio-player/audio-player.spec.ts took 1.3m
Slow Test: crypto/event-shields.spec.ts#L1
crypto/event-shields.spec.ts took 1.2m
Slow Test: crypto/crypto.spec.ts#L1
crypto/crypto.spec.ts took 1.1m
Slow Test: crypto/device-verification.spec.ts#L1
crypto/device-verification.spec.ts took 45.4s
Slow Test: messages/messages.spec.ts#L1
messages/messages.spec.ts took 2.4m
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 39.9s
Slow Test: integration-manager/read_events.spec.ts#L1
integration-manager/read_events.spec.ts took 36.6s
Slow Test: polls/polls.spec.ts#L1
polls/polls.spec.ts took 35.5s
🎭 Playwright Run Summary
1 flaky right-panel/right-panel.spec.ts:41:13 β€Ί RightPanel β€Ί in rooms β€Ί should handle long room address and long room name @screenshot 9 skipped 67 passed (9.6m)
🎭 Playwright Run Summary
15 skipped 60 passed (10.1m)
🎭 Playwright Run Summary
3 skipped 69 passed (10.2m)
🎭 Playwright Run Summary
32 skipped 50 passed (10.1m)
🎭 Playwright Run Summary
79 passed (11.8m)
🎭 Playwright Run Summary
2 flaky oidc/oidc-native.spec.ts:21:9 β€Ί OIDC Native β€Ί can register the oauth2 client and an account ──── pinned-messages/pinned-messages.spec.ts:66:9 β€Ί Pinned messages β€Ί should unpin one message ────── 1 skipped 76 passed (13.0m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
674 KB
all-blob-reports-2 Expired
8.57 MB
all-blob-reports-3 Expired
308 KB
all-blob-reports-4 Expired
327 KB
all-blob-reports-5 Expired
4.62 MB
all-blob-reports-6 Expired
773 KB
html-report Expired
14.6 MB
webapp Expired
34.1 MB