소스 검색

fix failing test

Olivier Massot 4 년 전
부모
커밋
955755adcd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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+/)
   })
 })