@shopware-ag/acceptance-test-suite 11.29.0 → 11.29.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.
- package/dist/index.mjs +30 -6
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6570,19 +6570,43 @@ class RuleDetail extends RuleCreate {
|
|
|
6570
6570
|
this.shippingMethodAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-shipping_method_availability_rule");
|
|
6571
6571
|
this.shippingMethodAvailabilityRulesCardLink = this.shippingMethodAvailabilityRulesCard.getByRole("link");
|
|
6572
6572
|
this.shippingMethodAvailabilityRulesCardTable = page.locator(".sw-settings-rule-detail-assignments__entity-listing-shipping_method_availability_rule");
|
|
6573
|
-
|
|
6573
|
+
if (satisfies(instanceMeta.version, "<6.7.3")) {
|
|
6574
|
+
this.shippingMethodAvailabilityRulesCardEmptyState = this.shippingMethodAvailabilityRulesCard.getByRole("alert");
|
|
6575
|
+
} else {
|
|
6576
|
+
this.shippingMethodAvailabilityRulesCardEmptyState = this.shippingMethodAvailabilityRulesCard.locator(".mt-empty-state__headline");
|
|
6577
|
+
}
|
|
6574
6578
|
this.shippingMethodAvailabilityRulesCardSearchField = this.shippingMethodAvailabilityRulesCard.getByRole("textbox");
|
|
6575
6579
|
this.taxProviderRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-tax_provider");
|
|
6576
|
-
|
|
6580
|
+
if (satisfies(instanceMeta.version, "<6.7.3")) {
|
|
6581
|
+
this.taxProviderRulesCardEmptyState = this.taxProviderRulesCard.getByRole("alert");
|
|
6582
|
+
} else {
|
|
6583
|
+
this.taxProviderRulesCardEmptyState = this.taxProviderRulesCard.locator(".mt-empty-state__headline");
|
|
6584
|
+
}
|
|
6577
6585
|
this.paymentMethodsAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-payment_method");
|
|
6578
|
-
|
|
6586
|
+
if (satisfies(instanceMeta.version, "<6.7.3")) {
|
|
6587
|
+
this.paymentMethodsAvailabilityRulesCardEmptyState = this.paymentMethodsAvailabilityRulesCard.getByRole("alert");
|
|
6588
|
+
} else {
|
|
6589
|
+
this.paymentMethodsAvailabilityRulesCardEmptyState = this.paymentMethodsAvailabilityRulesCard.locator(".mt-empty-state__headline");
|
|
6590
|
+
}
|
|
6579
6591
|
this.paymentMethodsAvailabilityRulesCardLink = page.locator(".sw-settings-rule-detail-assignments__card-payment_method").getByRole("link");
|
|
6580
6592
|
this.promotionOrderRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-promotion_order_rule");
|
|
6581
|
-
|
|
6593
|
+
if (satisfies(instanceMeta.version, "<6.7.3")) {
|
|
6594
|
+
this.promotionOrderRulesCardEmptyState = this.promotionOrderRulesCard.getByRole("alert");
|
|
6595
|
+
} else {
|
|
6596
|
+
this.promotionOrderRulesCardEmptyState = this.promotionOrderRulesCard.locator(".mt-empty-state__headline");
|
|
6597
|
+
}
|
|
6582
6598
|
this.promotionCustomerRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-promotion_customer_rule");
|
|
6583
|
-
|
|
6599
|
+
if (satisfies(instanceMeta.version, "<6.7.3")) {
|
|
6600
|
+
this.promotionCustomerRulesCardEmptyState = this.promotionCustomerRulesCard.getByRole("alert");
|
|
6601
|
+
} else {
|
|
6602
|
+
this.promotionCustomerRulesCardEmptyState = this.promotionCustomerRulesCard.locator(".mt-empty-state__headline");
|
|
6603
|
+
}
|
|
6584
6604
|
this.promotionCartRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-promotion_cart_rule");
|
|
6585
|
-
|
|
6605
|
+
if (satisfies(instanceMeta.version, "<6.7.3")) {
|
|
6606
|
+
this.promotionCartRulesCardEmptyState = this.promotionCartRulesCard.getByRole("alert");
|
|
6607
|
+
} else {
|
|
6608
|
+
this.promotionCartRulesCardEmptyState = this.promotionCartRulesCard.locator(".mt-empty-state__headline");
|
|
6609
|
+
}
|
|
6586
6610
|
this.assignmentModal = page.locator(".sw-settings-rule-add-assignment-modal");
|
|
6587
6611
|
this.assignmentModalSearchField = this.assignmentModal.getByRole("textbox");
|
|
6588
6612
|
this.adminMenuAvatar = page.locator(".sw-admin-menu__avatar");
|