@digital-ai/devops-page-object-release 0.0.0-snapshot-20251209141752 → 0.0.0-snapshot-20251210041025
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/CHANGELOG.md +2 -2
- package/dist/main.js +4 -22
- package/dist/main.js.map +1 -1
- package/dist/module.js +4 -22
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -2937,27 +2937,6 @@ class $c9bb587dd92143c3$export$d1077068a9cc9f17 extends (0, $9626bc9256ce31f7$ex
|
|
|
2937
2937
|
async expectReleaseTaggedWith(tagName) {
|
|
2938
2938
|
await (0, $hOLA6$expect)(this.page.locator("#tags")).toContainText(tagName);
|
|
2939
2939
|
}
|
|
2940
|
-
async expectReleaseNotTaggedWith(tagName) {
|
|
2941
|
-
await (0, $hOLA6$expect)(this.page.locator(`#tags`, {
|
|
2942
|
-
hasText: tagName
|
|
2943
|
-
})).toHaveCount(0);
|
|
2944
|
-
}
|
|
2945
|
-
async addTag(tagName) {
|
|
2946
|
-
const tagInput = this.page.locator('input[placeholder="Add a tag..."]');
|
|
2947
|
-
await tagInput.fill(tagName);
|
|
2948
|
-
await tagInput.press("Enter");
|
|
2949
|
-
await (0, $hOLA6$expect)(this.page.locator(`#tags`, {
|
|
2950
|
-
hasText: tagName
|
|
2951
|
-
})).toBeVisible();
|
|
2952
|
-
}
|
|
2953
|
-
async removeTag(tagName) {
|
|
2954
|
-
const tag = this.page.locator(`#tags`, {
|
|
2955
|
-
hasText: tagName
|
|
2956
|
-
});
|
|
2957
|
-
const removeIcon = tag.locator(".tag-close");
|
|
2958
|
-
await removeIcon.click();
|
|
2959
|
-
await (0, $hOLA6$expect)(tag).toHaveCount(0);
|
|
2960
|
-
}
|
|
2961
2940
|
async expectTemplateTitleToBe(templateTitle) {
|
|
2962
2941
|
await (0, $hOLA6$expect)(this.page.locator('[data-test="created-from-template"]')).toContainText(templateTitle);
|
|
2963
2942
|
}
|
|
@@ -5956,6 +5935,9 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
|
|
|
5956
5935
|
}).locator(`td`).filter({
|
|
5957
5936
|
hasText: type
|
|
5958
5937
|
}).count()).toBeGreaterThan(0);
|
|
5938
|
+
if (user.accountLocked) (0, $hOLA6$expect)(await this.page.locator(`tr`).filter({
|
|
5939
|
+
hasText: user.name
|
|
5940
|
+
}).locator('[data-testid="user-account-lock"]').isVisible()).toBeTruthy();
|
|
5959
5941
|
if (user.email) (0, $hOLA6$expect)(await this.page.locator(`tr`).filter({
|
|
5960
5942
|
hasText: user.name
|
|
5961
5943
|
}).locator(`td`).filter({
|
|
@@ -6020,7 +6002,7 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
|
|
|
6020
6002
|
return this;
|
|
6021
6003
|
}
|
|
6022
6004
|
async expectUserUnlockedToaster(user) {
|
|
6023
|
-
await (0, $hOLA6$expect)(this.page.getByText(`User ${user} unlocked
|
|
6005
|
+
await (0, $hOLA6$expect)(this.page.getByText(`User ${user} was unlocked and can now login in again`)).toBeVisible({
|
|
6024
6006
|
timeout: 10000
|
|
6025
6007
|
});
|
|
6026
6008
|
}
|