@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/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @digital-ai/devops-page-object-release
|
|
2
2
|
|
|
3
|
-
## 0.0.0-snapshot-
|
|
3
|
+
## 0.0.0-snapshot-20251210041025
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- 294fb2f: S-126029: Added new column details for testing account lock
|
|
8
8
|
|
|
9
9
|
## 0.0.96
|
|
10
10
|
|
package/dist/main.js
CHANGED
|
@@ -3873,21 +3873,6 @@ class $8681d8a3f46f87b7$export$d1077068a9cc9f17 extends (0, $f8721861c660dd88$ex
|
|
|
3873
3873
|
async expectReleaseTaggedWith(tagName) {
|
|
3874
3874
|
await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#tags")).toContainText(tagName);
|
|
3875
3875
|
}
|
|
3876
|
-
async expectReleaseNotTaggedWith(tagName) {
|
|
3877
|
-
await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#tags").getByText(tagName)).toHaveCount(0);
|
|
3878
|
-
}
|
|
3879
|
-
async addTag(tagName) {
|
|
3880
|
-
const tagInput = this.page.getByPlaceholder("Add a tag...");
|
|
3881
|
-
await tagInput.fill(tagName);
|
|
3882
|
-
await tagInput.press("Enter");
|
|
3883
|
-
await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#tags").getByText(tagName)).toBeVisible();
|
|
3884
|
-
}
|
|
3885
|
-
async removeTag(tagName) {
|
|
3886
|
-
const tag = this.page.locator("#tags").getByText(tagName);
|
|
3887
|
-
const removeIcon = tag.locator(".tag-close");
|
|
3888
|
-
await removeIcon.click();
|
|
3889
|
-
await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#tags").getByText(tagName)).toHaveCount(0);
|
|
3890
|
-
}
|
|
3891
3876
|
async expectTemplateTitleToBe(templateTitle) {
|
|
3892
3877
|
await (0, $kKeXs$playwrighttest.expect)(this.page.locator('[data-test="created-from-template"]')).toContainText(templateTitle);
|
|
3893
3878
|
}
|
|
@@ -6886,6 +6871,9 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
|
|
|
6886
6871
|
}).locator(`td`).filter({
|
|
6887
6872
|
hasText: type
|
|
6888
6873
|
}).count()).toBeGreaterThan(0);
|
|
6874
|
+
if (user.accountLocked) (0, $kKeXs$playwrighttest.expect)(await this.page.locator(`tr`).filter({
|
|
6875
|
+
hasText: user.name
|
|
6876
|
+
}).locator('[data-testid="user-account-lock"]').isVisible()).toBeTruthy();
|
|
6889
6877
|
if (user.email) (0, $kKeXs$playwrighttest.expect)(await this.page.locator(`tr`).filter({
|
|
6890
6878
|
hasText: user.name
|
|
6891
6879
|
}).locator(`td`).filter({
|
|
@@ -6950,7 +6938,7 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
|
|
|
6950
6938
|
return this;
|
|
6951
6939
|
}
|
|
6952
6940
|
async expectUserUnlockedToaster(user) {
|
|
6953
|
-
await (0, $kKeXs$playwrighttest.expect)(this.page.getByText(`User ${user} unlocked
|
|
6941
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page.getByText(`User ${user} was unlocked and can now login in again`)).toBeVisible({
|
|
6954
6942
|
timeout: 10000
|
|
6955
6943
|
});
|
|
6956
6944
|
}
|