@shopware-ag/acceptance-test-suite 12.22.0 → 12.22.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -6
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -6687,7 +6687,7 @@ class TestDataService {
6687
6687
  displayGross: true,
6688
6688
  registrationActive: true,
6689
6689
  registrationTitle: customerGroupName,
6690
- registrationIntroduction: `${customerGroupName}-Introduction`,
6690
+ registrationIntroduction: `<p>${customerGroupName}-Introduction</p>`,
6691
6691
  registrationSeoMetaDescription: `${customerGroupName}-SEO-Description`,
6692
6692
  registrationOnlyCompanyRegistration: false,
6693
6693
  customFields: {},
@@ -9057,11 +9057,7 @@ class CustomerGroupCreate {
9057
9057
  this.customerGroupPriceBasisNet = page.locator("#sw-field--customerGroup-priceBasis-1");
9058
9058
  this.customSignupFormToggle = page.getByLabel(translate("administration:customerGroup:create.customSignupForm"));
9059
9059
  this.signupFormTitle = page.locator("#sw-field--customerGroup-registrationTitle");
9060
- if (satisfies(instanceMeta.version, "<6.8")) {
9061
- this.signupFormIntroduction = page.locator(".sw-text-editor__content-editor");
9062
- } else {
9063
- this.signupFormIntroduction = page.locator(".mt-text-editor__content-editor");
9064
- }
9060
+ this.signupFormIntroduction = instanceMeta.features["METEOR_TEXT_EDITOR"] ?? satisfies(instanceMeta.version, ">=6.8") ? page.locator(".mt-text-editor__content-editor") : page.locator(".sw-text-editor__content-editor");
9065
9061
  if (satisfies(instanceMeta.version, "<6.7")) {
9066
9062
  this.signupFormSeoDescription = page.locator("#sw-field--customerGroup-registrationSeoMetaDescription");
9067
9063
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "12.22.0",
3
+ "version": "12.22.1",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "keywords": [
6
6
  "fixtures",