@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.
- package/dist/lib/helpers/ContentUiHelper.js +6 -6
- package/dist/lib/helpers/ContentUiHelper.js.map +1 -1
- package/dist/lib/helpers/DocumentApiHelper.d.ts +4 -0
- package/dist/lib/helpers/DocumentApiHelper.js +46 -1
- package/dist/lib/helpers/DocumentApiHelper.js.map +1 -1
- package/dist/lib/helpers/MediaUiHelper.js +1 -1
- package/dist/lib/helpers/MediaUiHelper.js.map +1 -1
- package/dist/lib/helpers/UiBaseLocators.d.ts +8 -0
- package/dist/lib/helpers/UiBaseLocators.js +21 -0
- package/dist/lib/helpers/UiBaseLocators.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
241
|
-
this.unpublishSelectedListItems = page.
|
|
242
|
-
this.duplicateToSelectedListItems = page.
|
|
243
|
-
this.moveToSelectedListItems = page.
|
|
244
|
-
this.trashSelectedListItems = page.
|
|
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:
|
|
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');
|