Skip to content

Commit 131c9bb

Browse files
committed
frontend: fix test
1 parent 9ea739c commit 131c9bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/tests/basic.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ test('password change dialog validation', async ({ page }) => {
100100
await page.getByLabel('Current password').fill(testPassword1);
101101
await page.getByRole('textbox', { name: 'New password', exact: true }).fill('weak');
102102
await page.getByRole('dialog').getByRole('button', { name: 'Change password' }).click();
103-
await expect(page.getByText('Must be at least 8 characters long and contain at least one lowercase and uppercase letter, and one special character.')).toBeVisible();
103+
await expect(page.getByText('Must be at least 8 characters long.')).toBeVisible();
104104

105105
await page.getByLabel('Current password').clear();
106106
await page.getByLabel('Current password').fill('wrong_password');

0 commit comments

Comments
 (0)