From 72c61bc32caa7eecc30036a075c11771fe1615ff Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Thu, 20 Apr 2023 13:05:46 +0530 Subject: [PATCH] mgr/dashboard: ignore Details card in applitools vrt because the details card includes the FSID and Ceph Version which can change on different clusters. also don't run the 800x600 resolution because for new dashboard it looks really weird. Signed-off-by: Nizamudeen A (cherry picked from commit f31053b5fa149082d656b4c7e403183bc0124003) --- src/pybind/mgr/dashboard/frontend/applitools.config.js | 4 +--- .../e2e/orchestrator/workflow/09-services.e2e-spec.ts | 7 ------- .../frontend/cypress/e2e/visualTests/dashboard.vrt-spec.ts | 1 - 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/applitools.config.js b/src/pybind/mgr/dashboard/frontend/applitools.config.js index 4aaedf23e5aec..6a3511f8044d3 100644 --- a/src/pybind/mgr/dashboard/frontend/applitools.config.js +++ b/src/pybind/mgr/dashboard/frontend/applitools.config.js @@ -10,9 +10,7 @@ module.exports = { apiKey: process.env.APPLITOOLS_API_KEY, browser: [ { width: 1920, height: 1080, name: 'chrome' }, - { width: 1920, height: 1080, name: 'firefox' }, - { width: 800, height: 600, name: 'chrome' }, - { width: 800, height: 600, name: 'firefox' } + { width: 1920, height: 1080, name: 'firefox' } ], showLogs: false, saveDebugData: true, diff --git a/src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/09-services.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/09-services.e2e-spec.ts index 88b8ab4c9ea5a..ada0f4373af68 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/09-services.e2e-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/09-services.e2e-spec.ts @@ -122,11 +122,4 @@ describe('Services page', () => { services.isUnmanaged('ingress.rgw.foo', true); services.deleteService('ingress.rgw.foo'); }); - - it('should check if exporter daemons are running', () => { - services.clickServiceTab('ceph-exporter', 'Daemons'); - cy.get('cd-service-details').within(() => { - services.checkServiceStatus('ceph-exporter', 'running'); - }); - }); }); diff --git a/src/pybind/mgr/dashboard/frontend/cypress/e2e/visualTests/dashboard.vrt-spec.ts b/src/pybind/mgr/dashboard/frontend/cypress/e2e/visualTests/dashboard.vrt-spec.ts index 9613dbc85802a..450cff871b53d 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/e2e/visualTests/dashboard.vrt-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/e2e/visualTests/dashboard.vrt-spec.ts @@ -16,7 +16,6 @@ describe('Dashboard Landing Page', () => { it('should take screenshot of dashboard landing page', () => { login.navigateTo(); login.doLogin(); - cy.get('[aria-label="Details card"]').should('be.visible'); cy.get('[aria-label="Status card"]').should('be.visible'); cy.get('[aria-label="Inventory card"]').should('be.visible'); cy.get('[aria-label="Cluster utilization card"]').should('be.visible'); -- 2.39.5