@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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 0.0.112
4
10
 
5
11
  ### Patch Changes
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.getByPlaceholder('Give feedback or place a').fill(comment);
4253
- await this.page.locator('.modal-footer').getByRole('button', {
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(`.input-block-level`).fill('Automation Test Comment');
4269
- await this.page.getByRole('button', {
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('.common-task-dialog textarea[name="comment"]').fill('complete');
8315
- await this.page.locator('.common-task-dialog button').filter({
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;