@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 +12 -0
- package/dist/main.js +16 -4
- package/dist/main.js.map +1 -1
- package/dist/module.js +16 -4
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/module.js
CHANGED
|
@@ -680,7 +680,7 @@ class $dfc4ce40cbd0eb71$export$f8e64fcf447db2bf extends (0, $9626bc9256ce31f7$ex
|
|
|
680
680
|
}
|
|
681
681
|
async addNewVariable(variableName, labelname, description) {
|
|
682
682
|
await this.page.locator('button', {
|
|
683
|
-
hasText: 'New variable'
|
|
683
|
+
hasText: 'New release variable'
|
|
684
684
|
}).click();
|
|
685
685
|
await this.page.fill(`[name="fieldKey"]`, variableName);
|
|
686
686
|
await this.page.locator('.variable-label input').fill(labelname);
|
|
@@ -819,10 +819,10 @@ class $dfc4ce40cbd0eb71$export$f8e64fcf447db2bf extends (0, $9626bc9256ce31f7$ex
|
|
|
819
819
|
await this.page.locator('#multiline').click();
|
|
820
820
|
}
|
|
821
821
|
async searchFolderVariable(variableName) {
|
|
822
|
-
await this.page.locator('
|
|
822
|
+
await this.page.locator('input#variables-filter').fill(variableName);
|
|
823
823
|
}
|
|
824
824
|
async clearFolderVarSearch() {
|
|
825
|
-
await this.page.locator('
|
|
825
|
+
await this.page.locator('input#variables-filter').clear();
|
|
826
826
|
}
|
|
827
827
|
async clickFolderVariableButton() {
|
|
828
828
|
await this.page.getByText('Folder variables').click();
|
|
@@ -7082,6 +7082,12 @@ class $7de643aea2396373$export$3a6aeb461146cd7c extends (0, $9626bc9256ce31f7$ex
|
|
|
7082
7082
|
async expectFirstVariableWithName(name) {
|
|
7083
7083
|
await (0, $hOLA6$expect)(this.page.locator('.variable .data-row').first()).toContainText(name);
|
|
7084
7084
|
}
|
|
7085
|
+
async expectEmptyStatePresent(titleText, subtitleText, buttonText) {
|
|
7086
|
+
await (0, $hOLA6$expect)(this.page.locator('.dot-empty-state')).toBeVisible();
|
|
7087
|
+
await (0, $hOLA6$expect)(this.page.locator('.dot-empty-state h2')).toHaveText(titleText);
|
|
7088
|
+
await (0, $hOLA6$expect)(this.page.locator('.dot-empty-state p')).toHaveText(subtitleText);
|
|
7089
|
+
await (0, $hOLA6$expect)(this.page.locator('.dot-empty-state button')).toHaveText(buttonText);
|
|
7090
|
+
}
|
|
7085
7091
|
async searchForVariable(variableName) {
|
|
7086
7092
|
await this.page.locator(this.getVariableSearchInputSelector()).fill(variableName);
|
|
7087
7093
|
await this.expectVariablesCountToBe(1);
|
|
@@ -7150,7 +7156,7 @@ class $f48771b486a3eb8f$export$a87f0ae8695e74be extends (0, $7de643aea2396373$ex
|
|
|
7150
7156
|
return new $f48771b486a3eb8f$var$ReleaseVariableModal(this.page);
|
|
7151
7157
|
}
|
|
7152
7158
|
async addNewVariable(variableName, labelname, description) {
|
|
7153
|
-
await this.page.locator('#action-toolbar').getByText('New variable').click();
|
|
7159
|
+
await this.page.locator('#action-toolbar').getByText('New release variable').click();
|
|
7154
7160
|
await this.page.fill(`[name="fieldKey"]`, variableName);
|
|
7155
7161
|
await this.page.locator('.variable-label input').fill(labelname);
|
|
7156
7162
|
if (description) await this.page.locator('.variable-description input').fill(description);
|
|
@@ -7626,6 +7632,12 @@ class $c37c93912f458e81$export$60c3bfa6385e2a10 extends (0, $59c1d01bded91449$ex
|
|
|
7626
7632
|
async clickOnAssignedToAllAvailable() {
|
|
7627
7633
|
await this.page.locator(`input[value="assignedToAnybody"]`).click();
|
|
7628
7634
|
}
|
|
7635
|
+
async clickOnAssignedToNoUser() {
|
|
7636
|
+
await this.page.locator(`input[value="assignedToNoUser"]`).click();
|
|
7637
|
+
}
|
|
7638
|
+
async clickOnNoUserTeamAssigned() {
|
|
7639
|
+
await this.page.locator(`input[value="assignedToNobody"]`).click();
|
|
7640
|
+
}
|
|
7629
7641
|
async expectTaskToNotBeDisplayed(taskTitle) {
|
|
7630
7642
|
await (0, $hOLA6$expect)(this.page.locator(`.row.task-inner`).filter({
|
|
7631
7643
|
hasText: taskTitle
|