From 3e148a497acf8dc49625a3576f9d3062d4ebb8ca Mon Sep 17 00:00:00 2001 From: sumukhswamy Date: Tue, 25 Feb 2025 11:22:46 -0800 Subject: [PATCH] updated edit reports test to match gitfram Signed-off-by: sumukhswamy --- .../integration/plugins/reports-dashboards/02-edit.spec.js | 2 +- .../plugins/reports-dashboards/04-download.spec.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cypress/integration/plugins/reports-dashboards/02-edit.spec.js b/cypress/integration/plugins/reports-dashboards/02-edit.spec.js index 65df06bd0..53ced4565 100644 --- a/cypress/integration/plugins/reports-dashboards/02-edit.spec.js +++ b/cypress/integration/plugins/reports-dashboards/02-edit.spec.js @@ -185,4 +185,4 @@ describe('Cypress', () => { // check that re-direct to home page cy.get('#reportDefinitionDetailsLink').should('exist'); }); -}); \ No newline at end of file +}); diff --git a/cypress/integration/plugins/reports-dashboards/04-download.spec.js b/cypress/integration/plugins/reports-dashboards/04-download.spec.js index 71471d171..f7b99dbde 100644 --- a/cypress/integration/plugins/reports-dashboards/04-download.spec.js +++ b/cypress/integration/plugins/reports-dashboards/04-download.spec.js @@ -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, @@ -138,4 +140,4 @@ describe('Cypress', () => { cy.wait('@generateReport').its('response.statusCode').should('eq', 200); }); -}); \ No newline at end of file +});