mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[AAE-18442] Add data-automation-id to ACA user initials and sidenav (#3554)
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
<div class="aca-sidenav-header">
|
<div class="aca-sidenav-header" data-automation-id="app-sidenav-header">
|
||||||
<div class="aca-sidenav-header-title">
|
<div class="aca-sidenav-header-title" data-automation-id="app-sidenav-header-title">
|
||||||
<div class="aca-sidenav-header-title-logo"
|
<div class="aca-sidenav-header-title-logo"
|
||||||
tabindex=0
|
tabindex=0
|
||||||
|
data-automation-id="app-sidenav-header-title-logo"
|
||||||
(click)="toggleNavBar.emit()"
|
(click)="toggleNavBar.emit()"
|
||||||
(keypress)="toggleNavBar.emit()">
|
(keypress)="toggleNavBar.emit()">
|
||||||
<img
|
<img
|
||||||
@@ -10,7 +11,10 @@
|
|||||||
alt="{{ 'CORE.HEADER.LOGO_ARIA' | translate }}" />
|
alt="{{ 'CORE.HEADER.LOGO_ARIA' | translate }}" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="aca-sidenav-header-title-text" [routerLink]="landingPage">
|
<div
|
||||||
|
class="aca-sidenav-header-title-text"
|
||||||
|
data-automation-id="app-sidenav-header-title-text"
|
||||||
|
[routerLink]="landingPage">
|
||||||
{{ appName$ | async | translate }}
|
{{ appName$ | async | translate }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@@ -1,5 +1,9 @@
|
|||||||
<button mat-button class="aca-user-menu-button" [matMenuTriggerFor]="menu"
|
<button mat-button
|
||||||
title="{{'APP.TOOLTIPS.OPTIONS_SETTINGS' | translate}}">
|
class="aca-user-menu-button"
|
||||||
|
data-automation-id="app-user-menu-button"
|
||||||
|
[matMenuTriggerFor]="menu"
|
||||||
|
title="{{'APP.TOOLTIPS.OPTIONS_SETTINGS' | translate}}"
|
||||||
|
>
|
||||||
<div>{{ (displayName$ | async)?.initials }}</div>
|
<div>{{ (displayName$ | async)?.initials }}</div>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user