Skip to content

Commit

Permalink
[Test] fix test e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Jan 30, 2025
1 parent 7db1014 commit 0f5576f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ describe('Edit Vigilance Area', () => {
// add regulatory area to "Mes zones réglementaires"
cy.clickButton('Ajouter la zone à Mes zones réglementaires')
// check if the regulatory area is added
cy.getDataCy('regulatory-layer-topic').contains('RNN Iroise').click({ force: true })
cy.getDataCy("my-zone-Partie marine (plus basses eaux) RNN d'Iroise").should('exist')
cy.getDataCy('regulatory-layer-topic').contains('Interdiction VNM Molene').click({ force: true })
cy.getDataCy('my-zone-Article 1').should('exist')

// Reset data
cy.clickButton('Editer')
Expand Down Expand Up @@ -135,7 +135,7 @@ describe('Edit Vigilance Area', () => {
// add AMP to "Mes AMP"
cy.clickButton('Ajouter la zone à Mes AMP').first()
// check if the AMP is added
cy.getDataCy('amp-layer-topic').contains('marais de Brouage-Oléron').click({ force: true })
cy.getDataCy('amp-layer-topic').contains("dunes, forêt et marais d'Olonne").click({ force: true })
cy.getDataCy('my-zone-Natura 2000').should('exist')

// Reset data
Expand Down

0 comments on commit 0f5576f

Please sign in to comment.