@digital-ai/devops-page-object-release 0.0.0-snapshot-20251106120802 → 0.0.0-snapshot-20251110051659

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
@@ -73,12 +73,6 @@ class $05d91a1d3381a287$export$34addcca3f0ae43f extends (0, $9626bc9256ce31f7$ex
73
73
  await this.page.getByPlaceholder("No template").fill(templateName);
74
74
  await this.page.getByText(templateName).click();
75
75
  }
76
- async selectFolder(folderName) {
77
- await this.page.locator("div.xl__value-container div.xl__placeholder").click();
78
- await this.page.locator("div.xl__value-container").click();
79
- await this.page.locator('input[id^="react-select"][type="text"]').fill(folderName);
80
- await this.page.getByLabel("grid").getByText(folderName).click();
81
- }
82
76
  async removeTemplate() {
83
77
  await this.page.locator(".template-select .close-icon").click();
84
78
  }
@@ -1387,9 +1381,6 @@ class $90bb70a7e909e500$export$519356f6c50361f7 extends (0, $9626bc9256ce31f7$ex
1387
1381
  async expectRiskProfileValue(value) {
1388
1382
  await (0, $hOLA6$expect)(this.railLocator.locator("#riskProfileId")).toHaveValue(value);
1389
1383
  }
1390
- async expectServerFieldValue(label, value) {
1391
- await (0, $hOLA6$expect)(this.railLocator.getByTestId("jiraServer-input")).toHaveValue(value);
1392
- }
1393
1384
  async expectTo(value) {
1394
1385
  return await (0, $hOLA6$expect)(this.railLocator.getByTestId(`dot-autocomplete-chip`)).toHaveText(value);
1395
1386
  }
@@ -2496,7 +2487,6 @@ class $8e39246218b802fc$export$e946776eae644790 extends (0, $9626bc9256ce31f7$ex
2496
2487
 
2497
2488
 
2498
2489
 
2499
-
2500
2490
  class $a546aadb4e6fa16a$export$5a82be0a2a261cc6 extends (0, $9626bc9256ce31f7$export$2b65d1d97338f32b) {
2501
2491
  constructor(page){
2502
2492
  super(page);
@@ -2509,19 +2499,6 @@ class $a546aadb4e6fa16a$export$5a82be0a2a261cc6 extends (0, $9626bc9256ce31f7$ex
2509
2499
  async disableShowDates() {
2510
2500
  await this.page.locator("#toggleIsDatesColumnsShown").uncheck();
2511
2501
  }
2512
- async expectStartDateDisplayed(name, date) {
2513
- const formattedDate = (0, $hOLA6$moment)(date).format("M/D/YY");
2514
- const inputLocator = this.page.locator(".gantt_row", {
2515
- hasText: name
2516
- }).locator('.gantt_cell input[type="text"]').first(); // assumes start date is the first text input
2517
- await (0, $hOLA6$expect)(inputLocator).toHaveValue(formattedDate);
2518
- }
2519
- async clickOnReleaseName(releaseName) {
2520
- await this.page.getByRole("link", {
2521
- name: releaseName
2522
- }).click();
2523
- await (0, $hOLA6$expect)(this.page.getByLabel("breadcrumb").getByText(releaseName)).toBeVisible();
2524
- }
2525
2502
  async expectPlanningDataColumnsHidden() {
2526
2503
  (0, $hOLA6$expect)(await this.page.locator(`#gantt .gantt_grid_data .gantt_row`).first().locator(`.gantt_cell`).count()).toEqual(1);
2527
2504
  }
@@ -2978,20 +2955,9 @@ class $96c6280ff1c47b81$export$3bc3e140e0dcb075 extends (0, $9626bc9256ce31f7$ex
2978
2955
  const releaseAdminRow = this.page.locator("#teams-permissions-table tr", {
2979
2956
  hasText: teamName
2980
2957
  });
2981
- await releaseAdminRow.first().waitFor({
2982
- state: "visible",
2983
- timeout: 4000
2984
- });
2985
- const userTag = releaseAdminRow.locator(`text=${userName}`);
2986
- await (0, $hOLA6$expect)(userTag).toBeVisible({
2987
- timeout: 4000
2988
- });
2989
- }
2990
- async expectTeamContains(teamName, ...members) {
2991
- const teamEditor = this.page.locator("tr", {
2992
- hasText: teamName
2993
- });
2994
- for (const member of members)await (0, $hOLA6$expect)(teamEditor.locator(`text=${member}`)).toBeVisible();
2958
+ await (0, $hOLA6$expect)(releaseAdminRow.locator("span.tag-wrapper.tag-label", {
2959
+ hasText: userName
2960
+ })).toBeVisible();
2995
2961
  }
2996
2962
  async openSubPage(subpage) {
2997
2963
  await this.page.locator("ul.side-nav li", {
@@ -7811,7 +7777,7 @@ class $171d52b372748c0b$export$7e1d435fa474ee21 extends (0, $9626bc9256ce31f7$ex
7811
7777
  async clickNewReleaseIcon(templateName) {
7812
7778
  await this.page.locator("xlr-template-row-component").filter({
7813
7779
  hasText: templateName
7814
- }).locator(".link .add-icon").first().click();
7780
+ }).locator(".link .add-icon").click();
7815
7781
  await (0, $hOLA6$expect)(this.page.getByRole("heading", {
7816
7782
  name: "Create new release"
7817
7783
  })).toBeVisible();
@@ -8920,14 +8886,11 @@ class $6c0f5b52769b32c3$export$9823ddf5e80770e7 extends (0, $9626bc9256ce31f7$ex
8920
8886
  return this;
8921
8887
  }
8922
8888
  async clearFilter() {
8923
- await this.page.locator(".search-input-filter input").clear({
8924
- force: true
8925
- });
8889
+ await this.page.locator("#connections-search-filter").clear();
8926
8890
  return this;
8927
8891
  }
8928
8892
  async searchInstances(instanceName) {
8929
- await this.page.getByPlaceholder("Search...").click();
8930
- await this.page.getByPlaceholder("Search...").fill(instanceName);
8893
+ await this.page.locator("#connections-search-filter").fill(instanceName);
8931
8894
  return this;
8932
8895
  }
8933
8896
  async expectErrorDisplayed() {