@digital-ai/devops-page-object-release 0.0.110 → 0.0.112
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 +12 -0
- package/dist/main.js +4 -6
- package/dist/main.js.map +1 -1
- package/dist/module.js +4 -6
- 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
|
@@ -1489,8 +1489,7 @@ class $90bb70a7e909e500$export$519356f6c50361f7 extends (0, $9626bc9256ce31f7$ex
|
|
|
1489
1489
|
}
|
|
1490
1490
|
async abort(comment) {
|
|
1491
1491
|
await this.page.getByTestId('single-action-button').click();
|
|
1492
|
-
await this.page.
|
|
1493
|
-
await this.page.getByTestId('task-action-comment').fill(comment);
|
|
1492
|
+
await this.page.locator(`textarea[name="comment"]`).fill(comment);
|
|
1494
1493
|
await this.page.locator('button', {
|
|
1495
1494
|
hasText: 'Abort'
|
|
1496
1495
|
}).click();
|
|
@@ -2231,7 +2230,7 @@ class $8e39246218b802fc$export$e946776eae644790 extends (0, $9626bc9256ce31f7$ex
|
|
|
2231
2230
|
this.attachment = new (0, $9c357602b6f466e7$export$aa59788fdecae2f2)(page);
|
|
2232
2231
|
this.attribute = new (0, $115d1e40e2564777$export$a87b4660f21fba58)(page);
|
|
2233
2232
|
this.cancelButton = this.page.getByTestId('task-action-cancel');
|
|
2234
|
-
this.commentBox = this.page.
|
|
2233
|
+
this.commentBox = this.page.locator(`textarea[name="comment"]`);
|
|
2235
2234
|
this.confirm = this.page.locator('.popper-action-buttons').getByTestId('dot-button');
|
|
2236
2235
|
this.config = new (0, $e44e9af564fb00f7$export$64c93bc7fb9ca44e)(page);
|
|
2237
2236
|
this.condition = new (0, $3fa741329d8067d5$export$d4865631ba74f3e2)(page);
|
|
@@ -3721,8 +3720,7 @@ class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$exp
|
|
|
3721
3720
|
await this.page.locator('div').filter({
|
|
3722
3721
|
hasText: /^Reopen$/
|
|
3723
3722
|
}).click();
|
|
3724
|
-
await this.page.
|
|
3725
|
-
await this.page.getByTestId('task-action-comment').fill(comment);
|
|
3723
|
+
await this.page.locator(`textarea[name="comment"]`).fill(comment);
|
|
3726
3724
|
await this.page.locator('button', {
|
|
3727
3725
|
hasText: 'Reopen'
|
|
3728
3726
|
}).click();
|
|
@@ -5749,7 +5747,7 @@ class $aa1ba8c8de3c0679$export$2fb4351c41ce6e7a extends (0, $9626bc9256ce31f7$ex
|
|
|
5749
5747
|
async verifyUser(username, userFullName) {
|
|
5750
5748
|
await this.page.locator('li').getByLabel(userFullName).click();
|
|
5751
5749
|
await (0, $hOLA6$expect)(this.page.getByRole('heading', {
|
|
5752
|
-
name:
|
|
5750
|
+
name: `${userFullName} (${username})`
|
|
5753
5751
|
})).toBeVisible();
|
|
5754
5752
|
}
|
|
5755
5753
|
async clickAccessTokens() {
|