We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 336d211 commit 0a645dcCopy full SHA for 0a645dc
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