@digital-ai/devops-page-object-release 0.0.0-snapshot-20251210041025 → 0.0.0-snapshot-20251210075018
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 +6 -8
- package/dist/main.js.map +1 -1
- package/dist/module.js +6 -8
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -5908,7 +5908,8 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
|
|
|
5908
5908
|
}).getByRole("checkbox")).toBeChecked();
|
|
5909
5909
|
}
|
|
5910
5910
|
async deleteUser(username) {
|
|
5911
|
-
await this.page.getByTestId(`
|
|
5911
|
+
await this.page.getByTestId(`user-actions-btn-${username}`).click();
|
|
5912
|
+
await this.page.locator(".icon-delete").click();
|
|
5912
5913
|
await this.modal.delete();
|
|
5913
5914
|
}
|
|
5914
5915
|
async openRoles() {
|
|
@@ -5953,9 +5954,7 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
|
|
|
5953
5954
|
}).locator(`td`).filter({
|
|
5954
5955
|
hasText: user.externalId
|
|
5955
5956
|
}).count()).toBeGreaterThan(0);
|
|
5956
|
-
(0, $hOLA6$expect)(await this.page.
|
|
5957
|
-
hasText: user.name
|
|
5958
|
-
}).locator(`td .icon-delete`).count()).toBeGreaterThan(0);
|
|
5957
|
+
(0, $hOLA6$expect)(await this.page.getByTestId(`user-actions-btn-${user.name}`).count()).toBeGreaterThan(0);
|
|
5959
5958
|
}
|
|
5960
5959
|
}
|
|
5961
5960
|
async expectNoUser(username) {
|
|
@@ -5964,9 +5963,8 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
|
|
|
5964
5963
|
}
|
|
5965
5964
|
async updateUser(username) {
|
|
5966
5965
|
await this.filterUser(username);
|
|
5967
|
-
await this.page.
|
|
5968
|
-
|
|
5969
|
-
}).locator(".icon-edit").click();
|
|
5966
|
+
await this.page.getByTestId(`user-actions-btn-${username}`).click();
|
|
5967
|
+
await this.page.locator(".icon-edit").click();
|
|
5970
5968
|
return this.modal;
|
|
5971
5969
|
}
|
|
5972
5970
|
async sortByColumn(columnName, columnIndex) {
|
|
@@ -6002,7 +6000,7 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
|
|
|
6002
6000
|
return this;
|
|
6003
6001
|
}
|
|
6004
6002
|
async expectUserUnlockedToaster(user) {
|
|
6005
|
-
await (0, $hOLA6$expect)(this.page.getByText(`User ${user}
|
|
6003
|
+
await (0, $hOLA6$expect)(this.page.getByText(`User ${user} unlocked successfully`)).toBeVisible({
|
|
6006
6004
|
timeout: 10000
|
|
6007
6005
|
});
|
|
6008
6006
|
}
|