@digital-ai/devops-page-object-release 0.0.103 → 0.0.104

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
@@ -3464,9 +3464,9 @@ class $87bbb6d35ad31a00$export$f8f26dd395d7e1bd extends (0, $9626bc9256ce31f7$ex
3464
3464
  }
3465
3465
  async leaveWithoutSaving() {
3466
3466
  await (0, $hOLA6$expect)(this.page.getByRole('heading', {
3467
- name: 'Confirm leave'
3467
+ name: 'Unsaved changes'
3468
3468
  })).toBeVisible();
3469
- await (0, $hOLA6$expect)(this.page.getByRole('paragraph')).toContainText('You have unsaved changes that will be lost.');
3469
+ await (0, $hOLA6$expect)(this.page.getByText('There are unsaved changes. If you leave now, they will be lost.')).toBeVisible();
3470
3470
  await this.page.getByRole('button', {
3471
3471
  name: 'Leave without saving'
3472
3472
  }).click();
@@ -8960,9 +8960,9 @@ class $2cbb78eec86d0a9f$export$b8732a8d21d8bf63 extends $2cbb78eec86d0a9f$export
8960
8960
  }
8961
8961
  async expectConfirmationPopUp() {
8962
8962
  await (0, $hOLA6$expect)(this.page.getByRole('heading', {
8963
- name: 'Confirm leave'
8963
+ name: 'Unsaved changes'
8964
8964
  })).toBeVisible();
8965
- await (0, $hOLA6$expect)(this.page.getByRole('paragraph')).toContainText('You have unsaved changes that will be lost.');
8965
+ await (0, $hOLA6$expect)(this.page.getByText('There are unsaved changes. If you leave now, they will be lost.')).toBeVisible();
8966
8966
  await this.page.getByRole('button', {
8967
8967
  name: 'Leave without saving'
8968
8968
  }).click();