@digital-ai/devops-page-object-release 0.0.0-snapshot-20251122175005 → 0.0.0-snapshot-20251124090206

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-snapshot-20251122175005
3
+ ## 0.0.0-snapshot-20251124090206
4
4
 
5
5
  ### Patch Changes
6
6
 
package/dist/main.js CHANGED
@@ -5920,18 +5920,15 @@ class $e5c8dec182aa2e84$export$e2613a7eee3a1b1b extends (0, $f8721861c660dd88$ex
5920
5920
  const tagLocator = rowLocator.locator(`.tag-label:has-text("${team}")`);
5921
5921
  if (readOnly) await (0, $kKeXs$playwrighttest.expect)(tagLocator).toBeVisible();
5922
5922
  else {
5923
- const closeIconLocator = tagLocator.locator('xpath=following-sibling::*[contains(@class, "tag-close")]');
5923
+ const closeIconLocator = tagLocator.locator(".. >> .tag-close");
5924
5924
  await (0, $kKeXs$playwrighttest.expect)(closeIconLocator).toBeVisible();
5925
5925
  }
5926
5926
  }
5927
5927
  async expectTeamsNotToExist(teams, readOnly) {
5928
5928
  for (const team of teams){
5929
- //const teamRow = this.page.locator(`table:first-of-type tr:has(td:has-text("${team}"))`);
5930
5929
  const teamRow = this.page.locator(`tr:has-text("${team}")`);
5931
- if (readOnly) // Verify read-only team does NOT have a delete button
5932
- await (0, $kKeXs$playwrighttest.expect)(teamRow.locator('.action-label:has-text("Delete")')).toHaveCount(0);
5933
- else // For editable teams, make sure delete button exists
5934
- await (0, $kKeXs$playwrighttest.expect)(teamRow.locator('.action-label:has-text("Delete")')).toHaveCount(1);
5930
+ if (readOnly) await (0, $kKeXs$playwrighttest.expect)(teamRow.getByTitle("Delete")).toHaveCount(0);
5931
+ else await (0, $kKeXs$playwrighttest.expect)(teamRow.getByTitle("Delete")).toHaveCount(1);
5935
5932
  }
5936
5933
  }
5937
5934
  async expectInheritTeamsDisabled() {
@@ -6077,19 +6074,6 @@ class $9058d40a81bdb1f5$export$b453f08936c58edb extends (0, $f8721861c660dd88$ex
6077
6074
  await this.util.openSideNavMenu("Teams & permissions");
6078
6075
  await (0, $kKeXs$playwrighttest.expect)(this.page.getByLabel("breadcrumb").getByText("Teams & permissions")).toBeVisible();
6079
6076
  }
6080
- async clickOnFolderRowAction(folderName, actionLabel) {
6081
- const folderRow = this.page.locator(`.folder-list-row-wrapper:has-text("${folderName}")`);
6082
- await folderRow.hover();
6083
- const optionsWrapper = folderRow.locator(".folder-options-wrapper");
6084
- const actionLink = optionsWrapper.locator(`.flatten-links a:has-text("${actionLabel}")`);
6085
- await actionLink.click();
6086
- }
6087
- async createNewFolderFromRowAction(folderName, subFolderName) {
6088
- await this.clickOnFolderRowAction(folderName, "Add folder");
6089
- const modal = this.page.locator(".xl-react-modal-content");
6090
- await modal.locator("input").fill(subFolderName);
6091
- await modal.locator(".button.primary").click();
6092
- }
6093
6077
  async expectReleaseGroupisDisplayed(title) {
6094
6078
  //await this.page.locator(`.fc-list-item-title-wrapper .fc-list-item-title strong:text-is('${title}`).isVisible()
6095
6079
  await this.page.waitForSelector(`.fc-list-item-title-wrapper .fc-list-item-title strong:text-is('${title}')`);
@@ -10156,9 +10140,7 @@ class $4ef41cf96a5fae4c$export$b8a61e5c71402559 {
10156
10140
  await folder.click();
10157
10141
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator(".MuiBreadcrumbs-li").getByRole("link", {
10158
10142
  name: folderName
10159
- })).toBeVisible({
10160
- timeout: 5000
10161
- });
10143
+ })).toBeVisible();
10162
10144
  return this;
10163
10145
  }
10164
10146
  async openProfilePage() {