From cfece0f5eefe9043ced6e176fe7609d281bea948 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Tue, 25 Mar 2025 12:29:25 +0000 Subject: [PATCH] Update tests for copy changes on 'only send to verified' --- .../views/settings/encryption/AdvancedPanel-test.tsx | 2 +- .../encryption/__snapshots__/AdvancedPanel-test.tsx.snap | 2 +- .../user/__snapshots__/SecurityUserSettingsTab-test.tsx.snap | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unit-tests/components/views/settings/encryption/AdvancedPanel-test.tsx b/test/unit-tests/components/views/settings/encryption/AdvancedPanel-test.tsx index 76d7ab712b..ad98fa4e43 100644 --- a/test/unit-tests/components/views/settings/encryption/AdvancedPanel-test.tsx +++ b/test/unit-tests/components/views/settings/encryption/AdvancedPanel-test.tsx @@ -75,7 +75,7 @@ describe("", () => { expect(screen.getByTestId("otherSettings")).toMatchSnapshot(); const checkbox = screen.getByRole("checkbox", { - name: "Never send encrypted messages to unverified devices", + name: "In encrypted rooms, only send messages to verified users", }); expect(checkbox).toBeChecked(); diff --git a/test/unit-tests/components/views/settings/encryption/__snapshots__/AdvancedPanel-test.tsx.snap b/test/unit-tests/components/views/settings/encryption/__snapshots__/AdvancedPanel-test.tsx.snap index 027fb554f7..8eaf9949ec 100644 --- a/test/unit-tests/components/views/settings/encryption/__snapshots__/AdvancedPanel-test.tsx.snap +++ b/test/unit-tests/components/views/settings/encryption/__snapshots__/AdvancedPanel-test.tsx.snap @@ -239,7 +239,7 @@ exports[` should display the blacklist of unv class="_label_19upo_59" for="radix-:r6:" > - Never send encrypted messages to unverified devices + In encrypted rooms, only send messages to verified users renders security section 1`] = ` - Never send encrypted messages to unverified sessions from this session + Only send messages to verified users