@digital-ai/devops-page-object-release 0.0.111 → 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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
+ ## 0.0.112
4
+
5
+ ### Patch Changes
6
+
7
+ - 4c1a507: S-129850: update task drawer comment selector
8
+
3
9
  ## 0.0.111
4
10
 
5
11
  ### 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.getByTestId('task-action-comment').click();
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.getByTestId('task-action-comment');
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);
@@ -4655,8 +4654,7 @@ class $9b9a8c3da392d020$export$f43492e8ac3c566 extends (0, $f8721861c660dd88$exp
4655
4654
  await this.page.locator('div').filter({
4656
4655
  hasText: /^Reopen$/
4657
4656
  }).click();
4658
- await this.page.getByTestId('task-action-comment').click();
4659
- await this.page.getByTestId('task-action-comment').fill(comment);
4657
+ await this.page.locator(`textarea[name="comment"]`).fill(comment);
4660
4658
  await this.page.locator('button', {
4661
4659
  hasText: 'Reopen'
4662
4660
  }).click();