Skip to content

Commit

Permalink
updated edit reports test to match gitfram
Browse files Browse the repository at this point in the history
Signed-off-by: sumukhswamy <[email protected]>
  • Loading branch information
sumukhswamy committed Feb 25, 2025
1 parent 5bb56cd commit 3e148a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,4 @@ describe('Cypress', () => {
// check that re-direct to home page
cy.get('#reportDefinitionDetailsLink').should('exist');
});
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ describe('Cypress', () => {
it('Download from Report definition details page', () => {
// create an on-demand report definition

cy.intercept('POST', '/_dashboards/api/reporting/generateReport/*').as('generateReport');
cy.intercept('POST', '/_dashboards/api/reporting/generateReport/*').as(
'generateReport'
);

cy.visit(`${BASE_PATH}/app/reports-dashboards#/`, {
waitForGetTenant: true,
Expand All @@ -138,4 +140,4 @@ describe('Cypress', () => {

cy.wait('@generateReport').its('response.statusCode').should('eq', 200);
});
});
});

0 comments on commit 3e148a4

Please sign in to comment.