@shopware-ag/acceptance-test-suite 12.13.1 → 12.13.3
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +10 -3
- package/package.json +12 -2
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.
|
|
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") });
|
|
@@ -11977,8 +11979,11 @@ const BulkEditCustomers = test$e.extend({
|
|
|
11977
11979
|
await AdminCustomerBulkEdit.changeTypeSelect.click();
|
|
11978
11980
|
await AdminCustomerBulkEdit.page.getByText(tagData.changeType).click();
|
|
11979
11981
|
for (const tag of tagData.tags) {
|
|
11980
|
-
await
|
|
11981
|
-
|
|
11982
|
+
await ShopAdmin.expects(async () => {
|
|
11983
|
+
await AdminCustomerBulkEdit.enterTagsSelect.click();
|
|
11984
|
+
await AdminCustomerBulkEdit.enterTagsSelect.fill(tag);
|
|
11985
|
+
await AdminCustomerBulkEdit.filtersResultPopoverItemList.getByText(tag).click({ timeout: 5e3 });
|
|
11986
|
+
}).toPass({ intervals: [1e3, 2e3, 5e3], timeout: 2e4 });
|
|
11982
11987
|
}
|
|
11983
11988
|
}
|
|
11984
11989
|
if (customFieldData) {
|
|
@@ -11992,6 +11997,8 @@ const BulkEditCustomers = test$e.extend({
|
|
|
11992
11997
|
}
|
|
11993
11998
|
await AdminCustomerBulkEdit.applyChangesButton.click();
|
|
11994
11999
|
await AdminCustomerBulkEdit.confirmModalApplyChangesButton.click();
|
|
12000
|
+
await AdminCustomerBulkEdit.confirmModalLoadingSpinner.waitFor({ state: "visible" });
|
|
12001
|
+
await AdminCustomerBulkEdit.confirmModalLoadingSpinner.waitFor({ state: "hidden" });
|
|
11995
12002
|
await ShopAdmin.expects(AdminCustomerBulkEdit.confirmModalSuccessHeader).toBeVisible();
|
|
11996
12003
|
await AdminCustomerBulkEdit.confirmModalSuccessCloseButton.click();
|
|
11997
12004
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopware-ag/acceptance-test-suite",
|
|
3
|
-
"version": "12.13.
|
|
3
|
+
"version": "12.13.3",
|
|
4
4
|
"description": "Shopware Acceptance Test Suite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fixtures",
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@axe-core/playwright": "4.11.1",
|
|
43
|
-
"@playwright/test": "1.60.0",
|
|
44
43
|
"@shopware/api-client": "1.4.0",
|
|
45
44
|
"axe-html-reporter": "2.2.11",
|
|
46
45
|
"compare-versions": "6.1.1",
|
|
@@ -49,6 +48,7 @@
|
|
|
49
48
|
"uuid": "14.0.0"
|
|
50
49
|
},
|
|
51
50
|
"devDependencies": {
|
|
51
|
+
"@playwright/test": "1.60.0",
|
|
52
52
|
"@types/node": "25.2.0",
|
|
53
53
|
"@types/uuid": "11.0.0",
|
|
54
54
|
"@typescript/native-preview": "7.0.0-dev.20260205.1",
|
|
@@ -57,8 +57,18 @@
|
|
|
57
57
|
"oxfmt": "0.28.0",
|
|
58
58
|
"oxlint": "1.43.0",
|
|
59
59
|
"oxlint-tsgolint": "0.11.4",
|
|
60
|
+
"playwright-core": "1.60.0",
|
|
60
61
|
"unbuild": "3.6.1"
|
|
61
62
|
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"@playwright/test": "1.60.0",
|
|
65
|
+
"playwright-core": "1.60.0"
|
|
66
|
+
},
|
|
67
|
+
"peerDependenciesMeta": {
|
|
68
|
+
"playwright-core": {
|
|
69
|
+
"optional": true
|
|
70
|
+
}
|
|
71
|
+
},
|
|
62
72
|
"engines": {
|
|
63
73
|
"node": "24.x || 25.x"
|
|
64
74
|
},
|