diff --git a/.cypress/integration/trace_analytics_test/trace_analytics_services.spec.js b/.cypress/integration/trace_analytics_test/trace_analytics_services.spec.js index 024e3f984..567999d1a 100644 --- a/.cypress/integration/trace_analytics_test/trace_analytics_services.spec.js +++ b/.cypress/integration/trace_analytics_test/trace_analytics_services.spec.js @@ -186,9 +186,10 @@ describe('Testing traces Spans table verify table headers functionality', () => cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist'); expandServiceView(1); cy.get('[data-test-subj = "dataGridColumnSelectorButton"]').click({ force: true }); - cy.get('.panel-title-count').contains('8').should('exist'); + cy.scrollTo('bottom'); cy.get('.euiSwitch.euiSwitch--compressed.euiSwitch--mini .euiSwitch__button').eq(3).click(); cy.get('[data-test-subj = "dataGridColumnSelectorButton"]').click().should('have.text', '2 columns hidden'); + cy.get('.panel-title-count').contains('8').should('exist'); count_table_row(8); });