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

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);