@umbraco/playwright-testhelpers 16.0.3 → 16.0.5

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.
@@ -333,12 +333,14 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
333
333
  async clickSaveAndPublishButton() {
334
334
  await (0, test_1.expect)(this.saveAndPublishBtn).toBeVisible();
335
335
  await this.saveAndPublishBtn.click();
336
+ await this.page.waitForTimeout(500);
336
337
  }
337
338
  async clickActionsButton() {
338
339
  await this.actionsBtn.click();
339
340
  }
340
341
  async clickPublishButton() {
341
342
  await this.publishBtn.click();
343
+ await this.page.waitForTimeout(500);
342
344
  }
343
345
  async clickUnpublishButton() {
344
346
  await this.unpublishBtn.click();
@@ -474,6 +476,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
474
476
  }
475
477
  async clickSaveModalButton() {
476
478
  await this.saveModalBtn.click();
479
+ await this.page.waitForTimeout(500);
477
480
  }
478
481
  async chooseDocumentType(documentTypeName) {
479
482
  await this.documentTypeNode.filter({ hasText: documentTypeName }).click();
@@ -709,6 +712,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
709
712
  }
710
713
  async clickSaveAndCloseButton() {
711
714
  await this.saveAndCloseBtn.click();
715
+ await this.page.waitForTimeout(500);
712
716
  }
713
717
  // List View
714
718
  async clickCreateContentWithName(name) {