Skip to content

Enable react-compiler eslint to spot antipatterns #3385

Enable react-compiler eslint to spot antipatterns

Enable react-compiler eslint to spot antipatterns #3385

Triggered via pull request December 19, 2024 12:40
Status Failure
Total duration 13m 20s
Artifacts 8

end-to-end-tests.yaml

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

Annotations

16 errors, 30 warnings, and 6 notices
[Chrome] › threads/threads.spec.ts:354:9 › Threads › should send location and reply to the location on ThreadView @screenshot: playwright/e2e/threads/threads.spec.ts#L406
1) [Chrome] › threads/threads.spec.ts:354:9 › Threads › should send location and reply to the location on ThreadView @screenshot Error: expect(locator).toHaveScreenshot(expected) 9890 pixels (ratio 0.05 of all image pixels) are different. Expected: /home/runner/work/element-web/element-web/playwright/snapshots/threads/threads.spec.ts/Reply-to-the-location-on-ThreadView-linux.png Received: /home/runner/work/element-web/element-web/playwright/test-results/threads-threads-Threads-sh-e51e8--the-location-on-ThreadView-Chrome/Reply-to-the-location-on-ThreadView-actual.png Diff: /home/runner/work/element-web/element-web/playwright/test-results/threads-threads-Threads-sh-e51e8--the-location-on-ThreadView-Chrome/Reply-to-the-location-on-ThreadView-diff.png Call log: - expect.toHaveScreenshot(Reply-to-the-location-on-ThreadView.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_ThreadView') - locator resolved to <div class="mx_BaseCard mx_ThreadView mx_ThreadPanel">…</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 - 9890 pixels (ratio 0.05 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_ThreadView') - locator resolved to <div class="mx_BaseCard mx_ThreadView mx_ThreadPanel">…</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 - captured a stable screenshot - 9890 pixels (ratio 0.05 of all image pixels) are different. 404 | // Take a snapshot of reply to the shared location 405 | await page.addStyleTag({ content: css }); > 406 | await expect(page.locator(".mx_ThreadView")).toMatchScreenshot("Reply_to_the_location_on_ThreadView.png"); | ^ 407 | }, 408 | ); 409 | at /home/runner/work/element-web/element-web/playwright/e2e/threads/threads.spec.ts:406:58
[Chrome] › threads/threads.spec.ts:354:9 › Threads › should send location and reply to the location on ThreadView @screenshot: playwright/e2e/threads/threads.spec.ts#L406
1) [Chrome] › threads/threads.spec.ts:354:9 › Threads › should send location and reply to the location on ThreadView @screenshot Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) 9890 pixels (ratio 0.05 of all image pixels) are different. Expected: /home/runner/work/element-web/element-web/playwright/snapshots/threads/threads.spec.ts/Reply-to-the-location-on-ThreadView-linux.png Received: /home/runner/work/element-web/element-web/playwright/test-results/threads-threads-Threads-sh-e51e8--the-location-on-ThreadView-Chrome-retry1/Reply-to-the-location-on-ThreadView-actual.png Diff: /home/runner/work/element-web/element-web/playwright/test-results/threads-threads-Threads-sh-e51e8--the-location-on-ThreadView-Chrome-retry1/Reply-to-the-location-on-ThreadView-diff.png Call log: - expect.toHaveScreenshot(Reply-to-the-location-on-ThreadView.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_ThreadView') - locator resolved to <div class="mx_BaseCard mx_ThreadView mx_ThreadPanel">…</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 - 9890 pixels (ratio 0.05 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_ThreadView') - locator resolved to <div class="mx_BaseCard mx_ThreadView mx_ThreadPanel">…</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 - captured a stable screenshot - 9890 pixels (ratio 0.05 of all image pixels) are different. 404 | // Take a snapshot of reply to the shared location 405 | await page.addStyleTag({ content: css }); > 406 | await expect(page.locator(".mx_ThreadView")).toMatchScreenshot("Reply_to_the_location_on_ThreadView.png"); | ^ 407 | }, 408 | ); 409 | at /home/runner/work/element-web/element-web/playwright/e2e/threads/threads.spec.ts:406:58
[Chrome] › threads/threads.spec.ts:354:9 › Threads › should send location and reply to the location on ThreadView @screenshot: playwright/e2e/threads/threads.spec.ts#L406
1) [Chrome] › threads/threads.spec.ts:354:9 › Threads › should send location and reply to the location on ThreadView @screenshot Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) 9905 pixels (ratio 0.05 of all image pixels) are different. Expected: /home/runner/work/element-web/element-web/playwright/snapshots/threads/threads.spec.ts/Reply-to-the-location-on-ThreadView-linux.png Received: /home/runner/work/element-web/element-web/playwright/test-results/threads-threads-Threads-sh-e51e8--the-location-on-ThreadView-Chrome-retry2/Reply-to-the-location-on-ThreadView-actual.png Diff: /home/runner/work/element-web/element-web/playwright/test-results/threads-threads-Threads-sh-e51e8--the-location-on-ThreadView-Chrome-retry2/Reply-to-the-location-on-ThreadView-diff.png Call log: - expect.toHaveScreenshot(Reply-to-the-location-on-ThreadView.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_ThreadView') - locator resolved to <div class="mx_BaseCard mx_ThreadView mx_ThreadPanel">…</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 - 9905 pixels (ratio 0.05 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_ThreadView') - locator resolved to <div class="mx_BaseCard mx_ThreadView mx_ThreadPanel">…</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 - captured a stable screenshot - 9905 pixels (ratio 0.05 of all image pixels) are different. 404 | // Take a snapshot of reply to the shared location 405 | await page.addStyleTag({ content: css }); > 406 | await expect(page.locator(".mx_ThreadView")).toMatchScreenshot("Reply_to_the_location_on_ThreadView.png"); | ^ 407 | }, 408 | ); 409 | at /home/runner/work/element-web/element-web/playwright/e2e/threads/threads.spec.ts:406:58
Run Tests 6/6
Process completed with exit code 1.
[Chrome] › 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) [Chrome] › 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
[Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully: playwright/e2e/location/location.spec.ts#L1
1) [Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully Test timeout of 30000ms exceeded.
[Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully: playwright/e2e/location/location.spec.ts#L45
1) [Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_RoomView_body .mx_EventTile .mx_MLocationBody') - locator resolved to <div class="mx_EventTile_body mx_MLocationBody">…</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 - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> 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 - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> intercepts pointer events - retrying click action - waiting 100ms 45 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> intercepts pointer events - retrying click action - waiting 500ms - waiting for element to be visible, enabled and stable - element is not stable - retrying click action - waiting 500ms 43 | await submitShareLocation(page); 44 | > 45 | await page.locator(".mx_RoomView_body .mx_EventTile .mx_MLocationBody").click({ | ^ 46 | position: { 47 | x: 225, 48 | y: 150, at /home/runner/work/element-web/element-web/playwright/e2e/location/location.spec.ts:45:81
[Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully: playwright/e2e/location/location.spec.ts#L1
1) [Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully: playwright/e2e/location/location.spec.ts#L45
1) [Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_RoomView_body .mx_EventTile .mx_MLocationBody') - locator resolved to <div class="mx_EventTile_body mx_MLocationBody">…</div> - attempting click action - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying - locator resolved to <div class="mx_EventTile_body mx_MLocationBody">…</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 - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> 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 - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> intercepts pointer events - retrying click action - waiting 100ms 44 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> intercepts pointer events - retrying click action - waiting 500ms - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying - locator resolved to <div class="mx_EventTile_body mx_MLocationBody">…</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 - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> 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 - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> intercepts pointer events - retrying click action - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> intercepts pointer events - retrying click action - waiting 500ms 43 | await submitShareLocation(page); 44 | > 45 | await page.locator(".mx_RoomView_body .mx_EventTile .mx_MLocationBody").click({ | ^ 46 | position: { 47 | x: 225, 48 | y: 150, at /home/runner/work/element-web/element-web/playwright/e2e/location/location.spec.ts:45:81
[Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully: playwright/e2e/location/location.spec.ts#L1
1) [Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully: playwright/e2e/location/location.spec.ts#L45
1) [Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_RoomView_body .mx_EventTile .mx_MLocationBody') - locator resolved to <div class="mx_EventTile_body mx_MLocationBody">…</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 - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> 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 - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> intercepts pointer events - retrying click action - waiting 100ms 45 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> intercepts pointer events - retrying click action - waiting 500ms - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying - locator resolved to <div class="mx_EventTile_body mx_MLocationBody">…</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 - <html lang="en" data-whatinput="mouse" data-whatintent="mouse">…</html> intercepts pointer events - retrying click action - waiting 20ms - waiting for element to be visible, enabled and stable 43 | await submitShareLocation(page); 44 | > 45 | await page.locator(".mx_RoomView_body .mx_EventTile .mx_MLocationBody").click({ | ^ 46 | position: { 47 | x: 225, 48 | y: 150, at /home/runner/work/element-web/element-web/playwright/e2e/location/location.spec.ts:45:81
[Chrome] › 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
2) [Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account Test timeout of 90000ms exceeded.
[Chrome] › 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
2) [Chrome] › 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
Run Tests 3/6
Process completed with exit code 1.
end-to-end-tests
Process completed with exit code 1.
Slow Test: [Chrome] › timeline/timeline.spec.ts#L1
[Chrome] › timeline/timeline.spec.ts took 2.7m
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.8s
Slow Test: [Chrome] › widgets/stickers.spec.ts#L1
[Chrome] › widgets/stickers.spec.ts took 20.7s
Slow Test: [Chrome] › widgets/layout.spec.ts#L1
[Chrome] › widgets/layout.spec.ts took 19.4s
Slow Test: [Chrome] › spotlight/spotlight.spec.ts#L1
[Chrome] › spotlight/spotlight.spec.ts took 2.2m
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 59.6s
Slow Test: [Chrome] › sliding-sync/sliding-sync.spec.ts#L1
[Chrome] › sliding-sync/sliding-sync.spec.ts took 23.2s
Slow Test: [Chrome] › settings/general-room-settings-tab.spec.ts#L1
[Chrome] › settings/general-room-settings-tab.spec.ts took 22.2s
Slow Test: [Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 43.4s
Slow Test: [Chrome] › polls/polls.spec.ts#L1
[Chrome] › polls/polls.spec.ts took 42.2s
Slow Test: [Chrome] › right-panel/file-panel.spec.ts#L1
[Chrome] › right-panel/file-panel.spec.ts took 37.5s
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 30.9s
Slow Test: [Chrome] › room/room-header.spec.ts#L1
[Chrome] › room/room-header.spec.ts took 26.5s
Slow Test: [Chrome] › crypto/event-shields.spec.ts#L1
[Chrome] › crypto/event-shields.spec.ts took 1.4m
Slow Test: [Chrome] › knock/knock-into-room.spec.ts#L1
[Chrome] › knock/knock-into-room.spec.ts took 37.7s
Slow Test: [Chrome] › integration-manager/kick.spec.ts#L1
[Chrome] › integration-manager/kick.spec.ts took 37.3s
Slow Test: [Chrome] › editing/editing.spec.ts#L1
[Chrome] › editing/editing.spec.ts took 30.5s
Slow Test: [Chrome] › knock/manage-knocks.spec.ts#L1
[Chrome] › knock/manage-knocks.spec.ts took 28.5s
Slow Test: [Chrome] › composer/RTE.spec.ts#L1
[Chrome] › composer/RTE.spec.ts took 1.2m
Slow Test: [Chrome] › audio-player/audio-player.spec.ts#L1
[Chrome] › audio-player/audio-player.spec.ts took 1.2m
Slow Test: [Chrome] › crypto/crypto.spec.ts#L1
[Chrome] › crypto/crypto.spec.ts took 1.0m
Slow Test: [Chrome] › crypto/device-verification.spec.ts#L1
[Chrome] › crypto/device-verification.spec.ts took 44.2s
Slow Test: [Chrome] › crypto/backups.spec.ts#L1
[Chrome] › crypto/backups.spec.ts took 41.4s
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] › login/soft_logout.spec.ts#L1
[Chrome] › login/soft_logout.spec.ts took 24.2s
Slow Test: [Chrome] › oidc/oidc-aware.spec.ts#L1
[Chrome] › oidc/oidc-aware.spec.ts took 22.0s
🎭 Playwright Run Summary
1 failed [Chrome] › threads/threads.spec.ts:354:9 › Threads › should send location and reply to the location on ThreadView @screenshot 2 skipped 44 passed (6.4m)
🎭 Playwright Run Summary
10 skipped 46 passed (6.7m)
🎭 Playwright Run Summary
1 flaky [Chrome] › right-panel/right-panel.spec.ts:41:13 › RightPanel › in rooms › should handle long room address and long room name @screenshot 1 skipped 50 passed (6.8m)
🎭 Playwright Run Summary
48 passed (7.2m)
🎭 Playwright Run Summary
56 passed (7.6m)
🎭 Playwright Run Summary
1 failed [Chrome] › location/location.spec.ts:32:9 › Location sharing › sends and displays pin drop location message successfully 1 flaky [Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account 1 skipped 49 passed (10.0m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
211 KB
all-blob-reports-2 Expired
577 KB
all-blob-reports-3 Expired
15 MB
all-blob-reports-4 Expired
5.36 MB
all-blob-reports-5 Expired
402 KB
all-blob-reports-6 Expired
8.39 MB
html-report
29.4 MB
webapp Expired
29.2 MB