diff --git a/projects/aca-testing-shared/src/components/toolbar/toolbar.ts b/projects/aca-testing-shared/src/components/toolbar/toolbar.ts index 394d6fcfc..1f7277f07 100755 --- a/projects/aca-testing-shared/src/components/toolbar/toolbar.ts +++ b/projects/aca-testing-shared/src/components/toolbar/toolbar.ts @@ -74,10 +74,9 @@ export class Toolbar extends Component { } async openMoreMenu(): Promise { - await this.isButtonPresent('More Actions'); - - const moreMenu = this.getButtonByTitleAttribute('More Actions'); - await BrowserActions.click(moreMenu); + const btnMoreActions = this.allByCss('[id="app.toolbar.more"]'); + await btnMoreActions.isPresent(); + await BrowserActions.click(btnMoreActions); await this.menu.waitForMenuToOpen(); await browser.sleep(500);