diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree AMP Layers An AMP Should be searched, added to My Zones and showed on the map with the Zone button #0.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree AMP Layers An AMP Should be searched, added to My Zones and showed on the map with the Zone button #0.png new file mode 100644 index 000000000..aa4d087f3 Binary files /dev/null and b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree AMP Layers An AMP Should be searched, added to My Zones and showed on the map with the Zone button #0.png differ diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #1.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #1.png index c43e1f478..26a5fa244 100644 Binary files a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #1.png and b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #1.png differ diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #3.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #3.png index c43e1f478..bc6638590 100644 Binary files a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #3.png and b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #3.png differ diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #4.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #4.png index e5acf5a86..782f84448 100644 Binary files a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #4.png and b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #4.png differ diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #6.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #6.png index e5acf5a86..782f84448 100644 Binary files a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #6.png and b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Regulatory Layers A regulation Should be searched, added to My Zones and showed on the map with the Zone button #6.png differ diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #0.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #0.png index 243a66766..50e2e29f1 100644 Binary files a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #0.png and b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #0.png differ diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #1.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #1.png index 4443fc109..08e6ebdb8 100644 Binary files a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #1.png and b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #1.png differ diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #2.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #2.png index 49649a588..3f2950095 100644 Binary files a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #2.png and b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #2.png differ diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #3.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #3.png index 3f4242d9f..806c6de83 100644 Binary files a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #3.png and b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #3.png differ diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #4.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #4.png index 49649a588..3f2950095 100644 Binary files a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #4.png and b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/LayerTree Vigilance Area Layers A vigilance area Should be searched, added to My Zones and showed on the map with the Zone button #4.png differ diff --git a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/Main Window AMP Layers An AMP Should be searched, added to My Zones and showed on the map with the Zone button #0.png b/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/Main Window AMP Layers An AMP Should be searched, added to My Zones and showed on the map with the Zone button #0.png deleted file mode 100644 index c7d839b8c..000000000 Binary files a/frontend/cypress/e2e/main_window/layerTree/__image_snapshots__/Main Window AMP Layers An AMP Should be searched, added to My Zones and showed on the map with the Zone button #0.png and /dev/null differ diff --git a/frontend/cypress/e2e/main_window/layerTree/amp_layers.spec.ts b/frontend/cypress/e2e/main_window/layerTree/amp_layers.spec.ts index 84a5310fe..bfda1bb57 100644 --- a/frontend/cypress/e2e/main_window/layerTree/amp_layers.spec.ts +++ b/frontend/cypress/e2e/main_window/layerTree/amp_layers.spec.ts @@ -1,6 +1,6 @@ import { FAKE_MAPBOX_RESPONSE } from '../../constants' -context('Main Window > AMP Layers', () => { +context('LayerTree > AMP Layers', () => { beforeEach(() => { cy.intercept('GET', 'https://api.mapbox.com/**', FAKE_MAPBOX_RESPONSE) diff --git a/frontend/cypress/e2e/main_window/layerTree/regulatory_layers.spec.ts b/frontend/cypress/e2e/main_window/layerTree/regulatory_layers.spec.ts index 16b3f7b22..295e413ca 100644 --- a/frontend/cypress/e2e/main_window/layerTree/regulatory_layers.spec.ts +++ b/frontend/cypress/e2e/main_window/layerTree/regulatory_layers.spec.ts @@ -34,16 +34,22 @@ context('LayerTree > Regulatory Layers', () => { cy.getDataCy('my-regulatory-layers').click() // zoom on the regulation's zone cy.clickButton('Effacer les résultats de la recherche') + cy.wait(250) getBaseLayerSnapShot() cy.clickButton('Cacher la/les zone(s)') + cy.wait(250) getBaseLayerSnapShot() cy.clickButton('Afficher la/les zone(s)') + cy.wait(250) getBaseLayerSnapShot() cy.clickButton('Cacher la zone') + cy.wait(250) getBaseLayerSnapShot() cy.clickButton('Afficher la zone') + cy.wait(250) getBaseLayerSnapShot() cy.clickButton('Supprimer la zone de ma sélection') + cy.wait(250) getBaseLayerSnapShot() cy.getDataCy('my-regulatory-layers-list').contains('Aucune zone sélectionnée') }) diff --git a/frontend/cypress/e2e/main_window/layerTree/vigilance_area_layers.spec.ts b/frontend/cypress/e2e/main_window/layerTree/vigilance_area_layers.spec.ts index 6694e6f5d..a207b72f8 100644 --- a/frontend/cypress/e2e/main_window/layerTree/vigilance_area_layers.spec.ts +++ b/frontend/cypress/e2e/main_window/layerTree/vigilance_area_layers.spec.ts @@ -28,13 +28,17 @@ context('LayerTree > Vigilance Area Layers', () => { cy.clickButton('Sélectionner la zone') cy.getDataCy('my-vigilance-areas-layers').click() cy.clickButton('Effacer les résultats de la recherche') + cy.wait(250) getBaseLayerSnapShot() cy.clickButton('Cacher la zone') + cy.wait(250) getBaseLayerSnapShot() cy.clickButton('Afficher la zone') + cy.wait(250) getBaseLayerSnapShot() cy.clickButton('Supprimer la zone de ma sélection') + cy.wait(250) getBaseLayerSnapShot() cy.getDataCy('my-vigilance-area-zones-list').contains('Aucune zone sélectionnée') })