@digital-ai/devops-page-object-release 0.0.0-snapshot-20251209115646 → 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 -16
- package/dist/main.js.map +1 -1
- package/dist/module.js +4 -16
- 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,21 +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").getByText(tagName)).toHaveCount(0);
|
|
2942
|
-
}
|
|
2943
|
-
async addTag(tagName) {
|
|
2944
|
-
const tagInput = this.page.getByPlaceholder("Add a tag...");
|
|
2945
|
-
await tagInput.fill(tagName);
|
|
2946
|
-
await tagInput.press("Enter");
|
|
2947
|
-
await (0, $hOLA6$expect)(this.page.locator("#tags").getByText(tagName)).toBeVisible();
|
|
2948
|
-
}
|
|
2949
|
-
async removeTag(tagName) {
|
|
2950
|
-
const tag = this.page.locator("#tags").getByText(tagName);
|
|
2951
|
-
const removeIcon = tag.locator(".tag-close");
|
|
2952
|
-
await removeIcon.click();
|
|
2953
|
-
await (0, $hOLA6$expect)(this.page.locator("#tags").getByText(tagName)).toHaveCount(0);
|
|
2954
|
-
}
|
|
2955
2940
|
async expectTemplateTitleToBe(templateTitle) {
|
|
2956
2941
|
await (0, $hOLA6$expect)(this.page.locator('[data-test="created-from-template"]')).toContainText(templateTitle);
|
|
2957
2942
|
}
|
|
@@ -5950,6 +5935,9 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
|
|
|
5950
5935
|
}).locator(`td`).filter({
|
|
5951
5936
|
hasText: type
|
|
5952
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();
|
|
5953
5941
|
if (user.email) (0, $hOLA6$expect)(await this.page.locator(`tr`).filter({
|
|
5954
5942
|
hasText: user.name
|
|
5955
5943
|
}).locator(`td`).filter({
|
|
@@ -6014,7 +6002,7 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
|
|
|
6014
6002
|
return this;
|
|
6015
6003
|
}
|
|
6016
6004
|
async expectUserUnlockedToaster(user) {
|
|
6017
|
-
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({
|
|
6018
6006
|
timeout: 10000
|
|
6019
6007
|
});
|
|
6020
6008
|
}
|