diff --git a/apps/web/test/unit-tests/SupportedBrowser-test.ts b/apps/web/test/unit-tests/SupportedBrowser-test.ts index 40b8b9c6a1..16ea543343 100644 --- a/apps/web/test/unit-tests/SupportedBrowser-test.ts +++ b/apps/web/test/unit-tests/SupportedBrowser-test.ts @@ -102,7 +102,7 @@ describe("SupportedBrowser", () => { expect(toastSpy).toHaveBeenCalledWith( expect.objectContaining({ component: GenericToast, - title: "Element does not support this browser", + title: "HealthChat does not support this browser", }), ); diff --git a/apps/web/test/unit-tests/components/structures/RoomView-test.tsx b/apps/web/test/unit-tests/components/structures/RoomView-test.tsx index 90cba684e7..c3398a5e28 100644 --- a/apps/web/test/unit-tests/components/structures/RoomView-test.tsx +++ b/apps/web/test/unit-tests/components/structures/RoomView-test.tsx @@ -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(); 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 0cdb605a9c..80f5c9116c 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
", () => { QuestionDialog, expect.objectContaining({ button: "Try again", - description: "Element could not send your location. Please try again later.", + description: "HealthChat could not send your location. Please try again later.", title: `We couldn't send your location`, cancelButton: "Cancel", }), diff --git a/apps/web/test/unit-tests/components/views/location/Map-test.tsx b/apps/web/test/unit-tests/components/views/location/Map-test.tsx index eb45a536eb..55e3357a23 100644 --- a/apps/web/test/unit-tests/components/views/location/Map-test.tsx +++ b/apps/web/test/unit-tests/components/views/location/Map-test.tsx @@ -247,7 +247,7 @@ describe("", () => { expect(Modal.createDialog).toHaveBeenCalledWith(ErrorDialog, { title: "Could not fetch location", description: - "Element was denied permission to fetch your location. Please allow location access in your browser settings.", + "HealthChat was denied permission to fetch your location. Please allow location access in your browser settings.", }); }); diff --git a/apps/web/test/unit-tests/utils/location/positionFailureMessage-test.ts b/apps/web/test/unit-tests/utils/location/positionFailureMessage-test.ts index f3eeacb83e..1c01d83623 100644 --- a/apps/web/test/unit-tests/utils/location/positionFailureMessage-test.ts +++ b/apps/web/test/unit-tests/utils/location/positionFailureMessage-test.ts @@ -18,7 +18,7 @@ describe("positionFailureMessage()", () => { it.each([ [ 1, - "Element was denied permission to fetch your location. Please allow location access in your browser settings.", + "HealthChat was denied permission to fetch your location. Please allow location access in your browser settings.", ], [2, "Failed to fetch your location. Please try again later."], [3, "Timed out trying to fetch your location. Please try again later."], diff --git a/apps/web/test/unit-tests/vector/__snapshots__/init-test.ts.snap b/apps/web/test/unit-tests/vector/__snapshots__/init-test.ts.snap index 875d36c733..1d5016e48a 100644 --- a/apps/web/test/unit-tests/vector/__snapshots__/init-test.ts.snap +++ b/apps/web/test/unit-tests/vector/__snapshots__/init-test.ts.snap @@ -44,7 +44,7 @@ exports[`showIncompatibleBrowser should match snapshot 1`] = ` class="mx_ErrorView cpd-theme-light" > - 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. If you continue, some features may stop working and there is a risk that you may lose data in the future. + HealthChat uses some browser features which are not available in your current browser. If you continue, some features may stop working and there is a risk that you may lose data in the future.

- Use Element Desktop instead - -

-

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

diff --git a/apps/web/test/unit-tests/vector/init-test.ts b/apps/web/test/unit-tests/vector/init-test.ts index 9c39ba652a..b6256be48d 100644 --- a/apps/web/test/unit-tests/vector/init-test.ts +++ b/apps/web/test/unit-tests/vector/init-test.ts @@ -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(); }); }); diff --git a/apps/web/test/unit-tests/vector/platform/ElectronPlatform-test.ts b/apps/web/test/unit-tests/vector/platform/ElectronPlatform-test.ts index f6ff2db07f..882bfa17c0 100644 --- a/apps/web/test/unit-tests/vector/platform/ElectronPlatform-test.ts +++ b/apps/web/test/unit-tests/vector/platform/ElectronPlatform-test.ts @@ -198,18 +198,18 @@ describe("ElectronPlatform", () => { [ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 " + "(KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36", - "Element Desktop: macOS", + "HealthChat Desktop: macOS", ], [ "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) " + "electron/1.0.0 Chrome/53.0.2785.113 Electron/1.4.3 Safari/537.36", - "Element Desktop: Windows", + "HealthChat Desktop: Windows", ], - ["Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0", "Element Desktop: Linux"], - ["Mozilla/5.0 (X11; FreeBSD i686; rv:21.0) Gecko/20100101 Firefox/21.0", "Element Desktop: FreeBSD"], - ["Mozilla/5.0 (X11; OpenBSD i686; rv:21.0) Gecko/20100101 Firefox/21.0", "Element Desktop: OpenBSD"], - ["Mozilla/5.0 (X11; SunOS i686; rv:21.0) Gecko/20100101 Firefox/21.0", "Element Desktop: SunOS"], - ["custom user agent", "Element Desktop: Unknown"], + ["Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0", "HealthChat Desktop: Linux"], + ["Mozilla/5.0 (X11; FreeBSD i686; rv:21.0) Gecko/20100101 Firefox/21.0", "HealthChat Desktop: FreeBSD"], + ["Mozilla/5.0 (X11; OpenBSD i686; rv:21.0) Gecko/20100101 Firefox/21.0", "HealthChat Desktop: OpenBSD"], + ["Mozilla/5.0 (X11; SunOS i686; rv:21.0) Gecko/20100101 Firefox/21.0", "HealthChat Desktop: SunOS"], + ["custom user agent", "HealthChat Desktop: Unknown"], ])("%s = %s", (userAgent, result) => { Object.defineProperty(window, "navigator", { value: { userAgent }, writable: true }); const platform = new ElectronPlatform();