@digital-ai/devops-page-object-release 0.0.107 → 0.0.108

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
@@ -3162,7 +3162,7 @@ class $96c6280ff1c47b81$export$3bc3e140e0dcb075 extends (0, $9626bc9256ce31f7$ex
3162
3162
  class $19b7e7e46cfe3be0$export$649fde34d823ece7 extends (0, $9626bc9256ce31f7$export$2b65d1d97338f32b) {
3163
3163
  constructor(page){
3164
3164
  super(page);
3165
- this.commentBox = this.page.locator(`.input-block-level`);
3165
+ this.commentBox = this.page.locator(`textarea[name="comment"]`);
3166
3166
  this.contextMenuButton = this.page.locator('#context-menu-container li');
3167
3167
  this.completeButton = this.page.getByTestId('release-grid-complete-btn');
3168
3168
  this.dateUtil = new (0, $71075ce65fcede1d$export$9b575f14aa5e09a1)(page);
@@ -3332,7 +3332,7 @@ class $19b7e7e46cfe3be0$export$649fde34d823ece7 extends (0, $9626bc9256ce31f7$ex
3332
3332
  'Reopen',
3333
3333
  'Retry',
3334
3334
  'Fail'
3335
- ].includes(menuItem)) await this.commentBox.fill('Automation Test Comment');
3335
+ ].includes(menuItem)) await this.page.locator(`.input-block-level`).fill('Automation Test Comment');
3336
3336
  await this.page.getByRole('button', {
3337
3337
  name: menuItem,
3338
3338
  exact: true
@@ -3971,7 +3971,7 @@ class $43cbcdfccb6c2a76$var$Phase extends (0, $9626bc9256ce31f7$export$2b65d1d97
3971
3971
  this.phaseLocator = page.locator('.phase', {
3972
3972
  hasText: phaseName
3973
3973
  });
3974
- this.commentBox = this.page.locator(`.input-block-level`);
3974
+ this.commentBox = this.page.locator(`textarea[name="comment"]`);
3975
3975
  this.contextMenuButton = this.page.locator('#context-menu-container li');
3976
3976
  this.dateUtil = new (0, $71075ce65fcede1d$export$9b575f14aa5e09a1)(page);
3977
3977
  }
@@ -7076,7 +7076,7 @@ class $f48771b486a3eb8f$var$DeleteVariableModel extends (0, $9626bc9256ce31f7$ex
7076
7076
  class $c37c93912f458e81$export$60c3bfa6385e2a10 extends (0, $59c1d01bded91449$export$48c33d2414f51608) {
7077
7077
  constructor(page){
7078
7078
  super(page);
7079
- this.commentBox = this.page.locator(`.input-block-level`);
7079
+ this.commentBox = this.page.locator(`textarea[name="comment"]`);
7080
7080
  this.gridView = new $c37c93912f458e81$var$GridView(page);
7081
7081
  this.taskDrawer = new (0, $8e39246218b802fc$export$e946776eae644790)(page);
7082
7082
  }
@@ -7123,8 +7123,7 @@ class $c37c93912f458e81$export$60c3bfa6385e2a10 extends (0, $59c1d01bded91449$ex
7123
7123
  await this.commentBox.click();
7124
7124
  await this.commentBox.fill(comment);
7125
7125
  await this.page.getByRole('button', {
7126
- name: 'Fail',
7127
- exact: true
7126
+ name: 'Fail'
7128
7127
  }).click();
7129
7128
  }
7130
7129
  async waitForTaskFailed(taskName) {
@@ -7340,8 +7339,8 @@ class $c37c93912f458e81$var$GridView extends (0, $9626bc9256ce31f7$export$2b65d1
7340
7339
  hasText: action
7341
7340
  }).click();
7342
7341
  if (action === 'Complete') {
7343
- await this.page.locator('#modal textarea[mentio]').fill('complete');
7344
- await this.page.locator('#modal button.primary').filter({
7342
+ await this.page.locator('.common-task-dialog textarea[name="comment"]').fill('complete');
7343
+ await this.page.locator('.common-task-dialog button').filter({
7345
7344
  hasText: 'Complete'
7346
7345
  }).click();
7347
7346
  return this;