Change selector

This commit is contained in:
Christian Cueni 2020-05-20 08:07:50 +02:00
parent a4ac9d57cb
commit f9d77a5179
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ Cypress.Commands.add('register', (prefix, firstname, lastname, street, city, pos
}
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);