From a9d976a45c118b957458983bfaab32ef5496ea33 Mon Sep 17 00:00:00 2001 From: Sara Tavares <29093946+stavares843@users.noreply.github.com> Date: Tue, 7 Nov 2023 22:21:00 +0000 Subject: [PATCH] Update 06-settings-general.spec.ts --- tests/specs/06-settings-general.spec.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/specs/06-settings-general.spec.ts b/tests/specs/06-settings-general.spec.ts index 5ea314cf49a..3c52ab9031e 100644 --- a/tests/specs/06-settings-general.spec.ts +++ b/tests/specs/06-settings-general.spec.ts @@ -22,14 +22,6 @@ export default async function settingsGeneral() { await expect(appLangugageHeader).toHaveTextContaining("APP LANGUAGE"); await expect(appLanguageDescription).toHaveText("Change Language."); - // THEME - const themeHeader = await settingsGeneralFirstUser.themeHeader; - const themeDescription = await settingsGeneralFirstUser.themeDescription; - await expect(themeHeader).toHaveTextContaining("THEME"); - await expect(themeDescription).toHaveTextContaining( - "Change the theme of the app." - ); - // FONT const fontHeader = await settingsGeneralFirstUser.fontHeader; const fontDescription = await settingsGeneralFirstUser.fontDescription; @@ -46,6 +38,14 @@ export default async function settingsGeneral() { await expect(fontScalingDescription).toHaveTextContaining( "Scale the font size up or down to your liking." ); + + // THEME + const themeHeader = await settingsGeneralFirstUser.themeHeader; + const themeDescription = await settingsGeneralFirstUser.themeDescription; + await expect(themeHeader).toHaveTextContaining("THEME"); + await expect(themeDescription).toHaveTextContaining( + "Change the theme of the app." + ); }); it("Settings General - Validate tooltips from buttons", async () => {