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
@@ -826,10 +826,10 @@ describe("RoomView", () => {
});
it("should render the »waiting for third-party« view", () => {
expect(screen.getByText("Waiting for users to join Element")).toBeInTheDocument();
expect(screen.getByText("Waiting for users to join HealthChat")).toBeInTheDocument();
expect(
screen.getByText(
"Once invited users have joined Element, you will be able to chat and the room will be end-to-end encrypted",
"Once invited users have joined HealthChat, you will be able to chat and the room will be end-to-end encrypted",
),
).toBeInTheDocument();
@@ -327,7 +327,7 @@ exports[`<MatrixChat /> with a soft-logged-out session should show the soft-logo
>
<img
alt="Element"
src="themes/element/img/logos/element-logo.svg"
src="themes/element/img/logos/element-logo.png"
/>
</aside>
<div