@digital-ai/devops-page-object-release 0.0.112 → 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 +6 -0
- package/dist/main.js +11 -6
- package/dist/main.js.map +1 -1
- package/dist/module.js +11 -6
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/main.js
CHANGED
|
@@ -4249,8 +4249,8 @@ class $c5c393ea4aecca6c$export$649fde34d823ece7 extends (0, $f8721861c660dd88$ex
|
|
|
4249
4249
|
}
|
|
4250
4250
|
async completeSelectedTasks(comment) {
|
|
4251
4251
|
await this.completeButton.click();
|
|
4252
|
-
await this.page.
|
|
4253
|
-
await this.page.locator('.
|
|
4252
|
+
await this.page.locator(`textarea[name="comment"]`).fill(comment);
|
|
4253
|
+
await this.page.locator('.dot-dialog').getByRole('button', {
|
|
4254
4254
|
name: 'Complete'
|
|
4255
4255
|
}).click();
|
|
4256
4256
|
return this;
|
|
@@ -4265,11 +4265,16 @@ class $c5c393ea4aecca6c$export$649fde34d823ece7 extends (0, $f8721861c660dd88$ex
|
|
|
4265
4265
|
'Reopen',
|
|
4266
4266
|
'Retry',
|
|
4267
4267
|
'Fail'
|
|
4268
|
-
].includes(menuItem)) await this.page.locator(
|
|
4269
|
-
|
|
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', {
|
|
4270
4272
|
name: menuItem,
|
|
4271
4273
|
exact: true
|
|
4272
4274
|
}).click();
|
|
4275
|
+
else await this.page.locator('.dot-dialog').getByRole('button', {
|
|
4276
|
+
name: menuItem
|
|
4277
|
+
}).click();
|
|
4273
4278
|
return this;
|
|
4274
4279
|
}
|
|
4275
4280
|
async addCommentToSelectedTask(comment) {
|
|
@@ -8311,8 +8316,8 @@ class $ed2d4739e27d43c1$var$GridView extends (0, $f8721861c660dd88$export$2b65d1
|
|
|
8311
8316
|
hasText: action
|
|
8312
8317
|
}).click();
|
|
8313
8318
|
if (action === 'Complete') {
|
|
8314
|
-
await this.page.locator('.
|
|
8315
|
-
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({
|
|
8316
8321
|
hasText: 'Complete'
|
|
8317
8322
|
}).click();
|
|
8318
8323
|
return this;
|