Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add timezone to user profile #11933

Add timezone to user profile

Add timezone to user profile #11933

Triggered via pull request September 10, 2024 09:35
Status Failure
Total duration 15m 17s
Artifacts 8

end-to-end-tests.yaml

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

Annotations

9 errors, 30 warnings, and 6 notices
settings/preferences-user-settings-tab.spec.ts:34:9 β€Ί Preferences user settings tab β€Ί should be rendered properly: matrix-react-sdk/playwright/e2e/settings/preferences-user-settings-tab.spec.ts#L39
1) settings/preferences-user-settings-tab.spec.ts:34:9 β€Ί Preferences user settings tab β€Ί should be rendered properly Error: Screenshot comparison failed: 56742 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/settings/preferences-user-settings-tab.spec.ts/Preferences-user-settings-tab-should-be-rendered-properly-1-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/settings-preferences-user--463e4-should-be-rendered-properly/Preferences-user-settings--45d12--be-rendered-properly-1-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/settings-preferences-user--463e4-should-be-rendered-properly/Preferences-user-settings--45d12--be-rendered-properly-1-diff.png Call log: - expect.toHaveScreenshot(Preferences-user-settings-tab-should-be-rendered-properly-1.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_UserSettingsDialog') }) - locator resolved to <div class="mx_Dialog">…</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 - 56742 pixels (ratio 0.03 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_UserSettingsDialog') }) - locator resolved to <div class="mx_Dialog">…</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 - 56742 pixels (ratio 0.03 of all image pixels) are different. 37 | // Assert that the top heading is rendered 38 | await expect(tab.getByRole("heading", { name: "Preferences" })).toBeVisible(); > 39 | await expect(tab).toMatchScreenshot("Preferences-user-settings-tab-should-be-rendered-properly-1.png"); | ^ 40 | }); 41 | 42 | test("should be able to change the app language", async ({ uut, user }) => { at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/settings/preferences-user-settings-tab.spec.ts:39:27
settings/preferences-user-settings-tab.spec.ts:34:9 β€Ί Preferences user settings tab β€Ί should be rendered properly: matrix-react-sdk/playwright/e2e/settings/preferences-user-settings-tab.spec.ts#L39
1) settings/preferences-user-settings-tab.spec.ts:34:9 β€Ί Preferences user settings tab β€Ί should be rendered properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 56742 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/settings/preferences-user-settings-tab.spec.ts/Preferences-user-settings-tab-should-be-rendered-properly-1-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/settings-preferences-user--463e4-should-be-rendered-properly-retry1/Preferences-user-settings--45d12--be-rendered-properly-1-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/settings-preferences-user--463e4-should-be-rendered-properly-retry1/Preferences-user-settings--45d12--be-rendered-properly-1-diff.png Call log: - expect.toHaveScreenshot(Preferences-user-settings-tab-should-be-rendered-properly-1.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_UserSettingsDialog') }) - locator resolved to <div class="mx_Dialog">…</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 - 56742 pixels (ratio 0.03 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_UserSettingsDialog') }) - locator resolved to <div class="mx_Dialog">…</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 - 56742 pixels (ratio 0.03 of all image pixels) are different. 37 | // Assert that the top heading is rendered 38 | await expect(tab.getByRole("heading", { name: "Preferences" })).toBeVisible(); > 39 | await expect(tab).toMatchScreenshot("Preferences-user-settings-tab-should-be-rendered-properly-1.png"); | ^ 40 | }); 41 | 42 | test("should be able to change the app language", async ({ uut, user }) => { at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/settings/preferences-user-settings-tab.spec.ts:39:27
settings/preferences-user-settings-tab.spec.ts:34:9 β€Ί Preferences user settings tab β€Ί should be rendered properly: matrix-react-sdk/playwright/e2e/settings/preferences-user-settings-tab.spec.ts#L39
1) settings/preferences-user-settings-tab.spec.ts:34:9 β€Ί Preferences user settings tab β€Ί should be rendered properly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 56742 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/settings/preferences-user-settings-tab.spec.ts/Preferences-user-settings-tab-should-be-rendered-properly-1-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/settings-preferences-user--463e4-should-be-rendered-properly-retry2/Preferences-user-settings--45d12--be-rendered-properly-1-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/settings-preferences-user--463e4-should-be-rendered-properly-retry2/Preferences-user-settings--45d12--be-rendered-properly-1-diff.png Call log: - expect.toHaveScreenshot(Preferences-user-settings-tab-should-be-rendered-properly-1.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_UserSettingsDialog') }) - locator resolved to <div class="mx_Dialog">…</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 - 56742 pixels (ratio 0.03 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_UserSettingsDialog') }) - locator resolved to <div class="mx_Dialog">…</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 - 56742 pixels (ratio 0.03 of all image pixels) are different. 37 | // Assert that the top heading is rendered 38 | await expect(tab.getByRole("heading", { name: "Preferences" })).toBeVisible(); > 39 | await expect(tab).toMatchScreenshot("Preferences-user-settings-tab-should-be-rendered-properly-1.png"); | ^ 40 | }); 41 | 42 | test("should be able to change the app language", async ({ uut, user }) => { at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/settings/preferences-user-settings-tab.spec.ts:39:27
Run Tests 5/6
Process completed with exit code 1.
oidc/oidc-aware.spec.ts:24:9 β€Ί OIDC Aware β€Ί can register an account and manage it: matrix-react-sdk/playwright/e2e/oidc/oidc-aware.spec.ts#L30
1) oidc/oidc-aware.spec.ts:24:9 β€Ί OIDC Aware β€Ί can register an account and manage it ───────────── Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected pattern: /\/#\/home$/ Received string: "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" Call log: - expect.toHaveURL with timeout 10000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:8080/?loginToken=Tai2YfRxdp3qcmrPqz2cVgbYeKIR9P27" 28 | 29 | // Eventually, we should end up at the home screen. > 30 | await expect(page).toHaveURL(/\/#\/home$/, { timeout: 10000 }); | ^ 31 | await expect(page.getByRole("heading", { name: "Welcome alice", exact: true })).toBeVisible(); 32 | 33 | // Open settings and navigate to account management at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/oidc/oidc-aware.spec.ts:30:28
pinned-messages/pinned-messages.spec.ts:42:9 β€Ί Pinned messages β€Ί should pin messages and show them in the pinned message panel: matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts#L51
2) pinned-messages/pinned-messages.spec.ts:42:9 β€Ί Pinned messages β€Ί should pin messages and show them in the pinned message panel Error: Screenshot comparison failed: 471 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-pin-3-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-db571-in-the-pinned-message-panel/pinned-messages-list-pin-3-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-db571-in-the-pinned-message-panel/pinned-messages-list-pin-3-diff.png Call log: - expect.toHaveScreenshot(pinned-messages-list-pin-3.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - 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 - 471 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - 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 - 471 pixels (ratio 0.01 of all image pixels) are different. 49 | await util.openPinnedMessagesList(); 50 | await util.assertPinnedMessagesList(["Msg1", "Msg2", "Msg4"]); > 51 | await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-pin-3.png`); | ^ 52 | }); 53 | 54 | test("should unpin one message", async ({ page, app, room1, util }) => { at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:51:44
pinned-messages/pinned-messages.spec.ts:54:9 β€Ί Pinned messages β€Ί should unpin one message: matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts#L63
3) pinned-messages/pinned-messages.spec.ts:54:9 β€Ί Pinned messages β€Ί should unpin one message ───── Error: Screenshot comparison failed: 314 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-messages-list-unpin-2-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-unpin-2-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-d655e-es-should-unpin-one-message/pinned-messages-list-unpin-2-diff.png Call log: - expect.toHaveScreenshot(pinned-messages-list-unpin-2.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - 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 - 314 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#mx_RightPanel') - locator resolved to <aside id="mx_RightPanel" class="mx_RightPanel">…</aside> - 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 - 314 pixels (ratio 0.01 of all image pixels) are different. 61 | await util.unpinMessageFromMessageList("Msg2"); 62 | await util.assertPinnedMessagesList(["Msg1", "Msg4"]); > 63 | await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-unpin-2.png`); | ^ 64 | await util.backPinnedMessagesList(); 65 | await util.assertPinnedCountInRoomInfo(2); 66 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:63:44
end-to-end-tests
Process completed with exit code 1.
Slow Test: matrix-react-sdk/spaces/spaces.spec.ts#L1
matrix-react-sdk/spaces/spaces.spec.ts took 56.2s
Slow Test: matrix-react-sdk/right-panel/right-panel.spec.ts#L1
matrix-react-sdk/right-panel/right-panel.spec.ts took 51.0s
Slow Test: matrix-react-sdk/settings/account-user-settings-tab.spec.ts#L1
matrix-react-sdk/settings/account-user-settings-tab.spec.ts took 36.6s
Slow Test: matrix-react-sdk/right-panel/file-panel.spec.ts#L1
matrix-react-sdk/right-panel/file-panel.spec.ts took 36.3s
Slow Test: matrix-react-sdk/read-receipts/room-list-order.spec.ts#L1
matrix-react-sdk/read-receipts/room-list-order.spec.ts took 30.0s
Slow Test: matrix-react-sdk/timeline/timeline.spec.ts#L1
matrix-react-sdk/timeline/timeline.spec.ts took 2.6m
Slow Test: matrix-react-sdk/spotlight/spotlight.spec.ts#L1
matrix-react-sdk/spotlight/spotlight.spec.ts took 2.0m
Slow Test: matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.6m
Slow Test: matrix-react-sdk/threads/threads.spec.ts#L1
matrix-react-sdk/threads/threads.spec.ts took 34.5s
Slow Test: matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts#L1
matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts took 30.1s
Slow Test: matrix-react-sdk/read-receipts/high-level.spec.ts#L1
matrix-react-sdk/read-receipts/high-level.spec.ts took 3.2m
Slow Test: matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts took 1.7m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts took 1.3m
Slow Test: matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts took 1.1m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts took 1.1m
Slow Test: matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts took 2.6m
Slow Test: matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts took 1.9m
Slow Test: matrix-react-sdk/read-receipts/read-receipts.spec.ts#L1
matrix-react-sdk/read-receipts/read-receipts.spec.ts took 1.1m
Slow Test: matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts took 55.7s
Slow Test: matrix-react-sdk/read-receipts/new-messages-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-thread-roots.spec.ts took 52.3s
Slow Test: matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.2m
Slow Test: matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.1m
Slow Test: matrix-react-sdk/crypto/crypto.spec.ts#L1
matrix-react-sdk/crypto/crypto.spec.ts took 1.0m
Slow Test: matrix-react-sdk/crypto/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 51.9s
Slow Test: matrix-react-sdk/crypto/event-shields.spec.ts#L1
matrix-react-sdk/crypto/event-shields.spec.ts took 45.8s
Slow Test: matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 2.4m
Slow Test: matrix-react-sdk/login/login.spec.ts#L1
matrix-react-sdk/login/login.spec.ts took 40.0s
Slow Test: matrix-react-sdk/integration-manager/read_events.spec.ts#L1
matrix-react-sdk/integration-manager/read_events.spec.ts took 40.0s
Slow Test: matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 39.9s
Slow Test: matrix-react-sdk/polls/polls.spec.ts#L1
matrix-react-sdk/polls/polls.spec.ts took 34.7s
🎭 Playwright Run Summary
1 failed settings/preferences-user-settings-tab.spec.ts:34:9 β€Ί Preferences user settings tab β€Ί should be rendered properly 9 skipped 63 passed (8.5m)
🎭 Playwright Run Summary
4 skipped 67 passed (9.0m)
🎭 Playwright Run Summary
31 skipped 50 passed (9.4m)
🎭 Playwright Run Summary
15 skipped 60 passed (9.5m)
🎭 Playwright Run Summary
1 skipped 75 passed (10.6m)
🎭 Playwright Run Summary
3 flaky oidc/oidc-aware.spec.ts:24:9 β€Ί OIDC Aware β€Ί can register an account and manage it ────────────── pinned-messages/pinned-messages.spec.ts:42:9 β€Ί Pinned messages β€Ί should pin messages and show them in the pinned message panel pinned-messages/pinned-messages.spec.ts:54:9 β€Ί Pinned messages β€Ί should unpin one message ────── 2 skipped 71 passed (11.2m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
739 KB
all-blob-reports-2 Expired
10.8 MB
all-blob-reports-3 Expired
503 KB
all-blob-reports-4 Expired
499 KB
all-blob-reports-5 Expired
5.31 MB
all-blob-reports-6 Expired
851 KB
html-report Expired
15.6 MB
webapp Expired
37.8 MB