mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-4708] Implemented user initials (#3184)
* added user initials * modified spec file * changes for config files * class name renamed * implemented the review comments
This commit is contained in:
@@ -33,7 +33,7 @@ import { BrowserActions } from '@alfresco/adf-testing';
|
||||
|
||||
export class Header extends Component {
|
||||
logoLink = this.byCss('.app-menu__title');
|
||||
moreActions = browser.element(by.id('app.header.more'));
|
||||
userMenuButton = this.byCss(`.aca-user-menu-button`);
|
||||
sidenavToggle = this.byCss(`.sidenav-header-title-logo`);
|
||||
|
||||
userInfo = new UserInfo();
|
||||
@@ -46,12 +46,12 @@ export class Header extends Component {
|
||||
}
|
||||
|
||||
async openMoreMenu(): Promise<void> {
|
||||
await BrowserActions.click(this.moreActions);
|
||||
await BrowserActions.click(this.userMenuButton);
|
||||
await this.menu.waitForMenuToOpen();
|
||||
}
|
||||
|
||||
async closeMoreMenu(): Promise<void> {
|
||||
await BrowserActions.click(this.moreActions);
|
||||
await BrowserActions.click(this.userMenuButton);
|
||||
await this.menu.waitForMenuToClose();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user