Skip to content
Snippets Groups Projects
Commit d651983b authored by Cédric Girardot's avatar Cédric Girardot
Browse files

Tests : Ajoute coche de la case consentement pour la recherche (Cypress)

Change-Id: I9f6e6c20f4caaf8529316ad9ee29565828935082
parent 6af1d6a4
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,7 @@ Cypress.Commands.add('logout', () => { ...@@ -59,6 +59,7 @@ Cypress.Commands.add('logout', () => {
}) })
Cypress.Commands.add('fillSearch', (values) => { Cypress.Commands.add('fillSearch', (values) => {
cy.get('input#search_agreeTerms').check()
cy.get('input#search_deathDate').type(values.deathDate) cy.get('input#search_deathDate').type(values.deathDate)
cy.get('input#search_deathLocation').type(values.deathLocation) cy.get('input#search_deathLocation').type(values.deathLocation)
cy.get('input#search_deathCertificateDate').type(values.deathCertificateDate) cy.get('input#search_deathCertificateDate').type(values.deathCertificateDate)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment