|
|
@@ -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+/)
|
|
|
})
|
|
|
})
|