mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-08 14:51:14 +00:00
e2e fix
This commit is contained in:
committed by
Sheena Malhotra
parent
6bbeb34b6a
commit
ceb9ae182e
@@ -23,7 +23,7 @@
|
|||||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { ElementFinder, by, browser } from 'protractor';
|
import { ElementFinder, by, browser, By } from 'protractor';
|
||||||
import { BrowserActions } from '@alfresco/adf-testing';
|
import { BrowserActions } from '@alfresco/adf-testing';
|
||||||
import { Menu } from '../menu/menu';
|
import { Menu } from '../menu/menu';
|
||||||
import { Component } from '../component';
|
import { Component } from '../component';
|
||||||
@@ -74,7 +74,7 @@ export class Toolbar extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async openMoreMenu(): Promise<void> {
|
async openMoreMenu(): Promise<void> {
|
||||||
const btnMoreActions = this.allByCss('[id="app.toolbar.more"]');
|
const btnMoreActions = browser.element(By.css('button[id="app.toolbar.more"]'));
|
||||||
await btnMoreActions.isPresent();
|
await btnMoreActions.isPresent();
|
||||||
await BrowserActions.click(btnMoreActions);
|
await BrowserActions.click(btnMoreActions);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user