test: rebrand hardcoded 'Element' test expectations to 'HealthChat'

Update brand-string assertions and snapshots that asserted the upstream
'Element' brand to the HealthChat brand:
- positionFailureMessage, Map, LocationShareMenu (geolocation messages)
- SupportedBrowser, init (incompatible-browser title + snapshot)
- ElectronPlatform (device display name 'HealthChat Desktop: <os>')
- RoomView (third-party invite waiting view)
- MatrixChat soft-logout snapshot

Leaves non-brand failures untouched (e.g. MatrixChat multi-tab lockout,
extended-profile mock gaps).
This commit is contained in:
2026-06-06 11:16:10 +02:00
parent facf01beb2
commit 2fb8a2c92c
9 changed files with 21 additions and 151 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ describe("showIncompatibleBrowser", () => {
it("should match snapshot", async () => {
await showIncompatibleBrowser(jest.fn());
await screen.findByText("Element does not support this browser");
await screen.findByText("HealthChat does not support this browser");
expect(document.getElementById("matrixchat")).toMatchSnapshot();
});
});