@digital-ai/devops-page-object-release 1.0.12 → 1.0.14

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,5 +1,17 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
+ ## 1.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - e3fe995: S-136901 Update variable-related selectors
8
+
9
+ ## 1.0.13
10
+
11
+ ### Patch Changes
12
+
13
+ - 317e0f3: Enable Filtering for Unassigned Users
14
+
3
15
  ## 1.0.12
4
16
 
5
17
  ### Patch Changes
package/dist/main.js CHANGED
@@ -1614,7 +1614,7 @@ class $59543fc69900e8db$export$f8e64fcf447db2bf extends (0, $f8721861c660dd88$ex
1614
1614
  }
1615
1615
  async addNewVariable(variableName, labelname, description) {
1616
1616
  await this.page.locator('button', {
1617
- hasText: 'New variable'
1617
+ hasText: 'New release variable'
1618
1618
  }).click();
1619
1619
  await this.page.fill(`[name="fieldKey"]`, variableName);
1620
1620
  await this.page.locator('.variable-label input').fill(labelname);
@@ -1753,10 +1753,10 @@ class $59543fc69900e8db$export$f8e64fcf447db2bf extends (0, $f8721861c660dd88$ex
1753
1753
  await this.page.locator('#multiline').click();
1754
1754
  }
1755
1755
  async searchFolderVariable(variableName) {
1756
- await this.page.locator('.searchFilter').fill(variableName);
1756
+ await this.page.locator('input#variables-filter').fill(variableName);
1757
1757
  }
1758
1758
  async clearFolderVarSearch() {
1759
- await this.page.locator('.searchFilter').clear();
1759
+ await this.page.locator('input#variables-filter').clear();
1760
1760
  }
1761
1761
  async clickFolderVariableButton() {
1762
1762
  await this.page.getByText('Folder variables').click();
@@ -8016,6 +8016,12 @@ class $291bffc3fb5b079a$export$3a6aeb461146cd7c extends (0, $f8721861c660dd88$ex
8016
8016
  async expectFirstVariableWithName(name) {
8017
8017
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator('.variable .data-row').first()).toContainText(name);
8018
8018
  }
8019
+ async expectEmptyStatePresent(titleText, subtitleText, buttonText) {
8020
+ await (0, $kKeXs$playwrighttest.expect)(this.page.locator('.dot-empty-state')).toBeVisible();
8021
+ await (0, $kKeXs$playwrighttest.expect)(this.page.locator('.dot-empty-state h2')).toHaveText(titleText);
8022
+ await (0, $kKeXs$playwrighttest.expect)(this.page.locator('.dot-empty-state p')).toHaveText(subtitleText);
8023
+ await (0, $kKeXs$playwrighttest.expect)(this.page.locator('.dot-empty-state button')).toHaveText(buttonText);
8024
+ }
8019
8025
  async searchForVariable(variableName) {
8020
8026
  await this.page.locator(this.getVariableSearchInputSelector()).fill(variableName);
8021
8027
  await this.expectVariablesCountToBe(1);
@@ -8084,7 +8090,7 @@ class $fd4eef3ad2b2e612$export$a87f0ae8695e74be extends (0, $291bffc3fb5b079a$ex
8084
8090
  return new $fd4eef3ad2b2e612$var$ReleaseVariableModal(this.page);
8085
8091
  }
8086
8092
  async addNewVariable(variableName, labelname, description) {
8087
- await this.page.locator('#action-toolbar').getByText('New variable').click();
8093
+ await this.page.locator('#action-toolbar').getByText('New release variable').click();
8088
8094
  await this.page.fill(`[name="fieldKey"]`, variableName);
8089
8095
  await this.page.locator('.variable-label input').fill(labelname);
8090
8096
  if (description) await this.page.locator('.variable-description input').fill(description);
@@ -8560,6 +8566,12 @@ class $ed2d4739e27d43c1$export$60c3bfa6385e2a10 extends (0, $96d547f0e8ead553$ex
8560
8566
  async clickOnAssignedToAllAvailable() {
8561
8567
  await this.page.locator(`input[value="assignedToAnybody"]`).click();
8562
8568
  }
8569
+ async clickOnAssignedToNoUser() {
8570
+ await this.page.locator(`input[value="assignedToNoUser"]`).click();
8571
+ }
8572
+ async clickOnNoUserTeamAssigned() {
8573
+ await this.page.locator(`input[value="assignedToNobody"]`).click();
8574
+ }
8563
8575
  async expectTaskToNotBeDisplayed(taskTitle) {
8564
8576
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator(`.row.task-inner`).filter({
8565
8577
  hasText: taskTitle