Skip to content

Commit

Permalink
Fix functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Oct 16, 2023
1 parent 35fdfa6 commit 186755c
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 186755c

Please sign in to comment.