@digital-ai/devops-page-object-release 0.0.113 → 0.0.115

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
@@ -4328,15 +4328,9 @@ class $43cbcdfccb6c2a76$var$Phase extends (0, $9626bc9256ce31f7$export$2b65d1d97
4328
4328
  }
4329
4329
  async expectTaskFailureManualPermission() {
4330
4330
  await this.phaseLocator.getByText('Add task').click();
4331
- const checkboxElement = await this.page.getByTestId('save-select-task-btn').isEnabled();
4332
- if (!checkboxElement) {
4333
- await this.page.getByTestId('cancel-select-task-btn').click();
4334
- await this.phaseLocator.getByText('Add task').click();
4335
- }
4336
- await this.page.getByTestId('save-select-task-btn').click();
4337
- await (0, $hOLA6$expect)(this.page.locator('p').filter({
4338
- hasText: "You don\u2019t have permission to view this page."
4339
- })).toBeVisible();
4331
+ await this.page.locator('#task-selector').hover();
4332
+ await this.page.locator('#task-selector').fill('Manual');
4333
+ await (0, $hOLA6$expect)(this.page.getByText('No options')).toBeVisible();
4340
4334
  }
4341
4335
  async expectCurrentTaskCount(count) {
4342
4336
  (0, $hOLA6$expect)(await this.phaseLocator.locator('.task.active').count()).toBe(count);
@@ -5218,7 +5212,7 @@ class $50c91328c9110668$export$b453f08936c58edb extends (0, $9626bc9256ce31f7$ex
5218
5212
  name: "\uE907 Add folder"
5219
5213
  }).click();
5220
5214
  await (0, $hOLA6$expect)(this.page.getByText('Create a new folder in root')).toBeVisible();
5221
- await this.page.getByRole('textbox').fill(folderName);
5215
+ await this.page.locator('input[name="newFolderName"]').fill(folderName);
5222
5216
  await this.page.getByRole('button', {
5223
5217
  name: 'Create'
5224
5218
  }).click();
@@ -5294,7 +5288,7 @@ class $50c91328c9110668$export$b453f08936c58edb extends (0, $9626bc9256ce31f7$ex
5294
5288
  name: parentFolder
5295
5289
  }).hover();
5296
5290
  await this.clickFolderOptions(parentFolder, 'add');
5297
- await this.page.getByRole('textbox').fill(subFolderName);
5291
+ await this.page.locator('input[name="newFolderName"]').fill(subFolderName);
5298
5292
  await this.page.getByRole('button', {
5299
5293
  name: 'Create'
5300
5294
  }).click();