From 6bbeb34b6ab222ecc5b50e9c8b78873f5c52b07e Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 28 Feb 2023 20:25:20 +0000 Subject: [PATCH] e2e fix --- .../aca-testing-shared/src/components/toolbar/toolbar.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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);