Browse Source

fix failing test

Olivier Massot 4 years ago
parent
commit
955755adcd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/cypress/integration/structures/index.spec.js

+ 1 - 1
test/cypress/integration/structures/index.spec.js

@@ -187,7 +187,7 @@ describe('Test the /structures page', () => {
   })
 
   it('The see-more button of a structure card shall lead to the details page of the structure', () => {
-    cy.get('.structure-card').contains('Voir plus').parent().click()
+    cy.get('.structure-card').contains('Voir plus').click()
     cy.url().should('match', /.*structures\/\d+/)
   })
 })