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

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
@@ -2922,9 +2922,13 @@ class $96c6280ff1c47b81$export$3bc3e140e0dcb075 extends (0, $9626bc9256ce31f7$ex
2922
2922
  async expectSaveButtonDisabled() {
2923
2923
  (0, $hOLA6$expect)(this.saveButton).toBeDisabled();
2924
2924
  }
2925
- async expectTeamExists(teamName) {
2926
- const teamLocator = this.page.getByText(teamName).first();
2927
- await (0, $hOLA6$expect)(teamLocator).toBeVisible();
2925
+ async expectUserIsAssignedToTeam(teamName, userName) {
2926
+ const releaseAdminRow = this.page.locator("#teams-permissions-table tr", {
2927
+ hasText: teamName
2928
+ });
2929
+ await (0, $hOLA6$expect)(releaseAdminRow.locator("span.tag-wrapper.tag-label", {
2930
+ hasText: userName
2931
+ })).toBeVisible();
2928
2932
  }
2929
2933
  }
2930
2934