mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 12:54:39 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user