@shopware-ag/acceptance-test-suite 12.13.1 → 12.13.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 CHANGED
@@ -6174,6 +6174,7 @@ declare class CustomerBulkEdit implements PageObject {
6174
6174
  */
6175
6175
  readonly confirmModal: Locator;
6176
6176
  readonly confirmModalApplyChangesButton: Locator;
6177
+ readonly confirmModalLoadingSpinner: Locator;
6177
6178
  readonly confirmModalSuccessHeader: Locator;
6178
6179
  readonly confirmModalSuccessCloseButton: Locator;
6179
6180
  readonly page: Page;
package/dist/index.d.ts CHANGED
@@ -6174,6 +6174,7 @@ declare class CustomerBulkEdit implements PageObject {
6174
6174
  */
6175
6175
  readonly confirmModal: Locator;
6176
6176
  readonly confirmModalApplyChangesButton: Locator;
6177
+ readonly confirmModalLoadingSpinner: Locator;
6177
6178
  readonly confirmModalSuccessHeader: Locator;
6178
6179
  readonly confirmModalSuccessCloseButton: Locator;
6179
6180
  readonly page: Page;
package/dist/index.mjs CHANGED
@@ -7157,7 +7157,7 @@ class CheckoutCart {
7157
7157
  this.page = page;
7158
7158
  this.headline = page.getByRole("heading", { name: translate("storefront:checkout:cart.shoppingCart") });
7159
7159
  this.goToCheckoutButton = page.getByRole("link", { name: translate("storefront:checkout:cart.goToCheckout") });
7160
- this.enterPromoInput = page.getByLabel(translate("storefront:checkout:cart.promoCode"));
7160
+ this.enterPromoInput = page.getByRole("textbox", { name: translate("storefront:checkout:cart.promoCode") });
7161
7161
  this.grandTotalPrice = page.locator(`dt:has-text("${translate("storefront:checkout:common.grandTotal")}") + dd:visible`);
7162
7162
  this.emptyCartAlert = page.getByText(translate("storefront:checkout:cart.emptyCart"));
7163
7163
  this.stockReachedAlert = page.getByText(translate("storefront:checkout:cart.stockReached"));
@@ -10215,6 +10215,7 @@ class CustomerBulkEdit {
10215
10215
  */
10216
10216
  confirmModal;
10217
10217
  confirmModalApplyChangesButton;
10218
+ confirmModalLoadingSpinner;
10218
10219
  confirmModalSuccessHeader;
10219
10220
  confirmModalSuccessCloseButton;
10220
10221
  page;
@@ -10241,6 +10242,7 @@ class CustomerBulkEdit {
10241
10242
  this.customFieldInput = customFields.getByRole("textbox");
10242
10243
  this.confirmModal = page.locator(".sw-bulk-edit-save-modal");
10243
10244
  this.confirmModalApplyChangesButton = this.confirmModal.getByRole("button", { name: translate("administration:customer:bulkEdit.applyChanges") });
10245
+ this.confirmModalLoadingSpinner = this.confirmModal.locator(".sw-bulk-edit-save-modal__loading-icon");
10244
10246
  this.confirmModalSuccessHeader = this.confirmModal.getByRole("heading", { name: translate("administration:customer:bulkEdit.success") });
10245
10247
  const footer = this.confirmModal.locator(".sw-modal__footer");
10246
10248
  this.confirmModalSuccessCloseButton = footer.getByRole("button", { name: translate("administration:customer:bulkEdit.close") });
@@ -11992,6 +11994,8 @@ const BulkEditCustomers = test$e.extend({
11992
11994
  }
11993
11995
  await AdminCustomerBulkEdit.applyChangesButton.click();
11994
11996
  await AdminCustomerBulkEdit.confirmModalApplyChangesButton.click();
11997
+ await AdminCustomerBulkEdit.confirmModalLoadingSpinner.waitFor({ state: "visible" });
11998
+ await AdminCustomerBulkEdit.confirmModalLoadingSpinner.waitFor({ state: "hidden" });
11995
11999
  await ShopAdmin.expects(AdminCustomerBulkEdit.confirmModalSuccessHeader).toBeVisible();
11996
12000
  await AdminCustomerBulkEdit.confirmModalSuccessCloseButton.click();
11997
12001
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "12.13.1",
3
+ "version": "12.13.2",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "keywords": [
6
6
  "fixtures",