Skip to content

Commit

Permalink
Skip instead of remove
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Sep 19, 2023
1 parent 29e9b0b commit 5612837
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cypress/integration/plugins/reports-dashboards/04-download.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5612837

Please sign in to comment.