@umbraco/playwright-testhelpers 15.0.32 → 15.0.34

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.
@@ -237,11 +237,11 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
237
237
  this.listView = page.locator('umb-document-table-collection-view');
238
238
  this.nameBtn = page.getByRole('button', { name: 'Name' });
239
239
  this.listViewTableRow = this.listView.locator('uui-table-row');
240
- this.publishSelectedListItems = page.getByRole('button', { name: /^Publish(…)?$/ });
241
- this.unpublishSelectedListItems = page.getByRole('button', { name: /^Unpublish(…)?$/ });
242
- this.duplicateToSelectedListItems = page.getByRole('button', { name: /^Duplicate to(…)?$/ });
243
- this.moveToSelectedListItems = page.getByRole('button', { name: /^Move to(…)?$/ });
244
- this.trashSelectedListItems = page.getByRole('button', { name: /^Trash(…)?$/ });
240
+ this.publishSelectedListItems = page.locator('umb-entity-bulk-action').getByText('Publish', { exact: true });
241
+ this.unpublishSelectedListItems = page.locator('umb-entity-bulk-action').getByText('Unpublish', { exact: true });
242
+ this.duplicateToSelectedListItems = page.locator('umb-entity-bulk-action').getByText('Duplicate to', { exact: true });
243
+ this.moveToSelectedListItems = page.locator('umb-entity-bulk-action').getByText('Move to', { exact: true });
244
+ this.trashSelectedListItems = page.locator('umb-entity-bulk-action').getByText('Trash', { exact: true });
245
245
  this.modalContent = page.locator('umb-tree-picker-modal');
246
246
  this.trashBtn = page.getByLabel(/^Trash(…)?$/);
247
247
  this.exactTrashBtn = page.getByRole('button', { name: 'Trash', exact: true });
@@ -258,7 +258,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
258
258
  this.duplicateBtn = page.getByLabel('Duplicate', { exact: true });
259
259
  this.contentTreeRefreshBtn = page.locator('#header').getByLabel('#actions_refreshNode');
260
260
  this.sortChildrenBtn = page.getByRole('button', { name: 'Sort children' });
261
- this.rollbackBtn = page.getByRole('button', { name: 'Rollback', exact: true });
261
+ this.rollbackBtn = page.getByRole('button', { name: /^Rollback(…)?$/, exact: true });
262
262
  this.rollbackContainerBtn = this.container.getByLabel('Rollback');
263
263
  this.publicAccessBtn = page.getByRole('button', { name: 'Public Access' });
264
264
  this.uuiCheckbox = page.locator('uui-checkbox');