@digital-ai/devops-page-object-release 0.0.111 → 0.0.113
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 +14 -11
- package/dist/main.js.map +1 -1
- package/dist/module.js +14 -11
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @digital-ai/devops-page-object-release
|
|
2
2
|
|
|
3
|
+
## 0.0.113
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- bde48af: S-130562: update release table tasks actions
|
|
8
|
+
|
|
9
|
+
## 0.0.112
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 4c1a507: S-129850: update task drawer comment selector
|
|
14
|
+
|
|
3
15
|
## 0.0.111
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/main.js
CHANGED
|
@@ -2423,8 +2423,7 @@ class $eb81c1b930e440ff$export$519356f6c50361f7 extends (0, $f8721861c660dd88$ex
|
|
|
2423
2423
|
}
|
|
2424
2424
|
async abort(comment) {
|
|
2425
2425
|
await this.page.getByTestId('single-action-button').click();
|
|
2426
|
-
await this.page.
|
|
2427
|
-
await this.page.getByTestId('task-action-comment').fill(comment);
|
|
2426
|
+
await this.page.locator(`textarea[name="comment"]`).fill(comment);
|
|
2428
2427
|
await this.page.locator('button', {
|
|
2429
2428
|
hasText: 'Abort'
|
|
2430
2429
|
}).click();
|
|
@@ -3165,7 +3164,7 @@ class $6a21661eb4695574$export$e946776eae644790 extends (0, $f8721861c660dd88$ex
|
|
|
3165
3164
|
this.attachment = new (0, $f9016705c1a1eb20$export$aa59788fdecae2f2)(page);
|
|
3166
3165
|
this.attribute = new (0, $6e382f24d680cc9b$export$a87b4660f21fba58)(page);
|
|
3167
3166
|
this.cancelButton = this.page.getByTestId('task-action-cancel');
|
|
3168
|
-
this.commentBox = this.page.
|
|
3167
|
+
this.commentBox = this.page.locator(`textarea[name="comment"]`);
|
|
3169
3168
|
this.confirm = this.page.locator('.popper-action-buttons').getByTestId('dot-button');
|
|
3170
3169
|
this.config = new (0, $8be2ce0eccbe6d27$export$64c93bc7fb9ca44e)(page);
|
|
3171
3170
|
this.condition = new (0, $9c0b0c2caed50730$export$d4865631ba74f3e2)(page);
|
|
@@ -4250,8 +4249,8 @@ class $c5c393ea4aecca6c$export$649fde34d823ece7 extends (0, $f8721861c660dd88$ex
|
|
|
4250
4249
|
}
|
|
4251
4250
|
async completeSelectedTasks(comment) {
|
|
4252
4251
|
await this.completeButton.click();
|
|
4253
|
-
await this.page.
|
|
4254
|
-
await this.page.locator('.
|
|
4252
|
+
await this.page.locator(`textarea[name="comment"]`).fill(comment);
|
|
4253
|
+
await this.page.locator('.dot-dialog').getByRole('button', {
|
|
4255
4254
|
name: 'Complete'
|
|
4256
4255
|
}).click();
|
|
4257
4256
|
return this;
|
|
@@ -4266,11 +4265,16 @@ class $c5c393ea4aecca6c$export$649fde34d823ece7 extends (0, $f8721861c660dd88$ex
|
|
|
4266
4265
|
'Reopen',
|
|
4267
4266
|
'Retry',
|
|
4268
4267
|
'Fail'
|
|
4269
|
-
].includes(menuItem)) await this.page.locator(
|
|
4270
|
-
|
|
4268
|
+
].includes(menuItem)) await this.page.locator(`textarea[name="comment"]`).fill('Automation Test Comment');
|
|
4269
|
+
if ([
|
|
4270
|
+
'Delete'
|
|
4271
|
+
].includes(menuItem)) await this.page.getByRole('button', {
|
|
4271
4272
|
name: menuItem,
|
|
4272
4273
|
exact: true
|
|
4273
4274
|
}).click();
|
|
4275
|
+
else await this.page.locator('.dot-dialog').getByRole('button', {
|
|
4276
|
+
name: menuItem
|
|
4277
|
+
}).click();
|
|
4274
4278
|
return this;
|
|
4275
4279
|
}
|
|
4276
4280
|
async addCommentToSelectedTask(comment) {
|
|
@@ -4655,8 +4659,7 @@ class $9b9a8c3da392d020$export$f43492e8ac3c566 extends (0, $f8721861c660dd88$exp
|
|
|
4655
4659
|
await this.page.locator('div').filter({
|
|
4656
4660
|
hasText: /^Reopen$/
|
|
4657
4661
|
}).click();
|
|
4658
|
-
await this.page.
|
|
4659
|
-
await this.page.getByTestId('task-action-comment').fill(comment);
|
|
4662
|
+
await this.page.locator(`textarea[name="comment"]`).fill(comment);
|
|
4660
4663
|
await this.page.locator('button', {
|
|
4661
4664
|
hasText: 'Reopen'
|
|
4662
4665
|
}).click();
|
|
@@ -8313,8 +8316,8 @@ class $ed2d4739e27d43c1$var$GridView extends (0, $f8721861c660dd88$export$2b65d1
|
|
|
8313
8316
|
hasText: action
|
|
8314
8317
|
}).click();
|
|
8315
8318
|
if (action === 'Complete') {
|
|
8316
|
-
await this.page.locator('.
|
|
8317
|
-
await this.page.locator('.
|
|
8319
|
+
await this.page.locator('.base-comment-dialog textarea[name="comment"]').fill('complete');
|
|
8320
|
+
await this.page.locator('.base-comment-dialog button').filter({
|
|
8318
8321
|
hasText: 'Complete'
|
|
8319
8322
|
}).click();
|
|
8320
8323
|
return this;
|