From acdbc4b63dd54bde496d37e38e21365c39634f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl?= Date: Sat, 6 Jun 2026 10:47:56 +0200 Subject: [PATCH] test: regenerate snapshots for HealthChat branding after rebase Re-baselined against rebased code: HealthChat brand string, PNG auth-header logo, hidden Security item in the user menu, restructured settings dialog tabs. --- .../__snapshots__/ErrorView-test.tsx.snap | 144 +----------------- .../__snapshots__/MatrixChat-test.tsx.snap | 2 +- .../UserSettingsDialog-test.tsx.snap | 123 +-------------- .../RoomPreviewBar-test.tsx.snap | 2 +- .../EventIndexPanel-test.tsx.snap | 6 +- .../LoginWithQRFlow-test.tsx.snap | 2 +- .../AppearanceUserSettingsTab-test.tsx.snap | 41 ++--- .../SecurityUserSettingsTab-test.tsx.snap | 4 +- .../__snapshots__/HTMLExport-test.ts.snap | 2 +- .../UserMenuViewModel-test.ts.snap | 2 +- 10 files changed, 39 insertions(+), 289 deletions(-) diff --git a/apps/web/test/unit-tests/async-components/structures/__snapshots__/ErrorView-test.tsx.snap b/apps/web/test/unit-tests/async-components/structures/__snapshots__/ErrorView-test.tsx.snap index 8fc4a6dc59..13fa5544f5 100644 --- a/apps/web/test/unit-tests/async-components/structures/__snapshots__/ErrorView-test.tsx.snap +++ b/apps/web/test/unit-tests/async-components/structures/__snapshots__/ErrorView-test.tsx.snap @@ -6,7 +6,7 @@ exports[` should match snapshot 1`] = ` class="mx_ErrorView cpd-theme-light" > should match snapshot 1`] = ` class="mx_ErrorView cpd-theme-light" > should match snapshot 1`] = `

- Element does not support this browser + HealthChat does not support this browser

- Element uses some browser features which are not available in your current browser. Try updating this browser if you're not using the latest version and try again. + HealthChat uses some browser features which are not available in your current browser. Try updating this browser if you're not using the latest version and try again.

should match snapshot 1`] = `

- Use Element Desktop instead -

- -

- Or use our mobile app + Use HealthChat on mobile instead

diff --git a/apps/web/test/unit-tests/components/structures/__snapshots__/MatrixChat-test.tsx.snap b/apps/web/test/unit-tests/components/structures/__snapshots__/MatrixChat-test.tsx.snap index 80f5c9116c..0cdb605a9c 100644 --- a/apps/web/test/unit-tests/components/structures/__snapshots__/MatrixChat-test.tsx.snap +++ b/apps/web/test/unit-tests/components/structures/__snapshots__/MatrixChat-test.tsx.snap @@ -327,7 +327,7 @@ exports[` with a soft-logged-out session should show the soft-logo > Element
renders tabs correctly 1`] = ` NodeList [ - , , - ,
  • , - , - , ] `; diff --git a/apps/web/test/unit-tests/components/views/rooms/__snapshots__/RoomPreviewBar-test.tsx.snap b/apps/web/test/unit-tests/components/views/rooms/__snapshots__/RoomPreviewBar-test.tsx.snap index a7db2af81a..4019cb5f72 100644 --- a/apps/web/test/unit-tests/components/views/rooms/__snapshots__/RoomPreviewBar-test.tsx.snap +++ b/apps/web/test/unit-tests/components/views/rooms/__snapshots__/RoomPreviewBar-test.tsx.snap @@ -260,7 +260,7 @@ exports[` with an invite with an invited email when client has This invite to RoomPreviewBar-test-room was sent to test@test.com

    - Share this email in Settings to receive invites directly in Element. + Share this email in Settings to receive invites directly in HealthChat.

    `; diff --git a/apps/web/test/unit-tests/components/views/settings/__snapshots__/EventIndexPanel-test.tsx.snap b/apps/web/test/unit-tests/components/views/settings/__snapshots__/EventIndexPanel-test.tsx.snap index 04a0ae30d1..6fad1c4b19 100644 --- a/apps/web/test/unit-tests/components/views/settings/__snapshots__/EventIndexPanel-test.tsx.snap +++ b/apps/web/test/unit-tests/components/views/settings/__snapshots__/EventIndexPanel-test.tsx.snap @@ -23,14 +23,14 @@ exports[` when event indexing is not supported renders link t class="mx_SettingsSubsection_text" > - Element can't securely cache encrypted messages locally while running in a web browser. Use + HealthChat can't securely cache encrypted messages locally while running in a web browser. Use - Element Desktop + HealthChat Desktop when event indexing is supported but not installed class="mx_SettingsSubsection_text" > - Element is missing some components required for securely caching encrypted messages locally. If you'd like to experiment with this feature, build a custom Element Desktop with + HealthChat is missing some components required for securely caching encrypted messages locally. If you'd like to experiment with this feature, build a custom HealthChat Desktop with renders spinner whilst QR generating 1`] = `
    1. - Open Element on your other device + Open HealthChat on your other device
    2. diff --git a/apps/web/test/unit-tests/components/views/settings/tabs/user/__snapshots__/AppearanceUserSettingsTab-test.tsx.snap b/apps/web/test/unit-tests/components/views/settings/tabs/user/__snapshots__/AppearanceUserSettingsTab-test.tsx.snap index 8b1fed3428..9d0d460e45 100644 --- a/apps/web/test/unit-tests/components/views/settings/tabs/user/__snapshots__/AppearanceUserSettingsTab-test.tsx.snap +++ b/apps/web/test/unit-tests/components/views/settings/tabs/user/__snapshots__/AppearanceUserSettingsTab-test.tsx.snap @@ -46,7 +46,7 @@ exports[`AppearanceUserSettingsTab should render 1`] = ` @@ -80,7 +80,7 @@ exports[`AppearanceUserSettingsTab should render 1`] = ` @@ -114,7 +114,7 @@ exports[`AppearanceUserSettingsTab should render 1`] = ` @@ -170,7 +170,7 @@ exports[`AppearanceUserSettingsTab should render 1`] = `
      Modern layout must be selected to use this feature. diff --git a/apps/web/test/unit-tests/components/views/settings/tabs/user/__snapshots__/SecurityUserSettingsTab-test.tsx.snap b/apps/web/test/unit-tests/components/views/settings/tabs/user/__snapshots__/SecurityUserSettingsTab-test.tsx.snap index edab15ae0b..a50093ba07 100644 --- a/apps/web/test/unit-tests/components/views/settings/tabs/user/__snapshots__/SecurityUserSettingsTab-test.tsx.snap +++ b/apps/web/test/unit-tests/components/views/settings/tabs/user/__snapshots__/SecurityUserSettingsTab-test.tsx.snap @@ -137,14 +137,14 @@ exports[` renders security section 1`] = ` class="mx_SettingsSubsection_text" > - Element can't securely cache encrypted messages locally while running in a web browser. Use + HealthChat can't securely cache encrypted messages locally while running in a web browser. Use - Element Desktop + HealthChat Desktop " `; -exports[`HTMLExport should have an SDK-branded destination file name 1`] = `"Element - My Test Room Welcome - Chat Export - 2022-11-17T16-58-32.517Z.zip"`; +exports[`HTMLExport should have an SDK-branded destination file name 1`] = `"HealthChat - My Test Room Welcome - Chat Export - 2022-11-17T16-58-32.517Z.zip"`; exports[`HTMLExport should have an SDK-branded destination file name 2`] = `"BrandedChatWithSlashesForFun - My Test Room Welcome - Chat Export - 2022-11-17T16-58-32.517Z.zip"`; diff --git a/apps/web/test/viewmodels/menus/__snapshots__/UserMenuViewModel-test.ts.snap b/apps/web/test/viewmodels/menus/__snapshots__/UserMenuViewModel-test.ts.snap index 928f7ce97e..e8dbaee516 100644 --- a/apps/web/test/viewmodels/menus/__snapshots__/UserMenuViewModel-test.ts.snap +++ b/apps/web/test/viewmodels/menus/__snapshots__/UserMenuViewModel-test.ts.snap @@ -28,7 +28,7 @@ exports[`UserMenuViewModel should generate a menu options for a logged in client "linkNewDevice": true, "openFeedback": false, "openHomePage": false, - "openSecurity": true, + "openSecurity": false, "openSettings": true, "signIn": false, },