@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 +12 -0
- package/dist/main.js +7 -5
- package/dist/main.js.map +1 -1
- package/dist/module.js +7 -5
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -9258,19 +9258,21 @@ class $6c0f5b52769b32c3$export$9823ddf5e80770e7 extends (0, $9626bc9256ce31f7$ex
|
|
|
9258
9258
|
async deleteInstance(instanceName) {
|
|
9259
9259
|
await this.page.locator('.configuration-instance').filter({
|
|
9260
9260
|
hasText: instanceName
|
|
9261
|
-
}).locator('.delete-instance').click(
|
|
9261
|
+
}).locator('.delete-instance').click({
|
|
9262
|
+
force: true
|
|
9263
|
+
});
|
|
9262
9264
|
return this;
|
|
9263
9265
|
}
|
|
9264
9266
|
async expectDeleteDialog(dialogName) {
|
|
9265
|
-
const dialog = this.page.getByRole('dialog'
|
|
9266
|
-
|
|
9267
|
+
const dialog = this.page.getByRole('dialog').filter({
|
|
9268
|
+
hasText: dialogName
|
|
9267
9269
|
});
|
|
9268
9270
|
await (0, $hOLA6$expect)(dialog).toBeVisible();
|
|
9269
9271
|
return this;
|
|
9270
9272
|
}
|
|
9271
9273
|
async deleteInstanceViaDialog(dialogName) {
|
|
9272
|
-
const dialog = this.page.getByRole('dialog'
|
|
9273
|
-
|
|
9274
|
+
const dialog = this.page.getByRole('dialog').filter({
|
|
9275
|
+
hasText: dialogName
|
|
9274
9276
|
});
|
|
9275
9277
|
const deleteButton = dialog.getByRole('button', {
|
|
9276
9278
|
name: 'Delete'
|