Skip to content

Commit

Permalink
chore: add missing headless
Browse files Browse the repository at this point in the history
  • Loading branch information
AlitaBernachot committed Dec 13, 2024
1 parent e6efc72 commit 1356c04
Show file tree
Hide file tree
Showing 3 changed files with 1,867 additions and 4,617 deletions.
11 changes: 6 additions & 5 deletions cypress/e2e/legends/legends.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,18 @@ describe('Legends', () => {
})

it('displays the legends for both layers having legend', () => {
cy.wait('@mockedMetadataParcelles').then(interception => {
cy.log(interception.response.body)
cy.wait('@mockedMetadataParcelles', { timeout: 10000 }).then(interception => {
cy.log('Intercepted Request', interception)
})
cy.wait('@mockedParcelles').then(interception => {
cy.log(interception.response.body)
cy.log('Intercepted Request', interception)
})
cy.wait('@mockedSolaire').then(interception => {
cy.log(interception.response.body)
cy.log('Intercepted Request', interception)
})

cy.log(Cypress.env('API_URL'))
cy.log('[data-cy="legendLayer"]')

cy.get('[data-cy="legendLayer"]').should('have.length', 2)
})
})
Expand Down
Loading

0 comments on commit 1356c04

Please sign in to comment.