From ceb9ae182ed77ba8d5ed793982b36ec2d3833b92 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 28 Feb 2023 21:47:17 +0000 Subject: [PATCH] e2e fix --- projects/aca-testing-shared/src/components/toolbar/toolbar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/aca-testing-shared/src/components/toolbar/toolbar.ts b/projects/aca-testing-shared/src/components/toolbar/toolbar.ts index 1f7277f07..307caa3e4 100755 --- a/projects/aca-testing-shared/src/components/toolbar/toolbar.ts +++ b/projects/aca-testing-shared/src/components/toolbar/toolbar.ts @@ -23,7 +23,7 @@ * along with Alfresco. If not, see . */ -import { ElementFinder, by, browser } from 'protractor'; +import { ElementFinder, by, browser, By } from 'protractor'; import { BrowserActions } from '@alfresco/adf-testing'; import { Menu } from '../menu/menu'; import { Component } from '../component'; @@ -74,7 +74,7 @@ export class Toolbar extends Component { } async openMoreMenu(): Promise { - const btnMoreActions = this.allByCss('[id="app.toolbar.more"]'); + const btnMoreActions = browser.element(By.css('button[id="app.toolbar.more"]')); await btnMoreActions.isPresent(); await BrowserActions.click(btnMoreActions);