@alfresco/aca-playwright-shared 8.1.0-38862957985 → 8.1.0-38896656610

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.
@@ -2789,6 +2789,7 @@ class InfoDrawerComponent extends BaseComponent {
2789
2789
  this.commentTextContent = this.getChild('.adf-comment-message');
2790
2790
  this.commentTimestamp = this.getChild('.adf-comment-message-time');
2791
2791
  this.infoDrawerPanel = this.page.locator(InfoDrawerComponent.rootElement);
2792
+ this.infoDrawerPanelViewer = this.page.locator('adf-viewer-sidebar aca-info-drawer adf-info-drawer-layout');
2792
2793
  this.headerTitle = this.getChild('.adf-info-drawer-layout-header-title').getByRole('heading');
2793
2794
  this.editButton = this.page.getByRole('button', { name: 'Edit' });
2794
2795
  this.cancelButton = this.page.getByRole('button', { name: 'Cancel' });
@@ -2796,7 +2797,8 @@ class InfoDrawerComponent extends BaseComponent {
2796
2797
  this.hintMessage = this.getChild('[data-automation-id="app-library-metadata-form-name-hint"]');
2797
2798
  this.errorNameMessage = this.getChild('[data-automation-id="library-name-properties-wrapper"] [aria-atomic="true"]');
2798
2799
  this.errorDescriptionMessage = this.getChild('[data-automation-id="library-description-properties-wrapper"] [aria-atomic="true"]');
2799
- this.expandDetailsButton = this.getChild(`button[title='Expand panel']`);
2800
+ this.expandDetailsButton = this.infoDrawerPanel.locator(`button[title='Expand panel']`);
2801
+ this.expandDetailsButtonViewer = this.infoDrawerPanelViewer.locator(`button[title='Expand panel']`);
2800
2802
  this.expandedDetailsTabs = this.page.locator('.aca-details-container [role="tab"]');
2801
2803
  this.expandedDetailsPermissionsTab = this.expandedDetailsTabs.getByText('Permissions');
2802
2804
  this.nameField = this.getChild('input[placeholder=Name]');
@@ -2866,6 +2868,40 @@ class InfoDrawerComponent extends BaseComponent {
2866
2868
  }
2867
2869
  }
2868
2870
 
2871
+ /*!
2872
+ * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.
2873
+ *
2874
+ * Alfresco Example Content Application
2875
+ *
2876
+ * This file is part of the Alfresco Example Content Application.
2877
+ * If the software was purchased under a paid Alfresco license, the terms of
2878
+ * the paid license agreement will prevail. Otherwise, the software is
2879
+ * provided under the following open source license terms:
2880
+ *
2881
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
2882
+ * it under the terms of the GNU Lesser General Public License as published by
2883
+ * the Free Software Foundation, either version 3 of the License, or
2884
+ * (at your option) any later version.
2885
+ *
2886
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
2887
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2888
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2889
+ * GNU Lesser General Public License for more details.
2890
+ *
2891
+ * You should have received a copy of the GNU Lesser General Public License
2892
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
2893
+ */
2894
+ class DetailsPageComponent extends BaseComponent {
2895
+ static { this.rootElement = '.aca-details-container'; }
2896
+ constructor(page) {
2897
+ super(page, DetailsPageComponent.rootElement);
2898
+ this.reducePanelButton = this.getChild('[data-automation-id="close-library"]');
2899
+ this.detailsTabs = this.getChild('.aca-details-tabs');
2900
+ this.metadataTab = this.getChild('app-metadata-tab');
2901
+ this.contentMetadata = this.getChild('adf-content-metadata');
2902
+ }
2903
+ }
2904
+
2869
2905
  /*!
2870
2906
  * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.
2871
2907
  *
@@ -4093,6 +4129,7 @@ class PersonalFilesPage extends BasePage {
4093
4129
  this.shareDialog = new ShareDialogComponent(this.page);
4094
4130
  this.confirmDialog = new AdfConfirmDialogComponent(this.page);
4095
4131
  this.infoDrawer = new InfoDrawerComponent(this.page);
4132
+ this.detailsPage = new DetailsPageComponent(this.page);
4096
4133
  this.nodeInfoEditMode = new EditModeComponent(this.page);
4097
4134
  this.uploadNewVersionDialog = new UploadNewVersionDialog(this.page);
4098
4135
  this.manageVersionsDialog = new ManageVersionsDialog(this.page);
@@ -4374,6 +4411,7 @@ class SearchPage extends BasePage {
4374
4411
  this.dataTable = new DataTableComponent(this.page);
4375
4412
  this.viewer = new ViewerComponent(this.page);
4376
4413
  this.infoDrawer = new InfoDrawerComponent(this.page);
4414
+ this.detailsPage = new DetailsPageComponent(this.page);
4377
4415
  this.searchInputComponent = new SearchInputComponent(this.page);
4378
4416
  this.searchInDialog = new SearchInDialogComponent(this.page);
4379
4417
  this.searchSortingPicker = new SearchSortingPicker(this.page);
@@ -7566,5 +7604,5 @@ const TEST_FILES = {
7566
7604
  * Generated bundle index. Do not edit.
7567
7605
  */
7568
7606
 
7569
- export { APP_ROUTES, AcaHeader, ActionType, ActionTypes, ActionsDropdownComponent, AdfConfirmDialogComponent, AdfDeleteTrashComponent, AdfFolderDialogComponent, AdfLibraryDialogComponent, ApiClientFactory, BaseComponent, BasePage, Breadcrumb, CategoriesApi, Comparator, ConditionComponent, ConditionsTypes, ContentNodeSelectorDialog, CreateFromTemplateDialogComponent, DataTableComponent, DateTimePicker, EditDialog, EditModeComponent, ErrorComponent, FavoritesApi, FavoritesLibrariesPage, FavoritesPage, Field, FolderInformationDialogComponent, InfoDrawerComponent, LinkRulesDialog, LoginPage, ManageRules, ManageRulesDialogComponent, ManageVersionsDialog, MatMenuComponent, MimeType, MyLibrariesPage, NodesApi, NodesPage, PaginationActionsType, PaginationComponent, PasswordOverlayDialogComponent, Person, PersonalFilesPage, QueriesApi, RecentFilesPage, RepositoryPage, RulesApi, RulesToolbarComponent, SIDEBAR_LABELS, SITE_ROLES, SITE_VISIBILITY, SearchApi, SearchFilters, SearchFiltersCategories, SearchFiltersDate, SearchFiltersLocation, SearchFiltersLogic, SearchFiltersProperties, SearchFiltersTags, SearchInputComponent, SearchMenuCard, SearchPage, SearchSortingPicker, ShareDialogComponent, SharedLinksApi, SharedPage, SidenavComponent, SitesApi, SnackBarComponent, TEST_FILES, TagsApi, TrashPage, TrashcanApi, UploadApi, UploadDialog, UploadNewVersionDialog, UserModel, Utils, ViewerComponent, ViewerOverlayDialogComponent, ViewerToolbarComponent, cleanupRepositoryTestData, createSuiteProjects, errorStrings, file, flattenNodeContentTree, folderFavFile, folderFile, getBrowserProjects, getExcludedTestsRegExpArray, getGlobalConfig, getUserState, hasAccessibleAttribute, hasAccessibleName, isInteractiveElement, libraryErrors, logger, multipleSelFile, paths, seedRepositoryTestData, test, testEmailDomain, timeouts, users, verifyDataTableAccessibility, verifyElementsHaveNames, verifyRegionAccessibleNames, waitForApi };
7607
+ export { APP_ROUTES, AcaHeader, ActionType, ActionTypes, ActionsDropdownComponent, AdfConfirmDialogComponent, AdfDeleteTrashComponent, AdfFolderDialogComponent, AdfLibraryDialogComponent, ApiClientFactory, BaseComponent, BasePage, Breadcrumb, CategoriesApi, Comparator, ConditionComponent, ConditionsTypes, ContentNodeSelectorDialog, CreateFromTemplateDialogComponent, DataTableComponent, DateTimePicker, DetailsPageComponent, EditDialog, EditModeComponent, ErrorComponent, FavoritesApi, FavoritesLibrariesPage, FavoritesPage, Field, FolderInformationDialogComponent, InfoDrawerComponent, LinkRulesDialog, LoginPage, ManageRules, ManageRulesDialogComponent, ManageVersionsDialog, MatMenuComponent, MimeType, MyLibrariesPage, NodesApi, NodesPage, PaginationActionsType, PaginationComponent, PasswordOverlayDialogComponent, Person, PersonalFilesPage, QueriesApi, RecentFilesPage, RepositoryPage, RulesApi, RulesToolbarComponent, SIDEBAR_LABELS, SITE_ROLES, SITE_VISIBILITY, SearchApi, SearchFilters, SearchFiltersCategories, SearchFiltersDate, SearchFiltersLocation, SearchFiltersLogic, SearchFiltersProperties, SearchFiltersTags, SearchInputComponent, SearchMenuCard, SearchPage, SearchSortingPicker, ShareDialogComponent, SharedLinksApi, SharedPage, SidenavComponent, SitesApi, SnackBarComponent, TEST_FILES, TagsApi, TrashPage, TrashcanApi, UploadApi, UploadDialog, UploadNewVersionDialog, UserModel, Utils, ViewerComponent, ViewerOverlayDialogComponent, ViewerToolbarComponent, cleanupRepositoryTestData, createSuiteProjects, errorStrings, file, flattenNodeContentTree, folderFavFile, folderFile, getBrowserProjects, getExcludedTestsRegExpArray, getGlobalConfig, getUserState, hasAccessibleAttribute, hasAccessibleName, isInteractiveElement, libraryErrors, logger, multipleSelFile, paths, seedRepositoryTestData, test, testEmailDomain, timeouts, users, verifyDataTableAccessibility, verifyElementsHaveNames, verifyRegionAccessibleNames, waitForApi };
7570
7608
  //# sourceMappingURL=alfresco-aca-playwright-shared.mjs.map