Change selector
This commit is contained in:
parent
a4ac9d57cb
commit
f9d77a5179
|
|
@ -151,7 +151,7 @@ Cypress.Commands.add('register', (prefix, firstname, lastname, street, city, pos
|
||||||
}
|
}
|
||||||
|
|
||||||
if (acceptTerms) {
|
if (acceptTerms) {
|
||||||
cy.get('[data-cy="acceptedTerms-input"]').click();
|
cy.get('[data-cy="acceptedTerms-input"] > span').first().click();
|
||||||
}
|
}
|
||||||
|
|
||||||
cy.get('[data-cy="passwordConfirmation-input"]').type(passwordConfirmation);
|
cy.get('[data-cy="passwordConfirmation-input"]').type(passwordConfirmation);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue