We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87e7a59 commit 129d19bCopy full SHA for 129d19b
1 file changed
cypress/e2e/changepassword.cy.ts
@@ -22,7 +22,7 @@ describe('Change Password Screen', () => {
22
cy.get('input[id="currentPassword"]').type('wrong');
23
cy.get('input[id="newPassword"]').type(newPassword);
24
cy.get('input[id="confirmNewPassword"]').type(newPassword);
25
- cy.get('button[type="submit"]').click();
+ cy.get('[data-cy="changePasswordButton"]').click();
26
cy.contains(
27
'The password is invalid or the user does not have a password. (auth/wrong-password).',
28
).should('exist');
0 commit comments