Skip to content
/ ojs Public
forked from pkp/ojs

Commit

Permalink
Cypress tests for invitation based user creation pkp/pkp-lib#9658
Browse files Browse the repository at this point in the history
  • Loading branch information
withanage authored and GaziYucel committed Nov 15, 2024
1 parent 6bbd31b commit 067ee49
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
})

0 comments on commit 067ee49

Please sign in to comment.