1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-17 15:12:42 +00:00

Fix and improve Playwright tests

This commit is contained in:
Timshel 2025-05-28 16:25:29 +02:00
commit 3730355434
15 changed files with 300 additions and 168 deletions

View file

@ -57,7 +57,7 @@ test('invited with new account', async ({ page }) => {
await expect(page).toHaveTitle(/Create account | Vaultwarden Web/);
//await page.getByLabel('Name').fill(users.user2.name);
await page.getByLabel('Master password (required)', { exact: true }).fill(users.user2.password);
await page.getByLabel('New master password (required)', { exact: true }).fill(users.user2.password);
await page.getByLabel('Confirm master password (').fill(users.user2.password);
await page.getByRole('button', { name: 'Create account' }).click();
await utils.checkNotification(page, 'Your new account has been created');