@shopware-ag/acceptance-test-suite 11.7.0 → 11.7.2
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 +17 -18
- 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");
|
|
@@ -4575,10 +4574,10 @@ class ProductDetail {
|
|
|
4575
4574
|
this.propertyOptionSizeMedium = this.propertyOptionGrid.getByLabel("Medium");
|
|
4576
4575
|
this.propertyOptionSizeLarge = this.propertyOptionGrid.getByLabel("Large");
|
|
4577
4576
|
this.specificationsTabLink = page.getByRole("tab", { name: "Specifications" });
|
|
4578
|
-
this.customFieldCard = page.locator(".
|
|
4577
|
+
this.customFieldCard = page.locator(".mt-card").getByText("Custom fields");
|
|
4579
4578
|
}
|
|
4580
4579
|
async getCustomFieldSetCardContentByName(customFieldSetName) {
|
|
4581
|
-
const customFieldCard = this.page.locator(".
|
|
4580
|
+
const customFieldCard = this.page.locator(".mt-card").filter({ hasText: "Custom fields" });
|
|
4582
4581
|
const customFieldSetTab = customFieldCard.getByText(customFieldSetName);
|
|
4583
4582
|
const customFieldSetTabCustomContent = customFieldCard.locator(`.sw-custom-field-set-renderer-tab-content__${customFieldSetName}`);
|
|
4584
4583
|
return {
|
|
@@ -4714,7 +4713,7 @@ class CustomerDetail {
|
|
|
4714
4713
|
this.editButton = page.getByRole("button", { name: "Edit" });
|
|
4715
4714
|
this.generalTab = page.getByRole("link", { name: "General" });
|
|
4716
4715
|
this.accountCard = page.locator(".sw-customer-card");
|
|
4717
|
-
this.customFieldCard = page.locator(".
|
|
4716
|
+
this.customFieldCard = page.locator(".mt-card").getByText("Custom fields");
|
|
4718
4717
|
this.customFieldSetTabs = this.customFieldCard.locator(".sw-tabs-item");
|
|
4719
4718
|
this.customFieldSetTabCustomContent = this.customFieldCard.locator(".sw-tabs__custom-content");
|
|
4720
4719
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
@@ -4728,7 +4727,7 @@ class CustomerDetail {
|
|
|
4728
4727
|
this.tagItems = this.tagList.locator(".sw-select-selection-list__item");
|
|
4729
4728
|
}
|
|
4730
4729
|
async getCustomFieldSetCardContentByName(customFieldSetName) {
|
|
4731
|
-
const customFieldCard = this.page.locator(".
|
|
4730
|
+
const customFieldCard = this.page.locator(".mt-card").filter({ hasText: "Custom fields" });
|
|
4732
4731
|
const customFieldSetTab = customFieldCard.getByText(customFieldSetName);
|
|
4733
4732
|
const customFieldSetTabCustomContent = customFieldCard.locator(`.sw-custom-field-set-renderer-tab-content__${customFieldSetName}`);
|
|
4734
4733
|
return {
|
|
@@ -5575,12 +5574,12 @@ class CategoryDetail {
|
|
|
5575
5574
|
__publicField$a(this, "customFieldSetTabCustomContent");
|
|
5576
5575
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
5577
5576
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
5578
|
-
this.customFieldCard = page.locator(".
|
|
5577
|
+
this.customFieldCard = page.locator(".mt-card").getByText("Custom fields");
|
|
5579
5578
|
this.customFieldSetTabs = this.customFieldCard.locator(".sw-tabs-item");
|
|
5580
5579
|
this.customFieldSetTabCustomContent = this.customFieldCard.locator(".sw-tabs__custom-content");
|
|
5581
5580
|
}
|
|
5582
5581
|
async getCustomFieldSetCardContentByName(customFieldSetName) {
|
|
5583
|
-
const customFieldCard = this.page.locator(".
|
|
5582
|
+
const customFieldCard = this.page.locator(".mt-card").filter({ hasText: "Custom fields" });
|
|
5584
5583
|
const customFieldSetTab = customFieldCard.getByText(customFieldSetName);
|
|
5585
5584
|
const customFieldSetTabCustomContent = customFieldCard.locator(`.sw-custom-field-set-renderer-tab-content__${customFieldSetName}`);
|
|
5586
5585
|
return {
|
|
@@ -5787,12 +5786,12 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
5787
5786
|
__publicField$4(this, "customFieldCard");
|
|
5788
5787
|
__publicField$4(this, "customFieldSetTabs");
|
|
5789
5788
|
__publicField$4(this, "customFieldSetTabCustomContent");
|
|
5790
|
-
this.customFieldCard = page.locator(".
|
|
5789
|
+
this.customFieldCard = page.locator(".mt-card").getByText("Custom fields");
|
|
5791
5790
|
this.customFieldSetTabs = this.customFieldCard.locator(".sw-tabs-item");
|
|
5792
5791
|
this.customFieldSetTabCustomContent = this.customFieldCard.locator(".sw-tabs__custom-content");
|
|
5793
5792
|
}
|
|
5794
5793
|
async getCustomFieldSetCardContentByName(customFieldSetName) {
|
|
5795
|
-
const customFieldCard = this.page.locator(".
|
|
5794
|
+
const customFieldCard = this.page.locator(".mt-card").filter({ hasText: "Custom fields" });
|
|
5796
5795
|
const customFieldSetTab = customFieldCard.getByText(customFieldSetName);
|
|
5797
5796
|
const customFieldSetTabCustomContent = customFieldCard.locator(`.sw-custom-field-set-renderer-tab-content__${customFieldSetName}`);
|
|
5798
5797
|
return {
|