This commit is contained in:
Denys Vuika
2023-02-28 20:25:20 +00:00
committed by Sheena Malhotra
parent fc7ecfc6aa
commit 6bbeb34b6a

View File

@@ -74,10 +74,9 @@ export class Toolbar extends Component {
}
async openMoreMenu(): Promise<void> {
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);