@umbraco/playwright-testhelpers 17.0.6 → 17.0.7

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.
@@ -583,7 +583,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
583
583
  await (0, test_1.expect)(this.documentTreeItem.locator('[label="' + parentName + '"]').getByLabel(childName)).toBeVisible({ visible: isVisible });
584
584
  }
585
585
  async removeContentPicker(contentPickerName) {
586
- const contentPickerLocator = this.page.locator('umb-entity-item-ref').filter({ has: this.page.locator('[name="' + contentPickerName + '"]') });
586
+ const contentPickerLocator = this.entityItem.filter({ has: this.page.locator('[name="' + contentPickerName + '"]') });
587
587
  await contentPickerLocator.hover();
588
588
  await contentPickerLocator.getByLabel('Remove').click();
589
589
  await this.clickConfirmRemoveButton();
@@ -645,7 +645,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
645
645
  await this.sidebarModal.getByText(memberName, { exact: true }).click();
646
646
  }
647
647
  async removeMemberPickerByName(memberName) {
648
- const mediaPickerLocator = this.page.locator('umb-entity-item-ref').filter({ has: this.page.locator('[name="' + memberName + '"]') });
648
+ const mediaPickerLocator = this.entityItem.filter({ has: this.page.locator('[name="' + memberName + '"]') });
649
649
  await mediaPickerLocator.hover();
650
650
  await mediaPickerLocator.getByLabel('Remove').click();
651
651
  await this.clickConfirmRemoveButton();