@digital-ai/devops-page-object-release 0.0.103 → 0.0.105
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 +10 -6
- package/dist/main.js.map +1 -1
- package/dist/module.js +10 -6
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @digital-ai/devops-page-object-release
|
|
2
2
|
|
|
3
|
+
## 0.0.105
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b106cd7: S-129013 Fix selectors for input map
|
|
8
|
+
|
|
9
|
+
## 0.0.104
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 32b30f0: S-128936: fix selections for new react based confirm leave dialog
|
|
14
|
+
|
|
3
15
|
## 0.0.103
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/main.js
CHANGED
|
@@ -2946,6 +2946,10 @@ class $eb81c1b930e440ff$export$62811a109bb4377d extends (0, $f8721861c660dd88$ex
|
|
|
2946
2946
|
(0, $kKeXs$playwrighttest.expect)(await this.page.locator('.map-data-row').count()).toBe(count);
|
|
2947
2947
|
return this;
|
|
2948
2948
|
}
|
|
2949
|
+
async expectStringMapReadOnlyCount(count) {
|
|
2950
|
+
(0, $kKeXs$playwrighttest.expect)(await this.page.locator('.map-read-only-row').count()).toBe(count);
|
|
2951
|
+
return this;
|
|
2952
|
+
}
|
|
2949
2953
|
async expectAddButtonDisabledForMap(key, value) {
|
|
2950
2954
|
await this.page.locator(`.input-with-map[data-test-id="${this.propertyName}"] button.add-new-button`).click();
|
|
2951
2955
|
await this.page.locator(`.input-with-map[data-test-id="${this.propertyName}"] input[id="new-row-key-input"]`).fill(key);
|
|
@@ -4398,9 +4402,9 @@ class $2c89ba54932fbba8$export$f8f26dd395d7e1bd extends (0, $f8721861c660dd88$ex
|
|
|
4398
4402
|
}
|
|
4399
4403
|
async leaveWithoutSaving() {
|
|
4400
4404
|
await (0, $kKeXs$playwrighttest.expect)(this.page.getByRole('heading', {
|
|
4401
|
-
name: '
|
|
4405
|
+
name: 'Unsaved changes'
|
|
4402
4406
|
})).toBeVisible();
|
|
4403
|
-
await (0, $kKeXs$playwrighttest.expect)(this.page.
|
|
4407
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page.getByText('There are unsaved changes. If you leave now, they will be lost.')).toBeVisible();
|
|
4404
4408
|
await this.page.getByRole('button', {
|
|
4405
4409
|
name: 'Leave without saving'
|
|
4406
4410
|
}).click();
|
|
@@ -9894,9 +9898,9 @@ class $dbc8f157e7b24b12$export$b8732a8d21d8bf63 extends $dbc8f157e7b24b12$export
|
|
|
9894
9898
|
}
|
|
9895
9899
|
async expectConfirmationPopUp() {
|
|
9896
9900
|
await (0, $kKeXs$playwrighttest.expect)(this.page.getByRole('heading', {
|
|
9897
|
-
name: '
|
|
9901
|
+
name: 'Unsaved changes'
|
|
9898
9902
|
})).toBeVisible();
|
|
9899
|
-
await (0, $kKeXs$playwrighttest.expect)(this.page.
|
|
9903
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page.getByText('There are unsaved changes. If you leave now, they will be lost.')).toBeVisible();
|
|
9900
9904
|
await this.page.getByRole('button', {
|
|
9901
9905
|
name: 'Leave without saving'
|
|
9902
9906
|
}).click();
|
|
@@ -10090,11 +10094,11 @@ class $3ec0e9cf832fdde8$var$ConfigurationInstancePage extends (0, $f8721861c660d
|
|
|
10090
10094
|
return this;
|
|
10091
10095
|
}
|
|
10092
10096
|
async setStringMap(pairs) {
|
|
10093
|
-
await this.page.locator('[data-test-id="stringMap"]').getByTestId('icon-button-tooltip').getByLabel('Add key-value pair').click();
|
|
10097
|
+
await this.page.locator('[data-test-id="stringMap"]').getByTestId('icon-button-tooltip').getByLabel('Add new key-value pair').click();
|
|
10094
10098
|
await this.page.locator('#new-row-key-input').fill(pairs.key);
|
|
10095
10099
|
await this.page.locator('#new-row-value-input').fill(pairs.value);
|
|
10096
10100
|
await this.page.getByRole('button', {
|
|
10097
|
-
name: '
|
|
10101
|
+
name: 'Save button'
|
|
10098
10102
|
}).click();
|
|
10099
10103
|
}
|
|
10100
10104
|
async expectStringMapCountToBe(count) {
|