@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/dist/module.js CHANGED
@@ -3315,8 +3315,8 @@ class $19b7e7e46cfe3be0$export$649fde34d823ece7 extends (0, $9626bc9256ce31f7$ex
3315
3315
  }
3316
3316
  async completeSelectedTasks(comment) {
3317
3317
  await this.completeButton.click();
3318
- await this.page.getByPlaceholder('Give feedback or place a').fill(comment);
3319
- await this.page.locator('.modal-footer').getByRole('button', {
3318
+ await this.page.locator(`textarea[name="comment"]`).fill(comment);
3319
+ await this.page.locator('.dot-dialog').getByRole('button', {
3320
3320
  name: 'Complete'
3321
3321
  }).click();
3322
3322
  return this;
@@ -3331,11 +3331,16 @@ class $19b7e7e46cfe3be0$export$649fde34d823ece7 extends (0, $9626bc9256ce31f7$ex
3331
3331
  'Reopen',
3332
3332
  'Retry',
3333
3333
  'Fail'
3334
- ].includes(menuItem)) await this.page.locator(`.input-block-level`).fill('Automation Test Comment');
3335
- await this.page.getByRole('button', {
3334
+ ].includes(menuItem)) await this.page.locator(`textarea[name="comment"]`).fill('Automation Test Comment');
3335
+ if ([
3336
+ 'Delete'
3337
+ ].includes(menuItem)) await this.page.getByRole('button', {
3336
3338
  name: menuItem,
3337
3339
  exact: true
3338
3340
  }).click();
3341
+ else await this.page.locator('.dot-dialog').getByRole('button', {
3342
+ name: menuItem
3343
+ }).click();
3339
3344
  return this;
3340
3345
  }
3341
3346
  async addCommentToSelectedTask(comment) {
@@ -7377,8 +7382,8 @@ class $c37c93912f458e81$var$GridView extends (0, $9626bc9256ce31f7$export$2b65d1
7377
7382
  hasText: action
7378
7383
  }).click();
7379
7384
  if (action === 'Complete') {
7380
- await this.page.locator('.common-task-dialog textarea[name="comment"]').fill('complete');
7381
- await this.page.locator('.common-task-dialog button').filter({
7385
+ await this.page.locator('.base-comment-dialog textarea[name="comment"]').fill('complete');
7386
+ await this.page.locator('.base-comment-dialog button').filter({
7382
7387
  hasText: 'Complete'
7383
7388
  }).click();
7384
7389
  return this;