Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
KVNLS committed Oct 15, 2024
1 parent a780376 commit 482066c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ test("User able to update currency/language/theme in settings", async ({ page })
await test.step("user change language", async () => {
await settingsPage.changeLanguage("English", "Français");
await expect.soft(settingsPage.languageSelector).toHaveText("Français");
await settingsPage.changeLanguage("Français", "English");
});

await test.step("user change Theme", async () => {
await settingsPage.changeTheme();
await expect.soft(settingsPage.themeSelector).toHaveText("Clair");
// Restore Language for other tests
await settingsPage.changeLanguage("Français", "English");
await expect.soft(settingsPage.languageSelector).toHaveText("English");
});
});

0 comments on commit 482066c

Please sign in to comment.