@umbraco/playwright-testhelpers 16.0.26 → 16.0.27

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.
@@ -179,7 +179,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
179
179
  this.contentNameTxt = page.locator('#name-input input');
180
180
  this.publishBtn = page.getByLabel(/^Publish(…)?$/);
181
181
  this.unpublishBtn = page.getByLabel(/^Unpublish(…)?$/);
182
- this.actionMenuForContentBtn = page.locator('#header #action-modal');
182
+ this.actionMenuForContentBtn = page.locator('#header').getByTestId('open-dropdown');
183
183
  this.openedModal = page.locator('uui-modal-container[backdrop]');
184
184
  this.textstringTxt = page.locator('umb-property-editor-ui-text-box #input');
185
185
  this.reloadChildrenThreeDotsBtn = page.getByRole('button', { name: 'Reload children…' });
@@ -372,7 +372,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
372
372
  await this.reloadChildrenThreeDotsBtn.click();
373
373
  }
374
374
  async clickActionsMenuAtRoot() {
375
- await this.actionMenuForContentBtn.click();
375
+ await this.actionMenuForContentBtn.click({ force: true });
376
376
  }
377
377
  async goToContentWithName(contentName) {
378
378
  const contentWithNameLocator = this.menuItemTree.getByText(contentName, { exact: true });