From c265691e7c87d3c3b4405b5d06e10fcf5d60026f Mon Sep 17 00:00:00 2001 From: Ritvi Bhatt Date: Tue, 10 Dec 2024 15:11:28 -0800 Subject: [PATCH] wait for table to load before clicking trace Signed-off-by: Ritvi Bhatt --- .../trace_analytics_test/trace_analytics_traces.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.cypress/integration/trace_analytics_test/trace_analytics_traces.spec.js b/.cypress/integration/trace_analytics_test/trace_analytics_traces.spec.js index 96229d932..a6a3e89f3 100644 --- a/.cypress/integration/trace_analytics_test/trace_analytics_traces.spec.js +++ b/.cypress/integration/trace_analytics_test/trace_analytics_traces.spec.js @@ -164,6 +164,7 @@ describe('Testing traces tree view', () => { cy.get("[data-test-subj='indexPattern-switch-link']").click(); cy.get("[data-test-subj='data_prepper-mode']").click(); setTimeFilter(); + cy.get('[data-test-subj="globalLoadingIndicator"]').should('not.exist'); cy.contains('02feb3a4f611abd81f2a53244d1278ae').click(); cy.get('h1.overview-content').contains('02feb3a4f611abd81f2a53244d1278ae').should('exist'); });