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