Skip to content

Commit

Permalink
Merge pull request pkp#4513 from withanage/ojs-main-i9568-241111124304
Browse files Browse the repository at this point in the history
GDPR  create user by invitation workflow  - cypress tests
  • Loading branch information
withanage authored Nov 11, 2024
2 parents c42767c + 4a01c9e commit 89b92f8
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 89b92f8

Please sign in to comment.