mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
e2e fix
This commit is contained in:
committed by
Sheena Malhotra
parent
fc7ecfc6aa
commit
6bbeb34b6a
@@ -74,10 +74,9 @@ export class Toolbar extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async openMoreMenu(): Promise<void> {
|
async openMoreMenu(): Promise<void> {
|
||||||
await this.isButtonPresent('More Actions');
|
const btnMoreActions = this.allByCss('[id="app.toolbar.more"]');
|
||||||
|
await btnMoreActions.isPresent();
|
||||||
const moreMenu = this.getButtonByTitleAttribute('More Actions');
|
await BrowserActions.click(btnMoreActions);
|
||||||
await BrowserActions.click(moreMenu);
|
|
||||||
|
|
||||||
await this.menu.waitForMenuToOpen();
|
await this.menu.waitForMenuToOpen();
|
||||||
await browser.sleep(500);
|
await browser.sleep(500);
|
||||||
|
Reference in New Issue
Block a user