From 56128373b5a5ea89197c34911425cbebb4778e28 Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Tue, 19 Sep 2023 11:27:29 -0400 Subject: [PATCH] Skip instead of remove Signed-off-by: Derek Ho --- .../reports-dashboards/04-download.spec.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/cypress/integration/plugins/reports-dashboards/04-download.spec.js b/cypress/integration/plugins/reports-dashboards/04-download.spec.js index 3ab6bd1a3..9251455fd 100644 --- a/cypress/integration/plugins/reports-dashboards/04-download.spec.js +++ b/cypress/integration/plugins/reports-dashboards/04-download.spec.js @@ -27,6 +27,24 @@ describe('Cypress', () => { cy.wait(3000); }); + it.skip('Download from reporting homepage', () => { + cy.visit(`${BASE_PATH}/app/reports-dashboards#/`, { + waitForGetTenant: true, + }); + cy.location('pathname', { timeout: TIMEOUT }).should( + 'include', + '/reports-dashboards' + ); + + cy.wait(12500); + cy.get('[id="landingPageOnDemandDownload"]') + .contains('CSV') + .click({ force: true }); + cy.get('.euiToastHeader__title') + .contains('Successfully downloaded report') + .should('exist'); + }); + it('Download pdf from in-context menu', () => { cy.visit(`${BASE_PATH}/app/dashboards#`); cy.wait(5000);