Skip to content

Commit

Permalink
[ftr/service/appsMenu] add missing await (#66498) (#66509)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer authored May 14, 2020
1 parent 97caea5 commit 4f796ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/services/apps_menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function AppsMenuProvider({ getService }: FtrProviderContext) {
public async closeCollapsibleNav() {
const CLOSE_BUTTON = '[data-test-subj=collapsibleNav] > button';
if (await find.existsByCssSelector(CLOSE_BUTTON)) {
(await find.byCssSelector(CLOSE_BUTTON)).click();
await find.clickByCssSelector(CLOSE_BUTTON);
}
}

Expand Down

0 comments on commit 4f796ee

Please sign in to comment.