@umbraco/playwright-testhelpers 16.0.4 → 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.
- package/dist/lib/helpers/ContentUiHelper.js +3 -0
- package/dist/lib/helpers/ContentUiHelper.js.map +1 -1
- package/dist/lib/helpers/UiBaseLocators.js +2 -0
- package/dist/lib/helpers/UiBaseLocators.js.map +1 -1
- package/dist/lib/helpers/UserUiHelper.js +1 -0
- package/dist/lib/helpers/UserUiHelper.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -340,6 +340,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
340
340
|
}
|
|
341
341
|
async clickPublishButton() {
|
|
342
342
|
await this.publishBtn.click();
|
|
343
|
+
await this.page.waitForTimeout(500);
|
|
343
344
|
}
|
|
344
345
|
async clickUnpublishButton() {
|
|
345
346
|
await this.unpublishBtn.click();
|
|
@@ -475,6 +476,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
475
476
|
}
|
|
476
477
|
async clickSaveModalButton() {
|
|
477
478
|
await this.saveModalBtn.click();
|
|
479
|
+
await this.page.waitForTimeout(500);
|
|
478
480
|
}
|
|
479
481
|
async chooseDocumentType(documentTypeName) {
|
|
480
482
|
await this.documentTypeNode.filter({ hasText: documentTypeName }).click();
|
|
@@ -710,6 +712,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
710
712
|
}
|
|
711
713
|
async clickSaveAndCloseButton() {
|
|
712
714
|
await this.saveAndCloseBtn.click();
|
|
715
|
+
await this.page.waitForTimeout(500);
|
|
713
716
|
}
|
|
714
717
|
// List View
|
|
715
718
|
async clickCreateContentWithName(name) {
|