Skip to content

Commit

Permalink
await focus
Browse files Browse the repository at this point in the history
  • Loading branch information
thompsongl committed Jun 5, 2020
1 parent 5e7e965 commit 1b51f06
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 @@ -60,7 +60,7 @@ export function AppsMenuProvider({ getService, getPageObjects }: FtrProviderCont
if (await find.existsByCssSelector(CLOSE_BUTTON)) {
// Close button is only visible when focused
const button = await find.byCssSelector(CLOSE_BUTTON);
button.focus();
await button.focus();

await find.clickByCssSelector(CLOSE_BUTTON);
}
Expand Down

0 comments on commit 1b51f06

Please sign in to comment.