Skip to content

Commit

Permalink
Update 06-settings-general.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored Nov 7, 2023
1 parent e807567 commit a9d976a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/specs/06-settings-general.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 () => {
Expand Down

0 comments on commit a9d976a

Please sign in to comment.