From 1be1fd45c6840381e71904ef5f1c4f2643bf1f01 Mon Sep 17 00:00:00 2001 From: Vicky Lee <36230812+vickyyyyyyy@users.noreply.github.com> Date: Thu, 28 Jan 2021 10:01:59 +0000 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Hugo Häggmark --- 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 b2c42fb6e31..b20ab4e3aa2 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('have.focus'); + e2e.components.Select.input().should('exist').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('not.have.focus'); + e2e.components.Select.input().should('exist').should('not.have.focus'); }); }, });