mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
try fix e2e
This commit is contained in:
committed by
Sheena Malhotra
parent
10b5afce29
commit
63bf55ffab
@@ -43,7 +43,7 @@ export class Header extends Component {
|
||||
searchInput = new SearchInput();
|
||||
|
||||
constructor(ancestor?: string) {
|
||||
super('adf-layout-header', ancestor);
|
||||
super('app-sidenav-header', ancestor);
|
||||
}
|
||||
|
||||
async openMoreMenu(): Promise<void> {
|
||||
|
@@ -25,7 +25,6 @@
|
||||
|
||||
import { ElementFinder, by, element, browser, By } from 'protractor';
|
||||
import { Logger, BrowserActions } from '@alfresco/adf-testing';
|
||||
import { BROWSER_WAIT_TIMEOUT } from '../../configs';
|
||||
import { Menu } from '../menu/menu';
|
||||
import { Component } from '../component';
|
||||
|
||||
@@ -117,11 +116,6 @@ export class Sidenav extends Component {
|
||||
|
||||
async getLinkTooltip(name: string): Promise<string> {
|
||||
const link = this.getLinkLabel(name);
|
||||
const condition = () => link.getAttribute('title').then((value) => value && value.length > 0);
|
||||
|
||||
await browser.actions().mouseMove(link).perform();
|
||||
await browser.wait(condition, BROWSER_WAIT_TIMEOUT);
|
||||
|
||||
return link.getAttribute('title');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user