diff --git a/web/cypress/e2e/coo/02.acm_alerting_ui.cy.ts b/web/cypress/e2e/coo/02.acm_alerting_ui.cy.ts index a2f1c79d..6b15968c 100644 --- a/web/cypress/e2e/coo/02.acm_alerting_ui.cy.ts +++ b/web/cypress/e2e/coo/02.acm_alerting_ui.cy.ts @@ -27,6 +27,7 @@ describe('ACM Alerting UI', { tags: ['@coo', '@alerts'] }, () => { it('Navigate to Fleet Management > local-cluster > Observe > Alerting', () => { // check monitoring-plugin UI is not been affected + cy.switchPerspective('Core platform'); nav.sidenav.clickNavLink(['Observe', 'Alerting']); commonPages.titleShouldHaveText('Alerting') nav.sidenav.clickNavLink(['Observe', 'Metrics']); diff --git a/web/cypress/support/commands/operator-commands.ts b/web/cypress/support/commands/operator-commands.ts index bc88096e..94b50511 100644 --- a/web/cypress/support/commands/operator-commands.ts +++ b/web/cypress/support/commands/operator-commands.ts @@ -302,7 +302,8 @@ const operatorUtils = { cy.log(`Observability-operator pod is now running in namespace: ${MCP.namespace}`); }); }); - + + cy.switchPerspective('Core platform'); cy.get('#page-sidebar').then(($sidebar) => { const section = $sidebar.text().includes('Ecosystem') ? 'Ecosystem' : 'Operators'; nav.sidenav.clickNavLink([section, 'Installed Operators']);