@shopware-ag/acceptance-test-suite 12.21.3 → 12.22.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.d.mts CHANGED
@@ -5406,8 +5406,18 @@ declare class CustomerGroupCreate implements PageObject {
5406
5406
  readonly cancelButton: Locator;
5407
5407
  readonly cardTitle: Locator;
5408
5408
  readonly customerGroupNameField: Locator;
5409
+ /**
5410
+ * @deprecated Targets the pre-redesign customer group markup, only compatible with shopware v6.6.x and v6.7.x, use 'customerGroupTaxDisplayGross' instead
5411
+ */
5409
5412
  readonly customerGroupGrossTaxDisplay: Locator;
5413
+ /**
5414
+ * @deprecated Targets the pre-redesign customer group markup, only compatible with shopware v6.6.x and v6.7.x, use 'customerGroupTaxDisplayNet' instead
5415
+ */
5410
5416
  readonly customerGroupNetTaxDisplay: Locator;
5417
+ readonly customerGroupTaxDisplayGross: Locator;
5418
+ readonly customerGroupTaxDisplayNet: Locator;
5419
+ readonly customerGroupPriceBasisGross: Locator;
5420
+ readonly customerGroupPriceBasisNet: Locator;
5411
5421
  readonly customSignupFormToggle: Locator;
5412
5422
  readonly signupFormTitle: Locator;
5413
5423
  readonly signupFormIntroduction: Locator;
package/dist/index.d.ts CHANGED
@@ -5406,8 +5406,18 @@ declare class CustomerGroupCreate implements PageObject {
5406
5406
  readonly cancelButton: Locator;
5407
5407
  readonly cardTitle: Locator;
5408
5408
  readonly customerGroupNameField: Locator;
5409
+ /**
5410
+ * @deprecated Targets the pre-redesign customer group markup, only compatible with shopware v6.6.x and v6.7.x, use 'customerGroupTaxDisplayGross' instead
5411
+ */
5409
5412
  readonly customerGroupGrossTaxDisplay: Locator;
5413
+ /**
5414
+ * @deprecated Targets the pre-redesign customer group markup, only compatible with shopware v6.6.x and v6.7.x, use 'customerGroupTaxDisplayNet' instead
5415
+ */
5410
5416
  readonly customerGroupNetTaxDisplay: Locator;
5417
+ readonly customerGroupTaxDisplayGross: Locator;
5418
+ readonly customerGroupTaxDisplayNet: Locator;
5419
+ readonly customerGroupPriceBasisGross: Locator;
5420
+ readonly customerGroupPriceBasisNet: Locator;
5411
5421
  readonly customSignupFormToggle: Locator;
5412
5422
  readonly signupFormTitle: Locator;
5413
5423
  readonly signupFormIntroduction: Locator;
package/dist/index.mjs CHANGED
@@ -9020,8 +9020,18 @@ class CustomerGroupCreate {
9020
9020
  cancelButton;
9021
9021
  cardTitle;
9022
9022
  customerGroupNameField;
9023
+ /**
9024
+ * @deprecated Targets the pre-redesign customer group markup, only compatible with shopware v6.6.x and v6.7.x, use 'customerGroupTaxDisplayGross' instead
9025
+ */
9023
9026
  customerGroupGrossTaxDisplay;
9027
+ /**
9028
+ * @deprecated Targets the pre-redesign customer group markup, only compatible with shopware v6.6.x and v6.7.x, use 'customerGroupTaxDisplayNet' instead
9029
+ */
9024
9030
  customerGroupNetTaxDisplay;
9031
+ customerGroupTaxDisplayGross;
9032
+ customerGroupTaxDisplayNet;
9033
+ customerGroupPriceBasisGross;
9034
+ customerGroupPriceBasisNet;
9025
9035
  customSignupFormToggle;
9026
9036
  signupFormTitle;
9027
9037
  signupFormIntroduction;
@@ -9041,6 +9051,10 @@ class CustomerGroupCreate {
9041
9051
  this.customerGroupNameField = page.locator("#sw-field--customerGroup-name");
9042
9052
  this.customerGroupGrossTaxDisplay = page.locator("#sw-field--castedValue-0");
9043
9053
  this.customerGroupNetTaxDisplay = page.locator("#sw-field--castedValue-1");
9054
+ this.customerGroupTaxDisplayGross = page.locator("#sw-field--customerGroup-displayGross-0");
9055
+ this.customerGroupTaxDisplayNet = page.locator("#sw-field--customerGroup-displayGross-1");
9056
+ this.customerGroupPriceBasisGross = page.locator("#sw-field--customerGroup-priceBasis-0");
9057
+ this.customerGroupPriceBasisNet = page.locator("#sw-field--customerGroup-priceBasis-1");
9044
9058
  this.customSignupFormToggle = page.getByLabel(translate("administration:customerGroup:create.customSignupForm"));
9045
9059
  this.signupFormTitle = page.locator("#sw-field--customerGroup-registrationTitle");
9046
9060
  if (satisfies(instanceMeta.version, "<6.8")) {
@@ -12176,9 +12190,13 @@ const BulkEditProducts = test$e.extend({
12176
12190
  }
12177
12191
  if (changes["manufacturer"] != null) {
12178
12192
  await AdminProductBulkEdit.changeManufacturerCheckbox.click();
12193
+ const initialLoad = AdminProductBulkEdit.page.waitForResponse(
12194
+ (response2) => response2.url().includes(`product-manufacturer`) && response2.status() === 200 && response2.request().method() === "POST"
12195
+ );
12179
12196
  await AdminProductBulkEdit.manufacturerDropdown.click();
12197
+ expect((await initialLoad).ok()).toBeTruthy();
12180
12198
  const responsePromise = AdminProductBulkEdit.page.waitForResponse(
12181
- (response2) => response2.url().includes(`product-manufacturer`) && response2.status() === 200 && response2.request().method() === "POST"
12199
+ (response2) => response2.url().includes(`product-manufacturer`) && response2.status() === 200 && response2.request().method() === "POST" && response2.request().postDataJSON()?.term === changes["manufacturer"].value
12182
12200
  );
12183
12201
  await AdminProductBulkEdit.manufacturerDropdownInput.fill(changes["manufacturer"].value);
12184
12202
  const response = await responsePromise;
@@ -12214,9 +12232,13 @@ const BulkEditProducts = test$e.extend({
12214
12232
  await AdminProductBulkEdit.tagsChangeMethodDropdown.click();
12215
12233
  await (await AdminProductBulkEdit.getDropdownEntry(changes["tags"].method)).click();
12216
12234
  if (changes["tags"].method != "Clear") {
12235
+ const initialLoad = AdminProductBulkEdit.page.waitForResponse(
12236
+ (response2) => response2.url().includes(`search/tag`) && response2.status() === 200 && response2.request().method() === "POST"
12237
+ );
12217
12238
  await AdminProductBulkEdit.tagsInput.click();
12239
+ expect((await initialLoad).ok()).toBeTruthy();
12218
12240
  const responsePromise = AdminProductBulkEdit.page.waitForResponse(
12219
- (response2) => response2.url().includes(`search/tag`) && response2.status() === 200 && response2.request().method() === "POST"
12241
+ (response2) => response2.url().includes(`search/tag`) && response2.status() === 200 && response2.request().method() === "POST" && response2.request().postDataJSON()?.term === changes["tags"].value
12220
12242
  );
12221
12243
  await AdminProductBulkEdit.tagsInput.fill(changes["tags"].value);
12222
12244
  const response = await responsePromise;
@@ -12230,9 +12252,13 @@ const BulkEditProducts = test$e.extend({
12230
12252
  await AdminProductBulkEdit.salesChannelChangeMethodDropdown.click();
12231
12253
  await (await AdminProductBulkEdit.getDropdownEntry(changes["saleschannel"].method)).click();
12232
12254
  if (changes["saleschannel"].method != "Clear") {
12255
+ const initialLoad = AdminProductBulkEdit.page.waitForResponse(
12256
+ (response2) => response2.url().includes(`search/sales-channel`) && response2.status() === 200 && response2.request().method() === "POST"
12257
+ );
12233
12258
  await AdminProductBulkEdit.salesChannelInput.click();
12259
+ expect((await initialLoad).ok()).toBeTruthy();
12234
12260
  const responsePromise = AdminProductBulkEdit.page.waitForResponse(
12235
- (response2) => response2.url().includes(`search/sales-channel`) && response2.status() === 200 && response2.request().method() === "POST"
12261
+ (response2) => response2.url().includes(`search/sales-channel`) && response2.status() === 200 && response2.request().method() === "POST" && response2.request().postDataJSON()?.term === changes["saleschannel"].value
12236
12262
  );
12237
12263
  await AdminProductBulkEdit.salesChannelInput.fill(changes["saleschannel"].value);
12238
12264
  const response = await responsePromise;
@@ -12419,8 +12445,14 @@ const CreateFlow = test$e.extend({
12419
12445
  await ShopAdmin.expects(AdminFlowBuilderCreate.resultList).toBeVisible();
12420
12446
  await AdminFlowBuilderCreate.resultListItem.getByRole("listitem").filter({ hasText: `${flowConfig.falseAction}` }).click();
12421
12447
  await ShopAdmin.expects(AdminFlowBuilderCreate.tagModal).toBeVisible();
12448
+ const tagsLoaded = AdminFlowBuilderCreate.page.waitForResponse((response) => response.url().includes("/search/tag") && response.request().method() === "POST");
12422
12449
  await AdminFlowBuilderCreate.tagModalTagsSelectField.click();
12450
+ ShopAdmin.expects((await tagsLoaded).ok()).toBeTruthy();
12451
+ const tagSearched = AdminFlowBuilderCreate.page.waitForResponse(
12452
+ (response) => response.url().includes("/search/tag") && response.request().postDataJSON()?.term === flowConfig.falseActionIdentifier
12453
+ );
12423
12454
  await AdminFlowBuilderCreate.tagModalTagsSelectField.fill(flowConfig.falseActionIdentifier);
12455
+ ShopAdmin.expects((await tagSearched).ok()).toBeTruthy();
12424
12456
  await ShopAdmin.expects(AdminFlowBuilderCreate.resultList).toBeVisible();
12425
12457
  await AdminFlowBuilderCreate.resultListItem.getByRole("listitem").filter({ hasText: `${flowConfig.falseActionIdentifier}` }).click();
12426
12458
  await AdminFlowBuilderCreate.tagModalTagsSelectField.press("Escape");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "12.21.3",
3
+ "version": "12.22.0",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "keywords": [
6
6
  "fixtures",