@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/dist/module.js CHANGED
@@ -2012,6 +2012,10 @@ class $90bb70a7e909e500$export$62811a109bb4377d extends (0, $9626bc9256ce31f7$ex
2012
2012
  (0, $hOLA6$expect)(await this.page.locator('.map-data-row').count()).toBe(count);
2013
2013
  return this;
2014
2014
  }
2015
+ async expectStringMapReadOnlyCount(count) {
2016
+ (0, $hOLA6$expect)(await this.page.locator('.map-read-only-row').count()).toBe(count);
2017
+ return this;
2018
+ }
2015
2019
  async expectAddButtonDisabledForMap(key, value) {
2016
2020
  await this.page.locator(`.input-with-map[data-test-id="${this.propertyName}"] button.add-new-button`).click();
2017
2021
  await this.page.locator(`.input-with-map[data-test-id="${this.propertyName}"] input[id="new-row-key-input"]`).fill(key);
@@ -3464,9 +3468,9 @@ class $87bbb6d35ad31a00$export$f8f26dd395d7e1bd extends (0, $9626bc9256ce31f7$ex
3464
3468
  }
3465
3469
  async leaveWithoutSaving() {
3466
3470
  await (0, $hOLA6$expect)(this.page.getByRole('heading', {
3467
- name: 'Confirm leave'
3471
+ name: 'Unsaved changes'
3468
3472
  })).toBeVisible();
3469
- await (0, $hOLA6$expect)(this.page.getByRole('paragraph')).toContainText('You have unsaved changes that will be lost.');
3473
+ await (0, $hOLA6$expect)(this.page.getByText('There are unsaved changes. If you leave now, they will be lost.')).toBeVisible();
3470
3474
  await this.page.getByRole('button', {
3471
3475
  name: 'Leave without saving'
3472
3476
  }).click();
@@ -8960,9 +8964,9 @@ class $2cbb78eec86d0a9f$export$b8732a8d21d8bf63 extends $2cbb78eec86d0a9f$export
8960
8964
  }
8961
8965
  async expectConfirmationPopUp() {
8962
8966
  await (0, $hOLA6$expect)(this.page.getByRole('heading', {
8963
- name: 'Confirm leave'
8967
+ name: 'Unsaved changes'
8964
8968
  })).toBeVisible();
8965
- await (0, $hOLA6$expect)(this.page.getByRole('paragraph')).toContainText('You have unsaved changes that will be lost.');
8969
+ await (0, $hOLA6$expect)(this.page.getByText('There are unsaved changes. If you leave now, they will be lost.')).toBeVisible();
8966
8970
  await this.page.getByRole('button', {
8967
8971
  name: 'Leave without saving'
8968
8972
  }).click();
@@ -9156,11 +9160,11 @@ class $6c0f5b52769b32c3$var$ConfigurationInstancePage extends (0, $9626bc9256ce3
9156
9160
  return this;
9157
9161
  }
9158
9162
  async setStringMap(pairs) {
9159
- await this.page.locator('[data-test-id="stringMap"]').getByTestId('icon-button-tooltip').getByLabel('Add key-value pair').click();
9163
+ await this.page.locator('[data-test-id="stringMap"]').getByTestId('icon-button-tooltip').getByLabel('Add new key-value pair').click();
9160
9164
  await this.page.locator('#new-row-key-input').fill(pairs.key);
9161
9165
  await this.page.locator('#new-row-value-input').fill(pairs.value);
9162
9166
  await this.page.getByRole('button', {
9163
- name: 'check-line icon'
9167
+ name: 'Save button'
9164
9168
  }).click();
9165
9169
  }
9166
9170
  async expectStringMapCountToBe(count) {