Skip to content

Commit

Permalink
Merge pull request #524 from Satellite-im/sara/minor-update
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm authored Nov 8, 2023
2 parents 34f816a + ee51a9e commit 2349818
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(appLanguageHeader).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 2349818

Please sign in to comment.