@shopware-ag/acceptance-test-suite 8.0.0 → 8.0.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.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +6 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -956,6 +956,8 @@ declare class Home implements PageObject {
|
|
|
956
956
|
readonly consentCookiePermissionContent: Locator;
|
|
957
957
|
readonly consentDialog: Locator;
|
|
958
958
|
readonly consentDialogTechnicallyRequiredCheckbox: Locator;
|
|
959
|
+
readonly consentDialogStatisticsCheckbox: Locator;
|
|
960
|
+
readonly consentDialogMarketingdCheckbox: Locator;
|
|
959
961
|
readonly consentDialogAcceptAllCookiesButton: Locator;
|
|
960
962
|
readonly consentDialogSaveButton: Locator;
|
|
961
963
|
readonly consentCookieBannerContainer: Locator;
|
package/dist/index.d.ts
CHANGED
|
@@ -956,6 +956,8 @@ declare class Home implements PageObject {
|
|
|
956
956
|
readonly consentCookiePermissionContent: Locator;
|
|
957
957
|
readonly consentDialog: Locator;
|
|
958
958
|
readonly consentDialogTechnicallyRequiredCheckbox: Locator;
|
|
959
|
+
readonly consentDialogStatisticsCheckbox: Locator;
|
|
960
|
+
readonly consentDialogMarketingdCheckbox: Locator;
|
|
959
961
|
readonly consentDialogAcceptAllCookiesButton: Locator;
|
|
960
962
|
readonly consentDialogSaveButton: Locator;
|
|
961
963
|
readonly consentCookieBannerContainer: Locator;
|
package/dist/index.mjs
CHANGED
|
@@ -2776,6 +2776,8 @@ class Home {
|
|
|
2776
2776
|
__publicField$H(this, "consentCookiePermissionContent");
|
|
2777
2777
|
__publicField$H(this, "consentDialog");
|
|
2778
2778
|
__publicField$H(this, "consentDialogTechnicallyRequiredCheckbox");
|
|
2779
|
+
__publicField$H(this, "consentDialogStatisticsCheckbox");
|
|
2780
|
+
__publicField$H(this, "consentDialogMarketingdCheckbox");
|
|
2779
2781
|
__publicField$H(this, "consentDialogAcceptAllCookiesButton");
|
|
2780
2782
|
__publicField$H(this, "consentDialogSaveButton");
|
|
2781
2783
|
__publicField$H(this, "consentCookieBannerContainer");
|
|
@@ -2792,6 +2794,8 @@ class Home {
|
|
|
2792
2794
|
this.consentCookiePermissionContent = page.locator(".cookie-permission-content");
|
|
2793
2795
|
this.consentDialog = page.getByRole("dialog").filter({ hasText: "Cookie preferences" });
|
|
2794
2796
|
this.consentDialogTechnicallyRequiredCheckbox = this.consentDialog.getByRole("checkbox", { name: "Technically required" });
|
|
2797
|
+
this.consentDialogStatisticsCheckbox = this.consentDialog.getByRole("checkbox", { name: "Statistics" });
|
|
2798
|
+
this.consentDialogMarketingdCheckbox = this.consentDialog.getByRole("checkbox", { name: "Marketing" });
|
|
2795
2799
|
this.consentDialogSaveButton = this.consentDialog.getByRole("button", { name: "Save" });
|
|
2796
2800
|
this.consentDialogAcceptAllCookiesButton = this.consentDialog.getByRole("button", { name: "Accept all cookies" });
|
|
2797
2801
|
this.offcanvasBackdrop = page.locator(".offcanvas-backdrop");
|
|
@@ -5345,7 +5349,7 @@ const CreateLinkTypeCategory = test$e.extend({
|
|
|
5345
5349
|
});
|
|
5346
5350
|
|
|
5347
5351
|
const SetSystemConfigValues = test$e.extend({
|
|
5348
|
-
SetSystemConfigValues: async ({ AdminApiContext, DefaultSalesChannel }, use) => {
|
|
5352
|
+
SetSystemConfigValues: async ({ AdminApiContext, DefaultSalesChannel, TestDataService }, use) => {
|
|
5349
5353
|
let defaultSettings;
|
|
5350
5354
|
const task = (newValues, defaultValues) => {
|
|
5351
5355
|
return async function LoginRegistration() {
|
|
@@ -5357,6 +5361,7 @@ const SetSystemConfigValues = test$e.extend({
|
|
|
5357
5361
|
}
|
|
5358
5362
|
});
|
|
5359
5363
|
expect(newSettings.ok()).toBeTruthy();
|
|
5364
|
+
await TestDataService.clearCaches();
|
|
5360
5365
|
};
|
|
5361
5366
|
};
|
|
5362
5367
|
await use(task);
|