chore: passkey register

This commit is contained in:
Stefan Benz
2024-10-31 16:53:23 +01:00
parent 9c041cc46f
commit be4a20b29b
17 changed files with 178 additions and 153 deletions

View File

@@ -9,4 +9,13 @@ export async function changePassword(page: Page, loginname: string, password: st
async function changePasswordScreen(page: Page, password1: string, password2: string) {
await page.getByTestId('password-text-input').pressSequentially(password1);
await page.getByTestId('password-confirm-text-input').pressSequentially(password2);
}
}
export async function passwordScreen(page: Page, password: string) {
await page.getByTestId("password-text-input").pressSequentially(password);
}
export async function registerPasswordScreen(page: Page, password1: string, password2: string) {
await page.getByTestId('password-text-input').pressSequentially(password1);
await page.getByTestId('password-confirm-text-input').pressSequentially(password2);
}