@digital-ai/devops-page-object-release 0.0.0-snapshot-20251204060936 → 0.0.0-snapshot-20251204122443
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 +5 -19
- package/dist/main.js.map +1 -1
- package/dist/module.js +5 -19
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -4
- 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-20251204122443
|
|
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.93
|
|
10
10
|
|
package/dist/main.js
CHANGED
|
@@ -6851,6 +6851,11 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
|
|
|
6851
6851
|
}).locator(`td`).filter({
|
|
6852
6852
|
hasText: user.externalId
|
|
6853
6853
|
}).count()).toBeGreaterThan(0);
|
|
6854
|
+
if (user.accountLocked) (0, $kKeXs$playwrighttest.expect)(await this.page.locator(`tr`).filter({
|
|
6855
|
+
hasText: user.name
|
|
6856
|
+
}).locator(`td`).filter({
|
|
6857
|
+
hasText: user.accountLocked
|
|
6858
|
+
}).count()).toBeGreaterThan(0);
|
|
6854
6859
|
(0, $kKeXs$playwrighttest.expect)(await this.page.locator(`tr`).filter({
|
|
6855
6860
|
hasText: user.name
|
|
6856
6861
|
}).locator(`td .icon-delete`).count()).toBeGreaterThan(0);
|
|
@@ -6899,25 +6904,6 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
|
|
|
6899
6904
|
})).toHaveCount(0);
|
|
6900
6905
|
return this;
|
|
6901
6906
|
}
|
|
6902
|
-
async expectUserUnlockedToaster(user) {
|
|
6903
|
-
await (0, $kKeXs$playwrighttest.expect)(this.page.getByText(`User ${user} unlocked successfully`)).toBeVisible({
|
|
6904
|
-
timeout: 10000
|
|
6905
|
-
});
|
|
6906
|
-
}
|
|
6907
|
-
async unlockUser(user) {
|
|
6908
|
-
await this.page.getByTestId(`unlock-btn-${user}`).click();
|
|
6909
|
-
}
|
|
6910
|
-
async expectWarningVisibility(warningRegex, shouldBeVisible) {
|
|
6911
|
-
const locator = this.page.getByText(warningRegex);
|
|
6912
|
-
if (shouldBeVisible) await (0, $kKeXs$playwrighttest.expect)(locator).toBeVisible();
|
|
6913
|
-
else await (0, $kKeXs$playwrighttest.expect)(locator).toHaveCount(0);
|
|
6914
|
-
return this;
|
|
6915
|
-
}
|
|
6916
|
-
async editUserClickCancelButton() {
|
|
6917
|
-
await this.page.getByRole("button", {
|
|
6918
|
-
name: "Cancel"
|
|
6919
|
-
}).click();
|
|
6920
|
-
}
|
|
6921
6907
|
}
|
|
6922
6908
|
|
|
6923
6909
|
|