From 69efe91bb5eb4d94bda0f10bb187abdfd7db0f37 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 1 Aug 2024 21:15:05 +0100 Subject: [PATCH] More reanaming & snapshot --- playwright/e2e/settings/preferences-user-settings-tab.spec.ts | 2 +- .../user/__snapshots__/PreferencesUserSettingsTab-test.tsx.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playwright/e2e/settings/preferences-user-settings-tab.spec.ts b/playwright/e2e/settings/preferences-user-settings-tab.spec.ts index a67909b47b..5fb2980e90 100644 --- a/playwright/e2e/settings/preferences-user-settings-tab.spec.ts +++ b/playwright/e2e/settings/preferences-user-settings-tab.spec.ts @@ -36,7 +36,7 @@ test.describe("Preferences user settings tab", () => { test("should be able to change the app language", async ({ uut, user }) => { // Check language and region setting dropdown - const languageInput = uut.locator(".mx_GeneralUserSettingsTab_section_languageInput"); + const languageInput = uut.locator(".mx_PreferencesUserSettingsTab_section_languageInput"); await languageInput.scrollIntoViewIfNeeded(); // Check the default value await expect(languageInput.getByText("English")).toBeVisible(); diff --git a/test/components/views/settings/tabs/user/__snapshots__/PreferencesUserSettingsTab-test.tsx.snap b/test/components/views/settings/tabs/user/__snapshots__/PreferencesUserSettingsTab-test.tsx.snap index 7c535aae44..18ab66cadf 100644 --- a/test/components/views/settings/tabs/user/__snapshots__/PreferencesUserSettingsTab-test.tsx.snap +++ b/test/components/views/settings/tabs/user/__snapshots__/PreferencesUserSettingsTab-test.tsx.snap @@ -46,7 +46,7 @@ exports[`PreferencesUserSettingsTab should render 1`] = ` />
The app will reload after selecting another language