mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 05:12:20 +00:00
add test flows for login ui
This commit is contained in:
@@ -24,3 +24,25 @@ test("username and passkey login", async ({user, page}) => {
|
||||
await loginWithPasskey(page, user.getAuthenticatorId(), user.getUsername())
|
||||
await loginScreenExpect(page, user.getFullName());
|
||||
});
|
||||
|
||||
test("username and passkey login, if passkey enabled", async ({user, page}) => {
|
||||
// Given passkey is enabled on the organization of the user
|
||||
// Given the user has only passkey enabled as authentication
|
||||
|
||||
// enter username
|
||||
// passkey popup is directly shown
|
||||
// user verifies passkey
|
||||
// user is redirected to app
|
||||
});
|
||||
|
||||
test("username and passkey login, multiple auth methods", async ({user, page}) => {
|
||||
// Given passkey and password is enabled on the organization of the user
|
||||
// Given the user has password and passkey registered
|
||||
|
||||
// enter username
|
||||
// passkey popup is directly shown
|
||||
// user aborts passkey authentication
|
||||
// user switches to password authentication
|
||||
// user enters password
|
||||
// user is redirected to app
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user