1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-11 16:28:59 +00:00

Merge remote-tracking branch 'origin' into breaking/v2

This commit is contained in:
ItalyPaleAle
2025-11-25 20:48:03 -08:00
31 changed files with 1533 additions and 3604 deletions

View File

@@ -7,10 +7,10 @@
"format": "prettier --write ."
},
"devDependencies": {
"@playwright/test": "^1.56.1",
"@types/node": "^22.18.12",
"dotenv": "^16.6.1",
"jose": "^6.1.0",
"@playwright/test": "^1.57.0",
"@types/node": "^24.10.1",
"dotenv": "^17.2.3",
"jose": "^6.1.2",
"prettier": "^3.6.2"
}
}

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 }) => {