@shopware-ag/acceptance-test-suite 11.7.0 → 11.7.1
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/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +9 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1549,11 +1549,11 @@ declare class ContactForm extends Home implements PageObject {
|
|
|
1549
1549
|
readonly page: Page;
|
|
1550
1550
|
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1551
1551
|
/**
|
|
1552
|
-
* @deprecated Compatible until
|
|
1552
|
+
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
1553
1553
|
*/
|
|
1554
|
-
readonly contactModal: Locator;
|
|
1554
|
+
readonly contactModal: Locator | undefined;
|
|
1555
1555
|
/**
|
|
1556
|
-
* @deprecated Compatible until
|
|
1556
|
+
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
|
|
1557
1557
|
*/
|
|
1558
1558
|
readonly contactSuccessModal: Locator | undefined;
|
|
1559
1559
|
readonly contactWrapper: Locator;
|
package/dist/index.d.ts
CHANGED
|
@@ -1549,11 +1549,11 @@ declare class ContactForm extends Home implements PageObject {
|
|
|
1549
1549
|
readonly page: Page;
|
|
1550
1550
|
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1551
1551
|
/**
|
|
1552
|
-
* @deprecated Compatible until
|
|
1552
|
+
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
1553
1553
|
*/
|
|
1554
|
-
readonly contactModal: Locator;
|
|
1554
|
+
readonly contactModal: Locator | undefined;
|
|
1555
1555
|
/**
|
|
1556
|
-
* @deprecated Compatible until
|
|
1556
|
+
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
|
|
1557
1557
|
*/
|
|
1558
1558
|
readonly contactSuccessModal: Locator | undefined;
|
|
1559
1559
|
readonly contactWrapper: Locator;
|
package/dist/index.mjs
CHANGED
|
@@ -4278,11 +4278,11 @@ class ContactForm extends Home {
|
|
|
4278
4278
|
this.page = page;
|
|
4279
4279
|
this.instanceMeta = instanceMeta;
|
|
4280
4280
|
/**
|
|
4281
|
-
* @deprecated Compatible until
|
|
4281
|
+
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
4282
4282
|
*/
|
|
4283
4283
|
__publicField$y(this, "contactModal");
|
|
4284
4284
|
/**
|
|
4285
|
-
* @deprecated Compatible until
|
|
4285
|
+
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
|
|
4286
4286
|
*/
|
|
4287
4287
|
__publicField$y(this, "contactSuccessModal");
|
|
4288
4288
|
__publicField$y(this, "contactWrapper");
|
|
@@ -4309,16 +4309,15 @@ class ContactForm extends Home {
|
|
|
4309
4309
|
__publicField$y(this, "greCaptchaV2Container");
|
|
4310
4310
|
__publicField$y(this, "greCaptchaV2Input");
|
|
4311
4311
|
__publicField$y(this, "greCaptchaProtectionInformation");
|
|
4312
|
-
this.
|
|
4313
|
-
|
|
4314
|
-
|
|
4312
|
+
this.contactWrapper = this.page.locator(".card").filter({ has: this.page.getByText("Contact") });
|
|
4313
|
+
this.formFieldFeedback = this.contactWrapper.locator(".form-field-feedback");
|
|
4314
|
+
this.formAlert = this.page.getByRole("alert");
|
|
4315
|
+
this.contactSuccessMessage = this.page.locator(".confirm-message");
|
|
4316
|
+
if (satisfies(instanceMeta.version, "<6.7") && !instanceMeta.features["ACCESSIBILITY_TWEAKS"]) {
|
|
4317
|
+
this.contactModal = this.page.getByRole("dialog").filter({ has: this.page.getByText("Contact") });
|
|
4318
|
+
this.contactWrapper = this.contactModal;
|
|
4315
4319
|
this.contactSuccessModal = this.page.getByRole("dialog").filter({ has: this.page.locator(".confirm-message") });
|
|
4316
4320
|
this.contactSuccessMessage = this.contactSuccessModal.locator(".confirm-message");
|
|
4317
|
-
} else {
|
|
4318
|
-
this.contactWrapper = this.page.locator(".card").filter({ has: this.page.getByText("Contact") });
|
|
4319
|
-
this.formFieldFeedback = this.contactWrapper.locator(".form-field-feedback");
|
|
4320
|
-
this.formAlert = this.page.getByRole("alert");
|
|
4321
|
-
this.contactSuccessMessage = this.page.locator(".confirm-message");
|
|
4322
4321
|
}
|
|
4323
4322
|
this.basicCaptcha = this.contactWrapper.locator(".basic-captcha");
|
|
4324
4323
|
this.salutationSelect = this.contactWrapper.getByLabel("Salutation");
|