Apply suggestions from code review

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
This commit is contained in:
Vicky Lee 2021-01-28 10:01:59 +00:00 committed by GitHub
parent 4f8a70b843
commit 1be1fd45c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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