Olivier Massot před 4 roky
rodič
revize
955755adcd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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', () => {
   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+/)
     cy.url().should('match', /.*structures\/\d+/)
   })
   })
 })
 })