Skip to content

Update to React 18 #1626

Update to React 18

Update to React 18 #1626

Triggered via pull request October 17, 2024 15:43
Status Failure
Total duration 14m 29s
Artifacts 8

end-to-end-tests.yaml

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

Annotations

7 errors, 30 warnings, and 6 notices
pinned-messages/pinned-messages.spec.ts:21:9 › Pinned messages › should pin one message and to have the pinned message badge in the timeline: playwright/e2e/pinned-messages/pinned-messages.spec.ts#L32
1) pinned-messages/pinned-messages.spec.ts:21:9 › Pinned messages › should pin one message and to have the pinned message badge in the timeline Error: Screenshot comparison failed: 41 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/element-web/element-web/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-message-Msg1-linux.png Received: /home/runner/work/element-web/element-web/playwright/test-results/pinned-messages-pinned-mes-131a1-ssage-badge-in-the-timeline/pinned-message-Msg1-actual.png Diff: /home/runner/work/element-web/element-web/playwright/test-results/pinned-messages-pinned-mes-131a1-ssage-badge-in-the-timeline/pinned-message-Msg1-diff.png Call log: - expect.toHaveScreenshot(pinned-message-Msg1.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_EventTile').filter({ hasText: 'Msg1' }) - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" aria-atomic="true" data-layout="group" data-has-reply="false" data-event-id="$LKwc6ZluUh8K6KQdm_YfkJUSLMQeoHsxz2U6xbpMojs" class="mx_EventTile mx_EventTile_last mx_EventTile_lastInSection" data-scroll-tokens="$LKwc6ZluUh8K6KQdm_YfkJUSLMQeoHsxz2U6xbpMojs">…</li> - 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 - element is not stable - retrying scroll into view action, attempt #1 - waiting for element to be stable - element is not stable - retrying scroll into view action, attempt #2 - waiting 20ms - waiting for element to be stable - 41 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_EventTile').filter({ hasText: 'Msg1' }) - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" aria-atomic="true" data-layout="group" data-has-reply="false" class="mx_EventTile mx_EventTile_lastInSection" data-event-id="$LKwc6ZluUh8K6KQdm_YfkJUSLMQeoHsxz2U6xbpMojs" data-scroll-tokens="$LKwc6ZluUh8K6KQdm_YfkJUSLMQeoHsxz2U6xbpMojs">…</li> - 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 - 41 pixels (ratio 0.01 of all image pixels) are different. 30 | 31 | const tile = util.getEventTile("Msg1"); > 32 | await expect(tile).toMatchScreenshot("pinned-message-Msg1.png", { | ^ 33 | mask: [tile.locator(".mx_MessageTimestamp")], 34 | }); 35 | }); at /home/runner/work/element-web/element-web/playwright/e2e/pinned-messages/pinned-messages.spec.ts:32:28
crypto/crypto.spec.ts:97:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code: playwright/e2e/crypto/crypto.spec.ts#L120
1) crypto/crypto.spec.ts:97:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys') 118 | if (!isDeviceVerified) { 119 | const uiaDialogTitle = page.locator(".mx_InteractiveAuthDialog .mx_Dialog_title"); > 120 | await expect(uiaDialogTitle.getByText("Setting up keys")).toBeVisible(); | ^ 121 | await expect(uiaDialogTitle.getByText("Setting up keys")).not.toBeVisible(); 122 | } 123 | at /home/runner/work/element-web/element-web/playwright/e2e/crypto/crypto.spec.ts:120:79
settings/appearance-user-settings-tab/theme-choice-panel.spec.ts:70:17 › Appearance user settings tab › Theme Choice Panel › custom theme › should be able to add and remove a custom theme: playwright/e2e/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L77
1) settings/appearance-user-settings-tab/theme-choice-panel.spec.ts:70:17 › Appearance user settings tab › Theme Choice Panel › custom theme › should be able to add and remove a custom theme Error: Screenshot comparison failed: 3656 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/element-web/element-web/playwright/snapshots/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts/theme-panel-custom-theme-linux.png Received: /home/runner/work/element-web/element-web/playwright/test-results/settings-appearance-user-s-03376-d-and-remove-a-custom-theme/theme-panel-custom-theme-actual.png Diff: /home/runner/work/element-web/element-web/playwright/test-results/settings-appearance-user-s-03376-d-and-remove-a-custom-theme/theme-panel-custom-theme-diff.png Call log: - expect.toHaveScreenshot(theme-panel-custom-theme.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByTestId('themePanel') - locator resolved to <div data-testid="themePanel" class="mx_SettingsSubsection mx_SettingsSubsection_newUi">…</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 - 3656 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('themePanel') - locator resolved to <div data-testid="themePanel" class="mx_SettingsSubsection mx_SettingsSubsection_newUi">…</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 - 3656 pixels (ratio 0.02 of all image pixels) are different. 75 | 76 | await util.removeCustomTheme(); > 77 | await expect(util.getThemePanel()).toMatchScreenshot("theme-panel-custom-theme.png"); | ^ 78 | }); 79 | }); 80 | }); at /home/runner/work/element-web/element-web/playwright/e2e/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts:77:52
settings/appearance-user-settings-tab/theme-choice-panel.spec.ts:70:17 › Appearance user settings tab › Theme Choice Panel › custom theme › should be able to add and remove a custom theme: playwright/e2e/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L77
1) settings/appearance-user-settings-tab/theme-choice-panel.spec.ts:70:17 › Appearance user settings tab › Theme Choice Panel › custom theme › should be able to add and remove a custom theme Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 3656 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/element-web/element-web/playwright/snapshots/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts/theme-panel-custom-theme-linux.png Received: /home/runner/work/element-web/element-web/playwright/test-results/settings-appearance-user-s-03376-d-and-remove-a-custom-theme-retry1/theme-panel-custom-theme-actual.png Diff: /home/runner/work/element-web/element-web/playwright/test-results/settings-appearance-user-s-03376-d-and-remove-a-custom-theme-retry1/theme-panel-custom-theme-diff.png Call log: - expect.toHaveScreenshot(theme-panel-custom-theme.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByTestId('themePanel') - locator resolved to <div data-testid="themePanel" class="mx_SettingsSubsection mx_SettingsSubsection_newUi">…</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 - 3656 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('themePanel') - locator resolved to <div data-testid="themePanel" class="mx_SettingsSubsection mx_SettingsSubsection_newUi">…</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 - 3656 pixels (ratio 0.02 of all image pixels) are different. 75 | 76 | await util.removeCustomTheme(); > 77 | await expect(util.getThemePanel()).toMatchScreenshot("theme-panel-custom-theme.png"); | ^ 78 | }); 79 | }); 80 | }); at /home/runner/work/element-web/element-web/playwright/e2e/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts:77:52
settings/appearance-user-settings-tab/theme-choice-panel.spec.ts:70:17 › Appearance user settings tab › Theme Choice Panel › custom theme › should be able to add and remove a custom theme: playwright/e2e/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L77
1) settings/appearance-user-settings-tab/theme-choice-panel.spec.ts:70:17 › Appearance user settings tab › Theme Choice Panel › custom theme › should be able to add and remove a custom theme Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 3656 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/element-web/element-web/playwright/snapshots/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts/theme-panel-custom-theme-linux.png Received: /home/runner/work/element-web/element-web/playwright/test-results/settings-appearance-user-s-03376-d-and-remove-a-custom-theme-retry2/theme-panel-custom-theme-actual.png Diff: /home/runner/work/element-web/element-web/playwright/test-results/settings-appearance-user-s-03376-d-and-remove-a-custom-theme-retry2/theme-panel-custom-theme-diff.png Call log: - expect.toHaveScreenshot(theme-panel-custom-theme.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByTestId('themePanel') - locator resolved to <div data-testid="themePanel" class="mx_SettingsSubsection mx_SettingsSubsection_newUi">…</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 - 3656 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('themePanel') - locator resolved to <div data-testid="themePanel" class="mx_SettingsSubsection mx_SettingsSubsection_newUi">…</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 - 3656 pixels (ratio 0.02 of all image pixels) are different. 75 | 76 | await util.removeCustomTheme(); > 77 | await expect(util.getThemePanel()).toMatchScreenshot("theme-panel-custom-theme.png"); | ^ 78 | }); 79 | }); 80 | }); at /home/runner/work/element-web/element-web/playwright/e2e/settings/appearance-user-settings-tab/theme-choice-panel.spec.ts:77:52
Run Tests 5/6
Process completed with exit code 1.
end-to-end-tests
Process completed with exit code 1.
Slow Test: read-receipts/high-level.spec.ts#L1
read-receipts/high-level.spec.ts took 3.4m
Slow Test: read-receipts/new-messages-in-threads.spec.ts#L1
read-receipts/new-messages-in-threads.spec.ts took 1.8m
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/editing-messages-main-timeline.spec.ts#L1
read-receipts/editing-messages-main-timeline.spec.ts took 1.1m
Slow Test: read-receipts/editing-messages-thread-roots.spec.ts#L1
read-receipts/editing-messages-thread-roots.spec.ts took 52.6s
Slow Test: timeline/timeline.spec.ts#L1
timeline/timeline.spec.ts took 2.9m
Slow Test: spotlight/spotlight.spec.ts#L1
spotlight/spotlight.spec.ts took 2.1m
Slow Test: spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.8m
Slow Test: threads/threads.spec.ts#L1
threads/threads.spec.ts took 38.9s
Slow Test: user-onboarding/user-onboarding-new.spec.ts#L1
user-onboarding/user-onboarding-new.spec.ts took 32.5s
Slow Test: messages/messages.spec.ts#L1
messages/messages.spec.ts took 2.1m
Slow Test: login/login.spec.ts#L1
login/login.spec.ts took 57.8s
Slow Test: integration-manager/read_events.spec.ts#L1
integration-manager/read_events.spec.ts took 42.5s
Slow Test: knock/knock-into-room.spec.ts#L1
knock/knock-into-room.spec.ts took 37.6s
Slow Test: polls/polls.spec.ts#L1
polls/polls.spec.ts took 35.6s
Slow Test: audio-player/audio-player.spec.ts#L1
audio-player/audio-player.spec.ts took 1.2m
Slow Test: composer/RTE.spec.ts#L1
composer/RTE.spec.ts took 1.0m
Slow Test: crypto/event-shields.spec.ts#L1
crypto/event-shields.spec.ts took 58.5s
Slow Test: crypto/device-verification.spec.ts#L1
crypto/device-verification.spec.ts took 43.8s
Slow Test: crypto/decryption-failure-messages.spec.ts#L1
crypto/decryption-failure-messages.spec.ts took 38.4s
Slow Test: read-receipts/redactions-in-threads.spec.ts#L1
read-receipts/redactions-in-threads.spec.ts took 2.8m
Slow Test: read-receipts/redactions-main-timeline.spec.ts#L1
read-receipts/redactions-main-timeline.spec.ts took 2.2m
Slow Test: read-receipts/new-messages-main-timeline.spec.ts#L1
read-receipts/new-messages-main-timeline.spec.ts took 1.5m
Slow Test: read-receipts/read-receipts.spec.ts#L1
read-receipts/read-receipts.spec.ts took 1.2m
Slow Test: read-receipts/reactions-in-threads.spec.ts#L1
read-receipts/reactions-in-threads.spec.ts took 1.1m
Slow Test: read-receipts/redactions-thread-roots.spec.ts#L1
read-receipts/redactions-thread-roots.spec.ts took 1.2m
Slow Test: spaces/spaces.spec.ts#L1
spaces/spaces.spec.ts took 1.1m
Slow Test: right-panel/right-panel.spec.ts#L1
right-panel/right-panel.spec.ts took 58.7s
Slow Test: right-panel/file-panel.spec.ts#L1
right-panel/file-panel.spec.ts took 41.8s
Slow Test: settings/account-user-settings-tab.spec.ts#L1
settings/account-user-settings-tab.spec.ts took 41.4s
🎭 Playwright Run Summary
32 skipped 42 passed (8.7m)
🎭 Playwright Run Summary
4 skipped 67 passed (10.0m)
🎭 Playwright Run Summary
1 flaky pinned-messages/pinned-messages.spec.ts:21:9 › Pinned messages › should pin one message and to have the pinned message badge in the timeline 1 skipped 77 passed (10.6m)
🎭 Playwright Run Summary
1 flaky crypto/crypto.spec.ts:97:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code 1 skipped 76 passed (10.8m)
🎭 Playwright Run Summary
14 skipped 62 passed (10.8m)
🎭 Playwright Run Summary
1 failed settings/appearance-user-settings-tab/theme-choice-panel.spec.ts:70:17 › Appearance user settings tab › Theme Choice Panel › custom theme › should be able to add and remove a custom theme 10 skipped 69 passed (10.6m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
3.54 MB
all-blob-reports-2 Expired
2.62 MB
all-blob-reports-3 Expired
270 KB
all-blob-reports-4 Expired
331 KB
all-blob-reports-5 Expired
4.28 MB
all-blob-reports-6 Expired
764 KB
html-report Expired
10.1 MB
webapp Expired
37 MB