Stabilize realm_settings_user_profile_enabled test (#27982)

Fixes: #27653

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
This commit is contained in:
Hynek Mlnařík 2024-03-18 13:01:15 +01:00 committed by GitHub
parent 87e47fb3a0
commit 84f295e909
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();
});