add more test scenarios

This commit is contained in:
Fabienne
2024-11-18 15:30:29 +01:00
parent 3a22045b36
commit bbc8d05a86
19 changed files with 384 additions and 86 deletions

View File

@@ -34,7 +34,7 @@ test("login with Apple IDP - auto redirect", async ({user, page}) => {
// User is automatically redirected to Apple
// User authenticates in Apple
// User is redirect to ZITADEL login
// User is redirected to the app
// User is redirected to the app (default redirect url)
});
@@ -58,7 +58,7 @@ test("login with Apple IDP", async ({user, page}) => {
// User is redirected to Apple
// User authenticates in Apple and gets an error
// User is redirect to ZITADEL login automatically
// User is redirected to app automatically
// User is redirected to app automatically (default redirect url)
});
@@ -84,7 +84,7 @@ test("login with Apple IDP, no user existing - auto register", async ({user, pag
// User authenticates in Apple
// User is redirect to ZITADEL login
// User is created in ZITADEL
// User is redirected to the app
// User is redirected to the app (default redirect url)
});
test("login with Apple IDP, no user existing - auto register not possible", async ({user, page}) => {
@@ -100,7 +100,7 @@ test("login with Apple IDP, no user existing - auto register not possible", asyn
// User fills missing information
// User clicks register button
// User is created in ZITADEL
// User is redirected to the app
// User is redirected to the app (default redirect url)
});
test("login with Apple IDP, no user existing - auto register enabled - manual creation disabled, creation not possible", async ({user, page}) => {
@@ -124,7 +124,7 @@ test("login with Apple IDP, no user linked - auto link", async ({user, page}) =>
// User authenticates in Apple with user@zitadel.com
// User is redirect to ZITADEL login
// User is linked with existing user in ZITADEL
// User is redirected to the app
// User is redirected to the app (default redirect url)
});
test("login with Apple IDP, no user linked, user doesn't exist - no auto link", async ({user, page}) => {
@@ -150,5 +150,5 @@ test("login with Apple IDP, no user linked, user doesn't exist - no auto link",
// User is redirect to ZITADEL login
// User with email address user@zitadel.com can not be found
// User is prompted to link the account manually
// User is redirected to the app
// User is redirected to the app (default redirect url)
});