@digital-ai/devops-page-object-release 0.0.58 → 0.0.59
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 +6 -0
- package/dist/main.js +5 -0
- package/dist/main.js.map +1 -1
- package/dist/module.js +5 -0
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -7639,6 +7639,11 @@ class $6c0f5b52769b32c3$var$ConfigurationInstancePage extends (0, $9626bc9256ce3
|
|
|
7639
7639
|
await this.page.getByLabel(fieldName).click();
|
|
7640
7640
|
return this;
|
|
7641
7641
|
}
|
|
7642
|
+
async expectTextFieldNotToExist(fieldName) {
|
|
7643
|
+
const locator = this.page.locator(`.input-scalar[data-test-id="${fieldName}"]`);
|
|
7644
|
+
await (0, $hOLA6$expect)(locator).toHaveCount(0);
|
|
7645
|
+
return this;
|
|
7646
|
+
}
|
|
7642
7647
|
// To avoid flakiness and clicking around the page, we can directly click on the header
|
|
7643
7648
|
async clickHeader() {
|
|
7644
7649
|
await this.page.locator(".configuration-instance-page h2").click();
|