From 4e08f57d525b149ce33a058672a6161c287a35c1 Mon Sep 17 00:00:00 2001 From: Gloria Hornero Date: Tue, 15 Sep 2020 14:50:21 +0200 Subject: [PATCH] fixes failing tests --- x-pack/plugins/security_solution/cypress/tasks/login.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/cypress/tasks/login.ts b/x-pack/plugins/security_solution/cypress/tasks/login.ts index a93134050d02b..65f821ec5bfb7 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/login.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/login.ts @@ -149,6 +149,6 @@ export const loginAndWaitForTimeline = (timelineId: string) => { login(); cy.viewport('macbook-15'); cy.visit(`/app/security/timelines?timeline=(id:'${timelineId}',isOpen:!t)`); - cy.get('#headerGlobalNav'); + cy.get('[data-test-subj="headerGlobalNav"]'); cy.get(TIMELINE_FLYOUT_BODY).should('be.visible'); };