Skip to content

Commit

Permalink
Updated flakey test from reporting homepage
Browse files Browse the repository at this point in the history
Signed-off-by: sumukhswamy <[email protected]>
  • Loading branch information
sumukhswamy committed Feb 21, 2025
1 parent 85229cc commit 0bbdc64
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ describe('Cypress', () => {
cy.visit(`${BASE_PATH}/app/reports-dashboards#/`, {
waitForGetTenant: true,
});
cy.intercept('GET', '/_dashboards/api/reporting/generateReport/*').as('generateReport');
cy.intercept('GET', '/_dashboards/api/reporting/generateReport/*').as(
'generateReport'
);

cy.location('pathname', { timeout: TIMEOUT }).should(
'include',
Expand All @@ -43,7 +45,6 @@ describe('Cypress', () => {
.contains('PDF')
.click({ force: true });
cy.wait('@generateReport').its('response.statusCode').should('eq', 200);

});

it('Download pdf from in-context menu', () => {
Expand Down

0 comments on commit 0bbdc64

Please sign in to comment.