@alfresco/aca-playwright-shared 7.5.0-25317422666 → 7.5.0-25423682816
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -396,7 +396,8 @@ const SIDEBAR_LABELS = {
|
|
|
396
396
|
SHARED_FILES: 'Shared',
|
|
397
397
|
RECENT_FILES: 'Recent Files',
|
|
398
398
|
FAVORITES: 'Favorites',
|
|
399
|
-
TRASH: 'Trash'
|
|
399
|
+
TRASH: 'Trash',
|
|
400
|
+
REPOSITORY: 'Repository'
|
|
400
401
|
};
|
|
401
402
|
const SITE_ROLES = {
|
|
402
403
|
SITE_MANAGER: {
|
|
@@ -3395,6 +3396,7 @@ class SidenavComponent extends BaseComponent {
|
|
|
3395
3396
|
this.recentFiles = this.getChild(`[data-automation-id='app.navbar.recentFiles']`);
|
|
3396
3397
|
this.favorites = this.getChild(`[data-automation-id='app.navbar.favorites']`);
|
|
3397
3398
|
this.trash = this.getChild(`[data-automation-id='app.navbar.trashcan']`);
|
|
3399
|
+
this.repository = this.getChild(`[data-automation-id="app.navbar.repositoryView"]`);
|
|
3398
3400
|
this.sidenavToggle = this.getChild(`.aca-sidenav-header-title-logo`);
|
|
3399
3401
|
this.sidenavExpand = this.page.locator(`[title='Expand navigation menu']`);
|
|
3400
3402
|
this.expandedSidenav = this.getChild(`[data-automation-id='expanded']`);
|
|
@@ -3422,6 +3424,8 @@ class SidenavComponent extends BaseComponent {
|
|
|
3422
3424
|
return this.favorites;
|
|
3423
3425
|
case SIDEBAR_LABELS.TRASH:
|
|
3424
3426
|
return this.trash;
|
|
3427
|
+
case SIDEBAR_LABELS.REPOSITORY:
|
|
3428
|
+
return this.repository;
|
|
3425
3429
|
default:
|
|
3426
3430
|
return this.personalFiles;
|
|
3427
3431
|
}
|