@digital-ai/devops-page-object-release 0.0.0-pikachu-20250814100204 → 0.0.0-pikachu-20250820104605

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,6 +1,6 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
- ## 0.0.0-pikachu-20250814100204
3
+ ## 0.0.0-pikachu-20250820104605
4
4
 
5
5
  ### Patch Changes
6
6
 
package/dist/main.js CHANGED
@@ -1128,12 +1128,14 @@ class $e403098cd4f59faa$export$7034f81075184002 extends (0, $f8721861c660dd88$ex
1128
1128
  return this;
1129
1129
  }
1130
1130
  async openFilterDrawer() {
1131
- await this.page.locator(`${this.getHeaderSelector()} .dot-badge .dot-icon-btn[aria-label="filter icon button"]`).click();
1131
+ await this.page.locator(`${this.getHeaderSelector()} button`, {
1132
+ hasText: "Filters"
1133
+ }).click();
1132
1134
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator(this.getFilterDrawerSelector())).toBeVisible();
1133
1135
  return this;
1134
1136
  }
1135
1137
  async closeFilterDrawer() {
1136
- await this.page.locator(`${this.getBaseDrawerSelector()} .dot-icon-btn[aria-label="Close"]`).click();
1138
+ await this.page.locator(`${this.getBaseDrawerSelector()} .dot-icon-btn[data-testid="close-btn"]`).click();
1137
1139
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator(this.getFilterDrawerSelector())).not.toBeVisible();
1138
1140
  return this;
1139
1141
  }