@shopware-ag/acceptance-test-suite 11.7.1 → 11.8.0
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.mjs +11 -10
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4574,10 +4574,10 @@ class ProductDetail {
|
|
|
4574
4574
|
this.propertyOptionSizeMedium = this.propertyOptionGrid.getByLabel("Medium");
|
|
4575
4575
|
this.propertyOptionSizeLarge = this.propertyOptionGrid.getByLabel("Large");
|
|
4576
4576
|
this.specificationsTabLink = page.getByRole("tab", { name: "Specifications" });
|
|
4577
|
-
this.customFieldCard = page.locator(".
|
|
4577
|
+
this.customFieldCard = page.locator(".mt-card").getByText("Custom fields");
|
|
4578
4578
|
}
|
|
4579
4579
|
async getCustomFieldSetCardContentByName(customFieldSetName) {
|
|
4580
|
-
const customFieldCard = this.page.locator(".
|
|
4580
|
+
const customFieldCard = this.page.locator(".mt-card").filter({ hasText: "Custom fields" });
|
|
4581
4581
|
const customFieldSetTab = customFieldCard.getByText(customFieldSetName);
|
|
4582
4582
|
const customFieldSetTabCustomContent = customFieldCard.locator(`.sw-custom-field-set-renderer-tab-content__${customFieldSetName}`);
|
|
4583
4583
|
return {
|
|
@@ -4713,7 +4713,7 @@ class CustomerDetail {
|
|
|
4713
4713
|
this.editButton = page.getByRole("button", { name: "Edit" });
|
|
4714
4714
|
this.generalTab = page.getByRole("link", { name: "General" });
|
|
4715
4715
|
this.accountCard = page.locator(".sw-customer-card");
|
|
4716
|
-
this.customFieldCard = page.locator(".
|
|
4716
|
+
this.customFieldCard = page.locator(".mt-card").getByText("Custom fields");
|
|
4717
4717
|
this.customFieldSetTabs = this.customFieldCard.locator(".sw-tabs-item");
|
|
4718
4718
|
this.customFieldSetTabCustomContent = this.customFieldCard.locator(".sw-tabs__custom-content");
|
|
4719
4719
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
@@ -4727,7 +4727,7 @@ class CustomerDetail {
|
|
|
4727
4727
|
this.tagItems = this.tagList.locator(".sw-select-selection-list__item");
|
|
4728
4728
|
}
|
|
4729
4729
|
async getCustomFieldSetCardContentByName(customFieldSetName) {
|
|
4730
|
-
const customFieldCard = this.page.locator(".
|
|
4730
|
+
const customFieldCard = this.page.locator(".mt-card").filter({ hasText: "Custom fields" });
|
|
4731
4731
|
const customFieldSetTab = customFieldCard.getByText(customFieldSetName);
|
|
4732
4732
|
const customFieldSetTabCustomContent = customFieldCard.locator(`.sw-custom-field-set-renderer-tab-content__${customFieldSetName}`);
|
|
4733
4733
|
return {
|
|
@@ -4828,10 +4828,11 @@ class CustomerGroupCreate {
|
|
|
4828
4828
|
this.signupFormTitle = page.locator("#sw-field--customerGroup-registrationTitle");
|
|
4829
4829
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
4830
4830
|
this.signupFormIntroduction = page.locator(".sw-text-editor__content-editor");
|
|
4831
|
+
this.signupFormSeoDescription = page.locator("#sw-field--customerGroup-registrationSeoMetaDescription");
|
|
4831
4832
|
} else {
|
|
4832
4833
|
this.signupFormIntroduction = page.locator(".mt-text-editor__content-editor");
|
|
4834
|
+
this.signupFormSeoDescription = page.getByRole("textbox", { name: "SEO meta description" });
|
|
4833
4835
|
}
|
|
4834
|
-
this.signupFormSeoDescription = page.locator("#sw-field--customerGroup-registrationSeoMetaDescription");
|
|
4835
4836
|
this.signupFormCompanySignupToggle = page.getByLabel("Company signup form");
|
|
4836
4837
|
this.customerGroupSaleschannelSelection = page.locator("input[class=sw-select-selection-list__input]");
|
|
4837
4838
|
this.customerGroupSaleschannelResultList = page.locator(".sw-select-result-list__content");
|
|
@@ -5387,7 +5388,7 @@ class Categories {
|
|
|
5387
5388
|
this.categoryTree = page.locator(".sw-category-tree");
|
|
5388
5389
|
this.categoryMenuItemList = page.locator(".sw-context-menu-item");
|
|
5389
5390
|
this.createCategoryInput = page.getByPlaceholder("Create category").getByRole("textbox");
|
|
5390
|
-
this.confirmCategoryCreationButton = page.locator(".sw-confirm-field").locator(".sw-
|
|
5391
|
+
this.confirmCategoryCreationButton = page.locator(".sw-confirm-field").locator(".sw-confirm-field__button--submit");
|
|
5391
5392
|
this.categoryItems = this.categoryTree.locator(".tree-link");
|
|
5392
5393
|
this.confirmCategoryCancelButton = page.locator(".sw-confirm-field").locator(".sw-confirm-field__button--cancel");
|
|
5393
5394
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -5574,12 +5575,12 @@ class CategoryDetail {
|
|
|
5574
5575
|
__publicField$a(this, "customFieldSetTabCustomContent");
|
|
5575
5576
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
5576
5577
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
5577
|
-
this.customFieldCard = page.locator(".
|
|
5578
|
+
this.customFieldCard = page.locator(".mt-card").getByText("Custom fields");
|
|
5578
5579
|
this.customFieldSetTabs = this.customFieldCard.locator(".sw-tabs-item");
|
|
5579
5580
|
this.customFieldSetTabCustomContent = this.customFieldCard.locator(".sw-tabs__custom-content");
|
|
5580
5581
|
}
|
|
5581
5582
|
async getCustomFieldSetCardContentByName(customFieldSetName) {
|
|
5582
|
-
const customFieldCard = this.page.locator(".
|
|
5583
|
+
const customFieldCard = this.page.locator(".mt-card").filter({ hasText: "Custom fields" });
|
|
5583
5584
|
const customFieldSetTab = customFieldCard.getByText(customFieldSetName);
|
|
5584
5585
|
const customFieldSetTabCustomContent = customFieldCard.locator(`.sw-custom-field-set-renderer-tab-content__${customFieldSetName}`);
|
|
5585
5586
|
return {
|
|
@@ -5786,12 +5787,12 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
5786
5787
|
__publicField$4(this, "customFieldCard");
|
|
5787
5788
|
__publicField$4(this, "customFieldSetTabs");
|
|
5788
5789
|
__publicField$4(this, "customFieldSetTabCustomContent");
|
|
5789
|
-
this.customFieldCard = page.locator(".
|
|
5790
|
+
this.customFieldCard = page.locator(".mt-card").getByText("Custom fields");
|
|
5790
5791
|
this.customFieldSetTabs = this.customFieldCard.locator(".sw-tabs-item");
|
|
5791
5792
|
this.customFieldSetTabCustomContent = this.customFieldCard.locator(".sw-tabs__custom-content");
|
|
5792
5793
|
}
|
|
5793
5794
|
async getCustomFieldSetCardContentByName(customFieldSetName) {
|
|
5794
|
-
const customFieldCard = this.page.locator(".
|
|
5795
|
+
const customFieldCard = this.page.locator(".mt-card").filter({ hasText: "Custom fields" });
|
|
5795
5796
|
const customFieldSetTab = customFieldCard.getByText(customFieldSetName);
|
|
5796
5797
|
const customFieldSetTabCustomContent = customFieldCard.locator(`.sw-custom-field-set-renderer-tab-content__${customFieldSetName}`);
|
|
5797
5798
|
return {
|