@shopware-ag/acceptance-test-suite 11.37.0 → 11.38.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 +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.mjs +28 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -489,7 +489,8 @@ declare class TestDataService {
|
|
|
489
489
|
*
|
|
490
490
|
* @private
|
|
491
491
|
*/
|
|
492
|
-
private
|
|
492
|
+
private _shouldCleanUp;
|
|
493
|
+
get shouldCleanUp(): boolean;
|
|
493
494
|
/**
|
|
494
495
|
* Configuration of higher priority entities for the cleanup operation.
|
|
495
496
|
* These entities will be deleted before others.
|
|
@@ -1961,6 +1962,10 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1961
1962
|
marketing: string;
|
|
1962
1963
|
};
|
|
1963
1964
|
};
|
|
1965
|
+
readonly 'storefront/header': {
|
|
1966
|
+
skipToContentLink: string;
|
|
1967
|
+
searchInputAriaLabel: string;
|
|
1968
|
+
};
|
|
1964
1969
|
readonly 'storefront/home': {
|
|
1965
1970
|
account: {
|
|
1966
1971
|
yourAccount: string;
|
|
@@ -2866,6 +2871,10 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2866
2871
|
};
|
|
2867
2872
|
title: string;
|
|
2868
2873
|
};
|
|
2874
|
+
readonly 'storefront/header': {
|
|
2875
|
+
skipToContentLink: string;
|
|
2876
|
+
searchInputAriaLabel: string;
|
|
2877
|
+
};
|
|
2869
2878
|
readonly 'storefront/home': {
|
|
2870
2879
|
account: {
|
|
2871
2880
|
yourAccount: string;
|
|
@@ -3761,6 +3770,10 @@ declare const baseNamespaces: {
|
|
|
3761
3770
|
marketing: string;
|
|
3762
3771
|
};
|
|
3763
3772
|
};
|
|
3773
|
+
readonly header: {
|
|
3774
|
+
skipToContentLink: string;
|
|
3775
|
+
searchInputAriaLabel: string;
|
|
3776
|
+
};
|
|
3764
3777
|
readonly home: {
|
|
3765
3778
|
account: {
|
|
3766
3779
|
yourAccount: string;
|
|
@@ -5884,6 +5897,8 @@ declare class Header implements PageObject {
|
|
|
5884
5897
|
readonly languagesMenuOptions: Locator;
|
|
5885
5898
|
readonly currenciesDropdown: Locator;
|
|
5886
5899
|
readonly currenciesMenuOptions: Locator;
|
|
5900
|
+
readonly searchInput: Locator;
|
|
5901
|
+
readonly skipToMainContentLink: Locator;
|
|
5887
5902
|
readonly wishlistIcon: Locator;
|
|
5888
5903
|
readonly wishlistBasket: Locator;
|
|
5889
5904
|
readonly page: Page;
|
package/dist/index.d.ts
CHANGED
|
@@ -489,7 +489,8 @@ declare class TestDataService {
|
|
|
489
489
|
*
|
|
490
490
|
* @private
|
|
491
491
|
*/
|
|
492
|
-
private
|
|
492
|
+
private _shouldCleanUp;
|
|
493
|
+
get shouldCleanUp(): boolean;
|
|
493
494
|
/**
|
|
494
495
|
* Configuration of higher priority entities for the cleanup operation.
|
|
495
496
|
* These entities will be deleted before others.
|
|
@@ -1961,6 +1962,10 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1961
1962
|
marketing: string;
|
|
1962
1963
|
};
|
|
1963
1964
|
};
|
|
1965
|
+
readonly 'storefront/header': {
|
|
1966
|
+
skipToContentLink: string;
|
|
1967
|
+
searchInputAriaLabel: string;
|
|
1968
|
+
};
|
|
1964
1969
|
readonly 'storefront/home': {
|
|
1965
1970
|
account: {
|
|
1966
1971
|
yourAccount: string;
|
|
@@ -2866,6 +2871,10 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2866
2871
|
};
|
|
2867
2872
|
title: string;
|
|
2868
2873
|
};
|
|
2874
|
+
readonly 'storefront/header': {
|
|
2875
|
+
skipToContentLink: string;
|
|
2876
|
+
searchInputAriaLabel: string;
|
|
2877
|
+
};
|
|
2869
2878
|
readonly 'storefront/home': {
|
|
2870
2879
|
account: {
|
|
2871
2880
|
yourAccount: string;
|
|
@@ -3761,6 +3770,10 @@ declare const baseNamespaces: {
|
|
|
3761
3770
|
marketing: string;
|
|
3762
3771
|
};
|
|
3763
3772
|
};
|
|
3773
|
+
readonly header: {
|
|
3774
|
+
skipToContentLink: string;
|
|
3775
|
+
searchInputAriaLabel: string;
|
|
3776
|
+
};
|
|
3764
3777
|
readonly home: {
|
|
3765
3778
|
account: {
|
|
3766
3779
|
yourAccount: string;
|
|
@@ -5884,6 +5897,8 @@ declare class Header implements PageObject {
|
|
|
5884
5897
|
readonly languagesMenuOptions: Locator;
|
|
5885
5898
|
readonly currenciesDropdown: Locator;
|
|
5886
5899
|
readonly currenciesMenuOptions: Locator;
|
|
5900
|
+
readonly searchInput: Locator;
|
|
5901
|
+
readonly skipToMainContentLink: Locator;
|
|
5887
5902
|
readonly wishlistIcon: Locator;
|
|
5888
5903
|
readonly wishlistBasket: Locator;
|
|
5889
5904
|
readonly page: Page;
|
package/dist/index.mjs
CHANGED
|
@@ -1492,6 +1492,13 @@ const storefrontConsent = {
|
|
|
1492
1492
|
cookie: cookie$1
|
|
1493
1493
|
};
|
|
1494
1494
|
|
|
1495
|
+
const skipToContentLink$1 = "Skip to main content";
|
|
1496
|
+
const searchInputAriaLabel$1 = "Enter search term...";
|
|
1497
|
+
const storefrontHeader = {
|
|
1498
|
+
skipToContentLink: skipToContentLink$1,
|
|
1499
|
+
searchInputAriaLabel: searchInputAriaLabel$1
|
|
1500
|
+
};
|
|
1501
|
+
|
|
1495
1502
|
const account$1 = {
|
|
1496
1503
|
yourAccount: "Your account"
|
|
1497
1504
|
};
|
|
@@ -2590,6 +2597,13 @@ const deStorefrontContact = {
|
|
|
2590
2597
|
title: title$2
|
|
2591
2598
|
};
|
|
2592
2599
|
|
|
2600
|
+
const skipToContentLink = "Zum Hauptinhalt springen";
|
|
2601
|
+
const searchInputAriaLabel = "Suchbegriff eingeben...";
|
|
2602
|
+
const deStorefrontHeader = {
|
|
2603
|
+
skipToContentLink: skipToContentLink,
|
|
2604
|
+
searchInputAriaLabel: searchInputAriaLabel
|
|
2605
|
+
};
|
|
2606
|
+
|
|
2593
2607
|
const account = {
|
|
2594
2608
|
yourAccount: "Ihr Konto"
|
|
2595
2609
|
};
|
|
@@ -2849,6 +2863,7 @@ const BUNDLED_RESOURCES = {
|
|
|
2849
2863
|
"storefront/navigation": storefrontNavigation,
|
|
2850
2864
|
"storefront/contact": storefrontContact,
|
|
2851
2865
|
"storefront/consent": storefrontConsent,
|
|
2866
|
+
"storefront/header": storefrontHeader,
|
|
2852
2867
|
"storefront/home": storefrontHome,
|
|
2853
2868
|
"storefront/login": storefrontLogin,
|
|
2854
2869
|
"storefront/order": storefrontOrder,
|
|
@@ -2887,6 +2902,7 @@ const BUNDLED_RESOURCES = {
|
|
|
2887
2902
|
"storefront/checkout": deStorefrontCheckout,
|
|
2888
2903
|
"storefront/consent": deStorefrontConsent,
|
|
2889
2904
|
"storefront/contact": deStorefrontContact,
|
|
2905
|
+
"storefront/header": deStorefrontHeader,
|
|
2890
2906
|
"storefront/home": deStorefrontHome,
|
|
2891
2907
|
"storefront/login": deStorefrontLogin,
|
|
2892
2908
|
"storefront/navigation": deStorefrontNavigation,
|
|
@@ -2931,6 +2947,7 @@ const baseNamespaces = {
|
|
|
2931
2947
|
navigation: storefrontNavigation,
|
|
2932
2948
|
contact: storefrontContact,
|
|
2933
2949
|
consent: storefrontConsent,
|
|
2950
|
+
header: storefrontHeader,
|
|
2934
2951
|
home: storefrontHome,
|
|
2935
2952
|
login: storefrontLogin,
|
|
2936
2953
|
order: storefrontOrder,
|
|
@@ -3649,7 +3666,10 @@ class TestDataService {
|
|
|
3649
3666
|
*
|
|
3650
3667
|
* @private
|
|
3651
3668
|
*/
|
|
3652
|
-
|
|
3669
|
+
_shouldCleanUp = true;
|
|
3670
|
+
get shouldCleanUp() {
|
|
3671
|
+
return this._shouldCleanUp;
|
|
3672
|
+
}
|
|
3653
3673
|
/**
|
|
3654
3674
|
* Configuration of higher priority entities for the cleanup operation.
|
|
3655
3675
|
* These entities will be deleted before others.
|
|
@@ -5091,7 +5111,7 @@ class TestDataService {
|
|
|
5091
5111
|
* @param shouldCleanUp - The config setting for the automated data clean up. Default is "true".
|
|
5092
5112
|
*/
|
|
5093
5113
|
setCleanUp(shouldCleanUp = true) {
|
|
5094
|
-
this.
|
|
5114
|
+
this._shouldCleanUp = shouldCleanUp;
|
|
5095
5115
|
}
|
|
5096
5116
|
/**
|
|
5097
5117
|
* Will delete all entities created by the data service via sync API.
|
|
@@ -6226,7 +6246,7 @@ class Home {
|
|
|
6226
6246
|
page;
|
|
6227
6247
|
constructor(page) {
|
|
6228
6248
|
this.page = page;
|
|
6229
|
-
this.categoryTitle = page.
|
|
6249
|
+
this.categoryTitle = page.getByRole("heading", { level: 1 });
|
|
6230
6250
|
this.accountMenuButton = page.getByLabel(translate("storefront:home:account.yourAccount"));
|
|
6231
6251
|
this.closeGuestSessionButton = page.locator(".account-aside-btn");
|
|
6232
6252
|
this.productImages = page.locator(".product-image-wrapper");
|
|
@@ -7384,6 +7404,9 @@ class Header {
|
|
|
7384
7404
|
languagesMenuOptions;
|
|
7385
7405
|
currenciesDropdown;
|
|
7386
7406
|
currenciesMenuOptions;
|
|
7407
|
+
searchInput;
|
|
7408
|
+
//skip links
|
|
7409
|
+
skipToMainContentLink;
|
|
7387
7410
|
//wishlist
|
|
7388
7411
|
wishlistIcon;
|
|
7389
7412
|
wishlistBasket;
|
|
@@ -7395,6 +7418,8 @@ class Header {
|
|
|
7395
7418
|
this.languagesMenuOptions = page.locator(".top-bar-language").filter({ has: page.getByRole("list") });
|
|
7396
7419
|
this.currenciesDropdown = page.locator(".top-bar-currency").filter({ has: page.getByRole("button") });
|
|
7397
7420
|
this.currenciesMenuOptions = page.locator(".top-bar-currency").filter({ has: page.getByRole("list") });
|
|
7421
|
+
this.searchInput = page.getByLabel(translate("storefront:header:searchInputAriaLabel"));
|
|
7422
|
+
this.skipToMainContentLink = page.getByRole("link", { name: translate("storefront:header:skipToContentLink"), exact: true });
|
|
7398
7423
|
this.wishlistIcon = page.locator(".header-wishlist-icon");
|
|
7399
7424
|
this.wishlistBasket = page.locator(".header-wishlist-badge");
|
|
7400
7425
|
}
|