@digital-ai/devops-page-object-release 0.0.0-pikachu-20250811113325 → 0.0.0-pikachu-20250814171029

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
@@ -192,7 +192,9 @@ class $b34a21212642e54d$export$7034f81075184002 extends (0, $9626bc9256ce31f7$ex
192
192
  return this;
193
193
  }
194
194
  async openFilterDrawer() {
195
- await this.page.locator(`${this.getHeaderSelector()} .dot-badge .dot-icon-btn[aria-label="filter icon button"]`).click();
195
+ await this.page.locator(`${this.getHeaderSelector()} button`, {
196
+ hasText: "Filters"
197
+ }).click();
196
198
  await (0, $hOLA6$expect)(this.page.locator(this.getFilterDrawerSelector())).toBeVisible();
197
199
  return this;
198
200
  }
@@ -2922,9 +2924,13 @@ class $96c6280ff1c47b81$export$3bc3e140e0dcb075 extends (0, $9626bc9256ce31f7$ex
2922
2924
  async expectSaveButtonDisabled() {
2923
2925
  (0, $hOLA6$expect)(this.saveButton).toBeDisabled();
2924
2926
  }
2925
- async expectTeamExists(teamName) {
2926
- const teamLocator = this.page.getByText(teamName).first();
2927
- await (0, $hOLA6$expect)(teamLocator).toBeVisible();
2927
+ async expectUserIsAssignedToTeam(teamName, userName) {
2928
+ const releaseAdminRow = this.page.locator("#teams-permissions-table tr", {
2929
+ hasText: teamName
2930
+ });
2931
+ await (0, $hOLA6$expect)(releaseAdminRow.locator("span.tag-wrapper.tag-label", {
2932
+ hasText: userName
2933
+ })).toBeVisible();
2928
2934
  }
2929
2935
  }
2930
2936