@alfresco/aca-playwright-shared 8.1.0-36696406607 → 8.1.0-36718859092

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.
@@ -2796,6 +2796,7 @@ class InfoDrawerComponent extends BaseComponent {
2796
2796
  this.generalInfoContentTypeCombobox = this.getChild('[role="combobox"]');
2797
2797
  this.generalInfoNameError = this.getChild('[data-automation-id="card-textitem-error-properties.cm:name"]');
2798
2798
  this.generalInfoSaveButton = this.getChild('[data-automation-id="save-general-info-metadata"]');
2799
+ this.viewerButton = this.getChild('[title="Preview File"]');
2799
2800
  }
2800
2801
  get viewer() {
2801
2802
  this.viewerScoped ??= new InfoDrawerComponent(this.page, `adf-viewer ${InfoDrawerComponent.rootElement}`);
@@ -2913,6 +2914,7 @@ class ViewerComponent extends BaseComponent {
2913
2914
  this.nextFileButton = this.getChild('[data-automation-id="adf-toolbar-next-file"]');
2914
2915
  this.previousFileButton = this.getChild('[data-automation-id="adf-toolbar-pref-file"]');
2915
2916
  this.noPermissionsView = this.getChild('aca-generic-error');
2917
+ this.viewDetailsButton = this.getChild('[title="View details"]');
2916
2918
  this.toolbar = new ViewerToolbarComponent(this.page);
2917
2919
  }
2918
2920
  async isPdfViewerContentDisplayed() {
@@ -4331,6 +4333,7 @@ class SearchPage extends BasePage {
4331
4333
  this.folderDialog = new AdfFolderDialogComponent(this.page);
4332
4334
  this.dataTable = new DataTableComponent(this.page);
4333
4335
  this.viewer = new ViewerComponent(this.page);
4336
+ this.infoDrawer = new InfoDrawerComponent(this.page);
4334
4337
  this.searchInputComponent = new SearchInputComponent(this.page);
4335
4338
  this.searchInDialog = new SearchInDialogComponent(this.page);
4336
4339
  this.searchSortingPicker = new SearchSortingPicker(this.page);