From b379776dc9d0829a733b6a5cc08812d1522e8b62 Mon Sep 17 00:00:00 2001 From: withanage Date: Fri, 13 Dec 2024 07:47:37 +0100 Subject: [PATCH] #9658 user invitation cypress tests --- .../tests/data/10-ApplicationSetup/40-CreateUsers.cy.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js b/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js index 2737c53caa..00e1706ef5 100644 --- a/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js +++ b/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js @@ -56,15 +56,9 @@ describe('Data suite tests', function() { } ]; users.forEach(user => { - cy.createUser(user); + cy.createUserByInvitation(user); }); cy.logout(); - var user = users[0]; - if (!('email' in user)) user.email = user.username + '@mailinator.com'; - if (!('password' in user)) user.password = user.username + user.username; - cy.login(user.username); - cy.resetPassword(user.username, user.password); - cy.logout(); }); })