mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-04 15:39:45 +00:00
tests: fix Dutch validation message
This commit is contained in:
@@ -66,7 +66,7 @@ test('Change Locale', async ({ page }) => {
|
|||||||
// Check if the validation messages are translated because they are provided by Zod
|
// Check if the validation messages are translated because they are provided by Zod
|
||||||
await page.getByRole('textbox', { name: 'Voornaam' }).fill('');
|
await page.getByRole('textbox', { name: 'Voornaam' }).fill('');
|
||||||
await page.getByRole('button', { name: 'Opslaan' }).click();
|
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
|
// Clear all cookies and sign in again to check if the language is still set to Dutch
|
||||||
await page.context().clearCookies();
|
await page.context().clearCookies();
|
||||||
@@ -76,7 +76,7 @@ test('Change Locale', async ({ page }) => {
|
|||||||
|
|
||||||
await page.getByRole('textbox', { name: 'Voornaam' }).fill('');
|
await page.getByRole('textbox', { name: 'Voornaam' }).fill('');
|
||||||
await page.getByRole('button', { name: 'Opslaan' }).click();
|
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 }) => {
|
test('Add passkey to an account', async ({ page }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user