diff --git a/tests/specs/account-settings.spec.ts b/tests/specs/account-settings.spec.ts index d636859a..0e3a8171 100644 --- a/tests/specs/account-settings.spec.ts +++ b/tests/specs/account-settings.spec.ts @@ -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 klein: verwacht dat string te hebben >=1 tekens')).toBeVisible(); + await expect(page.getByText('Te kort: verwacht dat string >=1 tekens heeft')).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 klein: verwacht dat string te hebben >=1 tekens')).toBeVisible(); + await expect(page.getByText('Te kort: verwacht dat string >=1 tekens heeft')).toBeVisible(); }); test('Add passkey to an account', async ({ page }) => {