From 84f295e90920ca042f46a09c750fca841d635497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hynek=20Mlna=C5=99=C3=ADk?= Date: Mon, 18 Mar 2024 13:01:15 +0100 Subject: [PATCH] Stabilize realm_settings_user_profile_enabled test (#27982) Fixes: #27653 Signed-off-by: Hynek Mlnarik --- .../cypress/e2e/realm_settings_user_profile_enabled.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/apps/admin-ui/cypress/e2e/realm_settings_user_profile_enabled.spec.ts b/js/apps/admin-ui/cypress/e2e/realm_settings_user_profile_enabled.spec.ts index 703f2424d5..cb27acac49 100644 --- a/js/apps/admin-ui/cypress/e2e/realm_settings_user_profile_enabled.spec.ts +++ b/js/apps/admin-ui/cypress/e2e/realm_settings_user_profile_enabled.spec.ts @@ -218,7 +218,7 @@ describe("User profile tabs", () => { sidebarPage.goToUsers(); createUserPage .goToCreateUser() - .setAttributeValue(emailAttributeName, "testuser8@gmail.com") + .setAttributeValue(emailAttributeName, `testuser8-${uuid()}@gmail.com`) .assertAttributeFieldExists(attrName, false) .create() .assertNotificationCreated(); @@ -226,7 +226,7 @@ describe("User profile tabs", () => { // Edit user createUserPage .assertAttributeFieldExists(attrName, false) - .setAttributeValue(emailAttributeName, "testuser9@gmail.com") + .setAttributeValue(emailAttributeName, `testuser9-${uuid()}@gmail.com`) .update() .assertNotificationUpdated(); });