diff --git a/cypress/integration/plugins/observability-dashboards/1_trace_analytics_dashboard.spec.js b/cypress/integration/plugins/observability-dashboards/1_trace_analytics_dashboard.spec.js index 6c1162393..1ff813617 100644 --- a/cypress/integration/plugins/observability-dashboards/1_trace_analytics_dashboard.spec.js +++ b/cypress/integration/plugins/observability-dashboards/1_trace_analytics_dashboard.spec.js @@ -36,6 +36,10 @@ describe('Testing dashboard table', () => { '[data-test-subj="trace-groups-service-operation-accordian"]' ).click(); + cy.get('[data-test-subj="dashboard-table-trace-group-name-button"]').should( + 'be.visible' + ); + cy.contains(' >= 95 percentile').click({ force: true }); cy.wait(delayTime); cy.contains(' >= 95 percentile').click({ force: true }); @@ -64,6 +68,11 @@ describe('Testing dashboard table', () => { cy.get( '[data-test-subj="trace-groups-service-operation-accordian"]' ).click(); + + cy.get('[data-test-subj="dashboard-table-trace-group-name-button"]').should( + 'be.visible' + ); + cy.get('.euiButtonIcon[aria-label="Open popover"]').first().click(); cy.get('text.ytitle[data-unformatted="Hourly latency (ms)"]').should( 'exist' @@ -74,6 +83,11 @@ describe('Testing dashboard table', () => { cy.get( '[data-test-subj="trace-groups-service-operation-accordian"]' ).click(); + + cy.get('[data-test-subj="dashboard-table-trace-group-name-button"]').should( + 'be.visible' + ); + cy.get('[data-test-subj="dashboard-table-traces-button"]') .contains('13') .click(); @@ -100,6 +114,10 @@ describe('Testing plots', () => { cy.get( '[data-test-subj="trace-groups-service-operation-accordian"]' ).click(); + + cy.get('[data-test-subj="dashboard-table-trace-group-name-button"]').should( + 'be.visible' + ); }); it('Renders plots', () => {