@digital-ai/devops-page-object-release 0.0.0-snapshot-20251209115646 → 0.0.0-snapshot-20251209141752
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 +1 -1
- package/dist/main.js +11 -5
- package/dist/main.js.map +1 -1
- package/dist/module.js +11 -5
- 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
|
@@ -2938,19 +2938,25 @@ class $c9bb587dd92143c3$export$d1077068a9cc9f17 extends (0, $9626bc9256ce31f7$ex
|
|
|
2938
2938
|
await (0, $hOLA6$expect)(this.page.locator("#tags")).toContainText(tagName);
|
|
2939
2939
|
}
|
|
2940
2940
|
async expectReleaseNotTaggedWith(tagName) {
|
|
2941
|
-
await (0, $hOLA6$expect)(this.page.locator(
|
|
2941
|
+
await (0, $hOLA6$expect)(this.page.locator(`#tags`, {
|
|
2942
|
+
hasText: tagName
|
|
2943
|
+
})).toHaveCount(0);
|
|
2942
2944
|
}
|
|
2943
2945
|
async addTag(tagName) {
|
|
2944
|
-
const tagInput = this.page.
|
|
2946
|
+
const tagInput = this.page.locator('input[placeholder="Add a tag..."]');
|
|
2945
2947
|
await tagInput.fill(tagName);
|
|
2946
2948
|
await tagInput.press("Enter");
|
|
2947
|
-
await (0, $hOLA6$expect)(this.page.locator(
|
|
2949
|
+
await (0, $hOLA6$expect)(this.page.locator(`#tags`, {
|
|
2950
|
+
hasText: tagName
|
|
2951
|
+
})).toBeVisible();
|
|
2948
2952
|
}
|
|
2949
2953
|
async removeTag(tagName) {
|
|
2950
|
-
const tag = this.page.locator(
|
|
2954
|
+
const tag = this.page.locator(`#tags`, {
|
|
2955
|
+
hasText: tagName
|
|
2956
|
+
});
|
|
2951
2957
|
const removeIcon = tag.locator(".tag-close");
|
|
2952
2958
|
await removeIcon.click();
|
|
2953
|
-
await (0, $hOLA6$expect)(
|
|
2959
|
+
await (0, $hOLA6$expect)(tag).toHaveCount(0);
|
|
2954
2960
|
}
|
|
2955
2961
|
async expectTemplateTitleToBe(templateTitle) {
|
|
2956
2962
|
await (0, $hOLA6$expect)(this.page.locator('[data-test="created-from-template"]')).toContainText(templateTitle);
|