diff --git a/cypress/integration/documentsLayer.spec.js b/cypress/integration/documentsLayer.spec.js index 9e166306..79059d16 100644 --- a/cypress/integration/documentsLayer.spec.js +++ b/cypress/integration/documentsLayer.spec.js @@ -54,4 +54,9 @@ describe('Documents layer', () => { cy.contains(uniqueName).click(); cy.get('[data-test-subj="layerControlPanel"]').should('contain', 'Documents layer 1'); }); + + after(() => { + cy.visit(`${BASE_PATH}/app/home#/tutorial_directory`); + cy.get('button[data-test-subj="removeSampleDataSetflights"]').should('be.visible').click(); + }); }); diff --git a/cypress/integration/opensearchMapLayer.spec.js b/cypress/integration/opensearchMapLayer.spec.js index 75642344..6301d516 100644 --- a/cypress/integration/opensearchMapLayer.spec.js +++ b/cypress/integration/opensearchMapLayer.spec.js @@ -36,4 +36,9 @@ describe('Default OpenSearch base map layer', () => { } cy.get('[data-test-subj="mapStatusBar"]').should('contain', 'zoom: 22'); }); + + after(() => { + cy.visit(`${BASE_PATH}/app/home#/tutorial_directory`); + cy.get('button[data-test-subj="removeSampleDataSetflights"]').should('be.visible').click(); + }); });