🌐(app-desk) install internationalization

Install internationalization in the Desk app.
We use react-i18next.
This commit is contained in:
Anthony LC
2024-01-19 10:43:09 +01:00
committed by Anthony LC
parent 6a0ed04b0d
commit 01b7ad3f30
12 changed files with 173 additions and 6 deletions

View File

@@ -8,6 +8,12 @@ test.beforeEach(async ({ page }) => {
});
test.describe("Language", () => {
test("checks translation library works", async ({ page }) => {
await expect(
page.locator("h1").first().getByText("Bienvenue sur Desk !"),
).toBeVisible();
});
test("checks the language picker", async ({ page }) => {
const header = page.locator("header").first();