Skip to content

Commit

Permalink
Fix openContextMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Aug 3, 2024
1 parent 28c3f44 commit 9d93ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/services/dashboard/panel_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class DashboardPanelActionsService extends FtrService {

async openContextMenu(parent?: WebElementWrapper) {
this.log.debug(`openContextMenu(${parent}`);
const open = this.testSubjects.exists('embeddablePanelContextMenuOpen');
const open = await this.testSubjects.exists('embeddablePanelContextMenuOpen');
if (!open) await this.toggleContextMenu(parent);
await this.expectContextMenuToBeOpen();
}
Expand Down

0 comments on commit 9d93ea8

Please sign in to comment.