mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-20] Sidenav - navigate to first child route when expanded for the first time (#798)
* bradcrumb root title * use correct i18n string reference * expansion panel state directive * takeUntil * fix text * parameter type * fix title error message reference * fix My Libraries test and add separate one for Favourite Libraries
This commit is contained in:
@@ -63,6 +63,17 @@ export class BrowsingPage extends Page {
|
||||
await this.sidenav.navigateToLinkByLabel(SIDEBAR_LABELS.MY_LIBRARIES);
|
||||
}
|
||||
|
||||
async clickFavoriteLibraries() {
|
||||
await this.sidenav.expandMenu(SIDEBAR_LABELS.FILE_LIBRARIES);
|
||||
await this.sidenav.navigateToLinkByLabel(SIDEBAR_LABELS.FAVORITE_LIBRARIES);
|
||||
}
|
||||
|
||||
async clickMyLibraries() {
|
||||
if ( !(await this.sidenav.isFileLibrariesMenuExpanded()) ) {
|
||||
await this.sidenav.expandMenu(SIDEBAR_LABELS.FILE_LIBRARIES);
|
||||
}
|
||||
await this.sidenav.navigateToLinkByLabel(SIDEBAR_LABELS.MY_LIBRARIES);
|
||||
}
|
||||
|
||||
async clickRecentFilesAndWait() {
|
||||
await this.sidenav.navigateToLinkByLabel(SIDEBAR_LABELS.RECENT_FILES);
|
||||
|
Reference in New Issue
Block a user