@digital-ai/devops-page-object-release 0.0.70 → 0.0.71
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 +7 -0
- package/dist/main.js +10 -6
- package/dist/main.js.map +1 -1
- package/dist/module.js +10 -6
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/module.js
CHANGED
|
@@ -2856,9 +2856,13 @@ class $96c6280ff1c47b81$export$3bc3e140e0dcb075 extends (0, $9626bc9256ce31f7$ex
|
|
|
2856
2856
|
async expectSaveButtonDisabled() {
|
|
2857
2857
|
(0, $hOLA6$expect)(this.saveButton).toBeDisabled();
|
|
2858
2858
|
}
|
|
2859
|
-
async
|
|
2860
|
-
const
|
|
2861
|
-
|
|
2859
|
+
async expectUserIsAssignedToTeam(teamName, userName) {
|
|
2860
|
+
const releaseAdminRow = this.page.locator("#teams-permissions-table tr", {
|
|
2861
|
+
hasText: teamName
|
|
2862
|
+
});
|
|
2863
|
+
await (0, $hOLA6$expect)(releaseAdminRow.locator("span.tag-wrapper.tag-label", {
|
|
2864
|
+
hasText: userName
|
|
2865
|
+
})).toBeVisible();
|
|
2862
2866
|
}
|
|
2863
2867
|
}
|
|
2864
2868
|
|
|
@@ -4764,9 +4768,9 @@ class $50c91328c9110668$export$b453f08936c58edb extends (0, $9626bc9256ce31f7$ex
|
|
|
4764
4768
|
})).not.toBeVisible();
|
|
4765
4769
|
}
|
|
4766
4770
|
async searchFolderByName(folderName) {
|
|
4767
|
-
await this.page.
|
|
4768
|
-
await this.page.
|
|
4769
|
-
await this.page.
|
|
4771
|
+
await this.page.getByLabel("Start typing to filter").click();
|
|
4772
|
+
await this.page.getByLabel("Start typing to filter").clear();
|
|
4773
|
+
await this.page.getByLabel("Start typing to filter").fill(folderName);
|
|
4770
4774
|
await (0, $hOLA6$expect)(this.page.getByRole("link", {
|
|
4771
4775
|
name: folderName
|
|
4772
4776
|
})).toBeVisible();
|