Skip to content

Commit

Permalink
Save button cypress user password reset
Browse files Browse the repository at this point in the history
  • Loading branch information
withanage committed Nov 5, 2024
1 parent e7bcdcb commit 320bbcc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cypress/support/commands_new_workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ Cypress.Commands.add('resetPassword', (username,oldPassword,newPassword) => {
cy.get('input[name=oldPassword]').type(oldPassword, {delay: 0});
cy.get('input[name=password]').type(newPassword, {delay: 0});
cy.get('input[name=password2]').type(newPassword, {delay: 0});
cy.wait(1000);
cy.get('button').contains('Save').click();
cy.get('button').contains('Save').click({ force: true });
});

Cypress.Commands.add('register', data => {
Expand Down

0 comments on commit 320bbcc

Please sign in to comment.