tests: fix Dutch validation message

This commit is contained in:
Elias Schneider
2025-11-25 22:51:20 +01:00
parent 4bde271b47
commit f523f39483

View File

@@ -66,7 +66,7 @@ test('Change Locale', async ({ page }) => {
// Check if the validation messages are translated because they are provided by Zod
await page.getByRole('textbox', { name: 'Voornaam' }).fill('');
await page.getByRole('button', { name: 'Opslaan' }).click();
await expect(page.getByText('Te kort: verwacht dat string')).toBeVisible();
await expect(page.getByText('Te klein: verwacht dat string te hebben >=1 tekens')).toBeVisible();
// Clear all cookies and sign in again to check if the language is still set to Dutch
await page.context().clearCookies();
@@ -76,7 +76,7 @@ test('Change Locale', async ({ page }) => {
await page.getByRole('textbox', { name: 'Voornaam' }).fill('');
await page.getByRole('button', { name: 'Opslaan' }).click();
await expect(page.getByText('Te kort: verwacht dat string')).toBeVisible();
await expect(page.getByText('Te klein: verwacht dat string te hebben >=1 tekens')).toBeVisible();
});
test('Add passkey to an account', async ({ page }) => {