From 7f0c70709c2293fb14056f967fc612dd6c50e8b2 Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Mon, 18 Nov 2024 16:55:28 +0100 Subject: [PATCH] Update acceptance/tests/idp-apple.spec.ts --- acceptance/tests/idp-apple.spec.ts | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/acceptance/tests/idp-apple.spec.ts b/acceptance/tests/idp-apple.spec.ts index 7de8875eef4..c599cd5bba8 100644 --- a/acceptance/tests/idp-apple.spec.ts +++ b/acceptance/tests/idp-apple.spec.ts @@ -36,14 +36,13 @@ test("login with Apple IDP", async ({user, page}) => { }); -test("login with Apple IDP - auto redirect, error", async ({user, page}) => { - // Given idp Apple is configure on the organization as only authencation method - // Given the user has only idp Apple added as auth method - - // User is automatically redirected to Apple - // User authenticates in Apple and gets an error - // User is redirect to ZITADEL login - // Error is shown to the user "Something went wrong in Apple Login" +test("login with Apple IDP - error", async ({user, page}) => { + // Given idp Apple is configure on the organization + // Given the user Apple added as auth method + // User is redirected to Apple + // User authenticates with Apple and gets an error + // User is redirect back to login + // An error is shown to the user "Something went wrong in Apple Login" });