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'); }); }, });