|
|
@@ -6,7 +6,7 @@ describe('Test the /structures page', () => {
|
|
|
|
|
|
// wait for the page to be completely loaded
|
|
|
cy.get('.structure-card', { timeout: 8000 })
|
|
|
- cy.contains('Nos Structures adhérentes')
|
|
|
+ cy.contains('Nos structures adhérentes')
|
|
|
})
|
|
|
|
|
|
it('Map, filters, and all results shall display by default', () => {
|
|
|
@@ -46,9 +46,8 @@ describe('Test the /structures page', () => {
|
|
|
it('If view is set on list mode, map shall be hidden', () => {
|
|
|
cy.get('button').contains('Liste').click()
|
|
|
|
|
|
- // map shall not be visible in list view
|
|
|
- cy.get('#map', { timeout: 8000 })
|
|
|
- .should('not.be.visible')
|
|
|
+ // map shall not exists in list view
|
|
|
+ cy.get('#map').should('not.exist')
|
|
|
|
|
|
// results should still be visible
|
|
|
cy.get('.structure-card')
|