diff --git a/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js b/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js index 6220e9a32b9..51d1cc5c7b7 100644 --- a/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js +++ b/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js @@ -126,15 +126,8 @@ 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(); }); })