@umbraco/playwright-testhelpers 16.0.36 → 16.0.38

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.
@@ -420,4 +420,5 @@ export declare class ContentUiHelper extends UiBaseLocators {
420
420
  waitForRecycleBinToBeEmptied(): Promise<void>;
421
421
  clickBlockElementInRTEWithName(elementTypeName: string): Promise<void>;
422
422
  doesModalFormValidationMessageContainText(text: string): Promise<void>;
423
+ isContentNameReadOnly(): Promise<void>;
423
424
  }
@@ -202,7 +202,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
202
202
  this.anchorQuerystringTxt = page.getByLabel('#value or ?key=value');
203
203
  this.linkTitleTxt = this.linkPickerModal.getByLabel('Title');
204
204
  this.tagItems = page.locator('uui-tag');
205
- this.removeFilesBtn = page.locator('umb-input-upload-field [label="Remove file(s)"]');
205
+ this.removeFilesBtn = page.locator('umb-input-upload-field [label="Clear file(s)"]');
206
206
  this.toggleBtn = page.locator('umb-property-editor-ui-toggle #toggle');
207
207
  this.toggleInput = page.locator('umb-property-editor-ui-toggle span');
208
208
  this.documentTypeWorkspace = this.sidebarModal.locator('umb-document-type-workspace-editor');
@@ -1421,6 +1421,9 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
1421
1421
  async doesModalFormValidationMessageContainText(text) {
1422
1422
  await (0, test_1.expect)(this.modalFormValidationMessage).toContainText(text);
1423
1423
  }
1424
+ async isContentNameReadOnly() {
1425
+ await (0, test_1.expect)(this.contentNameTxt).toHaveAttribute('readonly');
1426
+ }
1424
1427
  }
1425
1428
  exports.ContentUiHelper = ContentUiHelper;
1426
1429
  //# sourceMappingURL=ContentUiHelper.js.map