From 186755c946073603b68e86668eddb3b3ca059818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loix?= Date: Mon, 16 Oct 2023 16:46:32 +0100 Subject: [PATCH] Fix functional test --- .../observability/cypress/e2e/navigation.cy.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/x-pack/test_serverless/functional/test_suites/observability/cypress/e2e/navigation.cy.ts b/x-pack/test_serverless/functional/test_suites/observability/cypress/e2e/navigation.cy.ts index 22b59a9e3ed0..27e2934a6689 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/cypress/e2e/navigation.cy.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/cypress/e2e/navigation.cy.ts @@ -153,14 +153,20 @@ describe.skip('Serverless', () => { it('sets AIOps nav item as active', () => { cy.visitKibana('/app/ml/aiops/explain_log_rate_spikes'); - cy.getByTestSubj('nav-item-id-aiops').should('have.class', 'euiSideNavItemButton-isOpen'); + cy.getByTestSubj('nav-item-id-observability_project_nav.aiops').should( + 'have.class', + 'euiSideNavItemButton-isOpen' + ); cy.getByTestSubj('nav-item-id-ml:logRateAnalysis').should( 'have.class', 'euiSideNavItemButton-isSelected' ); cy.visitKibana('/app/ml/aiops/change_point_detection'); - cy.getByTestSubj('nav-item-id-aiops').should('have.class', 'euiSideNavItemButton-isOpen'); + cy.getByTestSubj('nav-item-id-observability_project_nav.aiops').should( + 'have.class', + 'euiSideNavItemButton-isOpen' + ); cy.getByTestSubj('nav-item-id-ml:changePointDetections').should( 'have.class', 'euiSideNavItemButton-isSelected'