@shopware-ag/acceptance-test-suite 12.8.3 → 12.8.4
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 +7 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9605,8 +9605,13 @@ class RuleDetail extends RuleCreate {
|
|
|
9605
9605
|
}
|
|
9606
9606
|
this.conditionFilterModal = page.locator(".sw-modal__header").getByText(translate("administration:rule:text.filter"));
|
|
9607
9607
|
this.conditionFilterModalCloseButtonX = page.locator(".sw-modal__header").getByRole("button");
|
|
9608
|
-
|
|
9609
|
-
|
|
9608
|
+
if (satisfies(instanceMeta.version, "<6.7.9.0")) {
|
|
9609
|
+
this.conditionCartLineItemInStockOperator = page.locator(".sw-condition__condition-type-cartLineItemStock").locator(".sw-single-select__selection-text");
|
|
9610
|
+
this.conditionCartLineItemInStockValue = page.locator(".sw-condition__condition-type-cartLineItemStock").getByRole("textbox");
|
|
9611
|
+
} else {
|
|
9612
|
+
this.conditionCartLineItemInStockOperator = page.locator(".sw-condition__condition-type-cartLineItemActualStock").locator(".sw-single-select__selection-text");
|
|
9613
|
+
this.conditionCartLineItemInStockValue = page.locator(".sw-condition__condition-type-cartLineItemActualStock").getByRole("textbox");
|
|
9614
|
+
}
|
|
9610
9615
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
9611
9616
|
this.assignmentModalAddButton = this.assignmentModal.locator(".sw-button--primary").getByText(translate("administration:rule:buttons.add"));
|
|
9612
9617
|
} else {
|