feat(i18n): localize category action messages

This commit is contained in:
2026-06-12 23:21:08 +02:00
parent e9a07eb28e
commit 9f7d1b8ef8
11 changed files with 222 additions and 32 deletions
+4 -1
View File
@@ -93,8 +93,11 @@ test.describe("language switcher", () => {
).toBeVisible()
await expect(page.getByLabel("Nombre")).toBeVisible()
await expect(page.getByPlaceholder("Nombre de la categoría")).toBeVisible()
await page.getByRole("button", { name: "Crear categoría" }).click()
await expect(
page.getByRole("button", { name: "Crear categoría" }),
page.getByText(
"El nombre es obligatorio y debe tener al menos 3 caracteres",
),
).toBeVisible()
})