From 4f8a70b843ce37d86974b5f3b387b73f3e51f1a1 Mon Sep 17 00:00:00 2001 From: Vicky Lee Date: Thu, 28 Jan 2021 09:43:59 +0000 Subject: [PATCH] fix select-focus spec --- e2e/suite1/specs/select-focus.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/suite1/specs/select-focus.spec.ts b/e2e/suite1/specs/select-focus.spec.ts index 8c0cae407fb..b2c42fb6e31 100644 --- a/e2e/suite1/specs/select-focus.spec.ts +++ b/e2e/suite1/specs/select-focus.spec.ts @@ -17,7 +17,7 @@ e2e.scenario({ e2e.components.Select.option().should('be.visible').first().click(); - e2e.components.Select.input().should('be.visible').should('have.focus'); + e2e.components.Select.input().should('have.focus'); }); e2e.pages.Dashboard.Settings.General.title().click(); @@ -25,7 +25,7 @@ e2e.scenario({ e2e.components.FolderPicker.container() .should('be.visible') .within(() => { - e2e.components.Select.input().should('be.visible').should('not.have.focus'); + e2e.components.Select.input().should('not.have.focus'); }); }, });