@digital-ai/devops-page-object-release 1.0.5 → 1.0.7

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.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 34926f9: S-133578 Add Confirmation Message to Connection Delete Operation v3
8
+
9
+ ## 1.0.6
10
+
11
+ ### Patch Changes
12
+
13
+ - 000315e: S-133578 Add Confirmation Message to Connection Delete Operation v2
14
+
3
15
  ## 1.0.5
4
16
 
5
17
  ### Patch Changes
package/dist/main.js CHANGED
@@ -10192,19 +10192,21 @@ class $3ec0e9cf832fdde8$export$9823ddf5e80770e7 extends (0, $f8721861c660dd88$ex
10192
10192
  async deleteInstance(instanceName) {
10193
10193
  await this.page.locator('.configuration-instance').filter({
10194
10194
  hasText: instanceName
10195
- }).locator('.delete-instance').click();
10195
+ }).locator('.delete-instance').click({
10196
+ force: true
10197
+ });
10196
10198
  return this;
10197
10199
  }
10198
10200
  async expectDeleteDialog(dialogName) {
10199
- const dialog = this.page.getByRole('dialog', {
10200
- name: dialogName
10201
+ const dialog = this.page.getByRole('dialog').filter({
10202
+ hasText: dialogName
10201
10203
  });
10202
10204
  await (0, $kKeXs$playwrighttest.expect)(dialog).toBeVisible();
10203
10205
  return this;
10204
10206
  }
10205
10207
  async deleteInstanceViaDialog(dialogName) {
10206
- const dialog = this.page.getByRole('dialog', {
10207
- name: dialogName
10208
+ const dialog = this.page.getByRole('dialog').filter({
10209
+ hasText: dialogName
10208
10210
  });
10209
10211
  const deleteButton = dialog.getByRole('button', {
10210
10212
  name: 'Delete'