@shopware-ag/acceptance-test-suite 11.24.0 → 11.25.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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +5 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2553,6 +2553,7 @@ declare class RuleDetail extends RuleCreate implements PageObject {
|
|
|
2553
2553
|
readonly assignmentModalAddButton: Locator;
|
|
2554
2554
|
readonly assignmentModalSearchField: Locator;
|
|
2555
2555
|
readonly conditionORContainer: Locator;
|
|
2556
|
+
readonly adminMenuAvatar: Locator;
|
|
2556
2557
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2557
2558
|
getEntityCard(cardLocator: Locator): Promise<Record<string, Locator>>;
|
|
2558
2559
|
url(ruleId?: string, tabName?: string): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2553,6 +2553,7 @@ declare class RuleDetail extends RuleCreate implements PageObject {
|
|
|
2553
2553
|
readonly assignmentModalAddButton: Locator;
|
|
2554
2554
|
readonly assignmentModalSearchField: Locator;
|
|
2555
2555
|
readonly conditionORContainer: Locator;
|
|
2556
|
+
readonly adminMenuAvatar: Locator;
|
|
2556
2557
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2557
2558
|
getEntityCard(cardLocator: Locator): Promise<Record<string, Locator>>;
|
|
2558
2559
|
url(ruleId?: string, tabName?: string): string;
|
package/dist/index.mjs
CHANGED
|
@@ -1077,7 +1077,8 @@ class TestDataService {
|
|
|
1077
1077
|
"sales_channel_country",
|
|
1078
1078
|
"sales_channel_payment_method",
|
|
1079
1079
|
"customer",
|
|
1080
|
-
"acl_user_role"
|
|
1080
|
+
"acl_user_role",
|
|
1081
|
+
"category"
|
|
1081
1082
|
]);
|
|
1082
1083
|
/**
|
|
1083
1084
|
* A registry of all created records.
|
|
@@ -5904,7 +5905,7 @@ class DataSharing {
|
|
|
5904
5905
|
this.dataSharingAgreeButton = page.getByRole("button", { name: "Agree" });
|
|
5905
5906
|
this.dataSharingDisableButton = page.getByRole("button", { name: "Disable data sharing" });
|
|
5906
5907
|
this.dataSharingSuccessMessageLabel = page.getByText("You are sharing data with us", { exact: true });
|
|
5907
|
-
this.dataSharingTermsAgreementLabel = page.getByText('By clicking "Agree", you confirm that you are
|
|
5908
|
+
this.dataSharingTermsAgreementLabel = page.getByText('By clicking "Agree", you confirm that you are authorised to enter into this agreement on behalf of your company.');
|
|
5908
5909
|
}
|
|
5909
5910
|
url() {
|
|
5910
5911
|
if (satisfies(this.instanceMeta.version, "<6.6.1")) {
|
|
@@ -6564,6 +6565,7 @@ class RuleDetail extends RuleCreate {
|
|
|
6564
6565
|
__publicField$f(this, "assignmentModalAddButton");
|
|
6565
6566
|
__publicField$f(this, "assignmentModalSearchField");
|
|
6566
6567
|
__publicField$f(this, "conditionORContainer");
|
|
6568
|
+
__publicField$f(this, "adminMenuAvatar");
|
|
6567
6569
|
this.contentView = page.locator(".sw-desktop__content");
|
|
6568
6570
|
this.shippingMethodAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-shipping_method_availability_rule");
|
|
6569
6571
|
this.shippingMethodAvailabilityRulesCardLink = this.shippingMethodAvailabilityRulesCard.getByRole("link");
|
|
@@ -6583,6 +6585,7 @@ class RuleDetail extends RuleCreate {
|
|
|
6583
6585
|
this.promotionCartRulesCardEmptyState = this.promotionCartRulesCard.getByRole("alert");
|
|
6584
6586
|
this.assignmentModal = page.locator(".sw-settings-rule-add-assignment-modal");
|
|
6585
6587
|
this.assignmentModalSearchField = this.assignmentModal.getByRole("textbox");
|
|
6588
|
+
this.adminMenuAvatar = page.locator(".sw-admin-menu__avatar");
|
|
6586
6589
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6587
6590
|
this.assignmentModalAddButton = this.assignmentModal.locator(".sw-button--primary").getByText("Add");
|
|
6588
6591
|
} else {
|