@digital-ai/devops-page-object-release 0.0.84 → 0.0.85

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
@@ -204,7 +204,7 @@ class $b34a21212642e54d$export$7034f81075184002 extends (0, $9626bc9256ce31f7$ex
204
204
  return this;
205
205
  }
206
206
  async clearAllFilters() {
207
- await this.page.locator(`${this.getHeaderSelector()} .release-list-filter-row button[data-testid="clear-all-btn"]`).click();
207
+ await this.page.locator(`${this.getHeaderSelector()} .filter-row button[data-testid="clear-all-btn"]`).click();
208
208
  return this;
209
209
  }
210
210
  async clearAllStatusFilters() {
@@ -7532,8 +7532,8 @@ class $171d52b372748c0b$export$7e1d435fa474ee21 extends (0, $9626bc9256ce31f7$ex
7532
7532
  await this.page.goto(url);
7533
7533
  }
7534
7534
  async searchBy(criteria) {
7535
- await this.page.locator(".searchFilter").clear();
7536
- await this.page.locator(".searchFilter").fill(criteria);
7535
+ await this.page.locator("input#title-filter").clear();
7536
+ await this.page.locator("input#title-filter").fill(criteria);
7537
7537
  }
7538
7538
  async copy(originTitle, targetTitle) {
7539
7539
  await this.page.locator(".title").filter({
@@ -7660,15 +7660,7 @@ class $171d52b372748c0b$export$7e1d435fa474ee21 extends (0, $9626bc9256ce31f7$ex
7660
7660
  await (0, $hOLA6$expect)(this.page.getByLabel("breadcrumb").getByText("Flow")).toBeVisible();
7661
7661
  }
7662
7662
  async filterByTitle(templateName) {
7663
- await this.page.getByPlaceholder("Filter by title...", {
7664
- exact: true
7665
- }).click();
7666
- await this.page.getByPlaceholder("Filter by title...", {
7667
- exact: true
7668
- }).fill(templateName);
7669
- await this.page.getByPlaceholder("Filter by title...", {
7670
- exact: true
7671
- }).press("Enter");
7663
+ await this.searchBy(templateName);
7672
7664
  }
7673
7665
  }
7674
7666