chore: fixes to tests

This commit is contained in:
Stefan Benz
2024-11-19 11:10:24 +01:00
parent 875f53b3d3
commit a50674559b
14 changed files with 62 additions and 59 deletions

View File

@@ -125,7 +125,7 @@ test("login with Generic OAuth IDP, no user linked - auto link", async ({user, p
// User is redirected to the app (default redirect url)
});
test("login with Generic OAuth IDP, no user linked, user doesn't exist - no auto link", async ({user, page}) => {
test("login with Generic OAuth IDP, no user linked, linking not possible", async ({user, page}) => {
// Given idp Generic OAuth is configure on the organization as only authencation method
// Given idp Generic OAuth is configure with manually account linking not allowed, and linking set to existing email
// Given user with email address user@zitadel.com doesn't exists
@@ -138,7 +138,7 @@ test("login with Generic OAuth IDP, no user linked, user doesn't exist - no auto
});
test("login with Generic OAuth IDP, no user linked, user doesn't exist - no auto link", async ({user, page}) => {
test("login with Generic OAuth IDP, no user linked, linking successful", async ({user, page}) => {
// Given idp Generic OAuth is configure on the organization as only authencation method
// Given idp Generic OAuth is configure with manually account linking allowed, and linking set to existing email
// Given user with email address user@zitadel.com doesn't exists