@shopware-ag/acceptance-test-suite 11.2.1 → 11.3.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 +22 -5
- package/dist/index.d.ts +22 -5
- package/dist/index.mjs +358 -311
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1293,6 +1293,7 @@ declare class AccountRecover implements PageObject {
|
|
|
1293
1293
|
|
|
1294
1294
|
declare class AccountProfile implements PageObject {
|
|
1295
1295
|
readonly page: Page;
|
|
1296
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1296
1297
|
readonly salutationSelect: Locator;
|
|
1297
1298
|
readonly firstNameInput: Locator;
|
|
1298
1299
|
readonly lastNameInput: Locator;
|
|
@@ -1313,7 +1314,7 @@ declare class AccountProfile implements PageObject {
|
|
|
1313
1314
|
readonly emailValidationAlert: Locator;
|
|
1314
1315
|
readonly emailUpdateFailureAlert: Locator;
|
|
1315
1316
|
readonly passwordUpdateFailureAlert: Locator;
|
|
1316
|
-
constructor(page: Page);
|
|
1317
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1317
1318
|
url(): string;
|
|
1318
1319
|
}
|
|
1319
1320
|
|
|
@@ -1395,6 +1396,22 @@ declare class CheckoutOrderEdit implements PageObject {
|
|
|
1395
1396
|
url(orderUuid: string): string;
|
|
1396
1397
|
}
|
|
1397
1398
|
|
|
1399
|
+
declare class AccountAddressCreate implements PageObject {
|
|
1400
|
+
readonly page: Page;
|
|
1401
|
+
readonly salutationDropdown: Locator;
|
|
1402
|
+
readonly firstNameInput: Locator;
|
|
1403
|
+
readonly lastNameInput: Locator;
|
|
1404
|
+
readonly companyInput: Locator;
|
|
1405
|
+
readonly departmentInput: Locator;
|
|
1406
|
+
readonly streetInput: Locator;
|
|
1407
|
+
readonly zipcodeInput: Locator;
|
|
1408
|
+
readonly cityInput: Locator;
|
|
1409
|
+
readonly countryDropdown: Locator;
|
|
1410
|
+
readonly saveAddressButton: Locator;
|
|
1411
|
+
constructor(page: Page);
|
|
1412
|
+
url(): string;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1398
1415
|
interface StorefrontPageTypes {
|
|
1399
1416
|
StorefrontHome: Home;
|
|
1400
1417
|
StorefrontProductDetail: ProductDetail$1;
|
|
@@ -1410,6 +1427,7 @@ interface StorefrontPageTypes {
|
|
|
1410
1427
|
StorefrontAccountProfile: AccountProfile;
|
|
1411
1428
|
StorefrontAccountOrder: AccountOrder;
|
|
1412
1429
|
StorefrontAccountAddresses: AccountAddresses;
|
|
1430
|
+
StorefrontAccountAddressCreate: AccountAddressCreate;
|
|
1413
1431
|
StorefrontAccountPayment: AccountPayment;
|
|
1414
1432
|
StorefrontSearch: Search;
|
|
1415
1433
|
StorefrontSearchSuggest: SearchSuggest;
|
|
@@ -1431,6 +1449,7 @@ declare const StorefrontPageObjects: {
|
|
|
1431
1449
|
AccountProfile: typeof AccountProfile;
|
|
1432
1450
|
AccountOrder: typeof AccountOrder;
|
|
1433
1451
|
AccountAddresses: typeof AccountAddresses;
|
|
1452
|
+
AccountAddressCreate: typeof AccountAddressCreate;
|
|
1434
1453
|
AccountPayment: typeof AccountPayment;
|
|
1435
1454
|
Search: typeof Search;
|
|
1436
1455
|
SearchSuggest: typeof SearchSuggest;
|
|
@@ -1569,7 +1588,6 @@ declare class CustomerGroupListing implements PageObject {
|
|
|
1569
1588
|
|
|
1570
1589
|
declare class CustomerGroupCreate implements PageObject {
|
|
1571
1590
|
readonly page: Page;
|
|
1572
|
-
readonly instanceMeta: HelperFixtureTypes$1['InstanceMeta'];
|
|
1573
1591
|
readonly headline: Locator;
|
|
1574
1592
|
readonly saveButton: Locator;
|
|
1575
1593
|
readonly cancelButton: Locator;
|
|
@@ -1584,18 +1602,17 @@ declare class CustomerGroupCreate implements PageObject {
|
|
|
1584
1602
|
readonly signupFormCompanySignupToggle: Locator;
|
|
1585
1603
|
readonly customerGroupSaleschannelSelection: Locator;
|
|
1586
1604
|
readonly customerGroupSaleschannelResultList: Locator;
|
|
1587
|
-
constructor(page: Page
|
|
1605
|
+
constructor(page: Page);
|
|
1588
1606
|
url(): string;
|
|
1589
1607
|
}
|
|
1590
1608
|
|
|
1591
1609
|
declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
|
|
1592
1610
|
readonly page: Page;
|
|
1593
|
-
readonly instanceMeta: HelperFixtureTypes$1['InstanceMeta'];
|
|
1594
1611
|
readonly headline: Locator;
|
|
1595
1612
|
readonly selectedSalesChannel: Locator;
|
|
1596
1613
|
readonly technicalUrl: Locator;
|
|
1597
1614
|
readonly saleschannelUrl: Locator;
|
|
1598
|
-
constructor(page: Page
|
|
1615
|
+
constructor(page: Page);
|
|
1599
1616
|
url(customerGroupId?: string): string;
|
|
1600
1617
|
}
|
|
1601
1618
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1293,6 +1293,7 @@ declare class AccountRecover implements PageObject {
|
|
|
1293
1293
|
|
|
1294
1294
|
declare class AccountProfile implements PageObject {
|
|
1295
1295
|
readonly page: Page;
|
|
1296
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1296
1297
|
readonly salutationSelect: Locator;
|
|
1297
1298
|
readonly firstNameInput: Locator;
|
|
1298
1299
|
readonly lastNameInput: Locator;
|
|
@@ -1313,7 +1314,7 @@ declare class AccountProfile implements PageObject {
|
|
|
1313
1314
|
readonly emailValidationAlert: Locator;
|
|
1314
1315
|
readonly emailUpdateFailureAlert: Locator;
|
|
1315
1316
|
readonly passwordUpdateFailureAlert: Locator;
|
|
1316
|
-
constructor(page: Page);
|
|
1317
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1317
1318
|
url(): string;
|
|
1318
1319
|
}
|
|
1319
1320
|
|
|
@@ -1395,6 +1396,22 @@ declare class CheckoutOrderEdit implements PageObject {
|
|
|
1395
1396
|
url(orderUuid: string): string;
|
|
1396
1397
|
}
|
|
1397
1398
|
|
|
1399
|
+
declare class AccountAddressCreate implements PageObject {
|
|
1400
|
+
readonly page: Page;
|
|
1401
|
+
readonly salutationDropdown: Locator;
|
|
1402
|
+
readonly firstNameInput: Locator;
|
|
1403
|
+
readonly lastNameInput: Locator;
|
|
1404
|
+
readonly companyInput: Locator;
|
|
1405
|
+
readonly departmentInput: Locator;
|
|
1406
|
+
readonly streetInput: Locator;
|
|
1407
|
+
readonly zipcodeInput: Locator;
|
|
1408
|
+
readonly cityInput: Locator;
|
|
1409
|
+
readonly countryDropdown: Locator;
|
|
1410
|
+
readonly saveAddressButton: Locator;
|
|
1411
|
+
constructor(page: Page);
|
|
1412
|
+
url(): string;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1398
1415
|
interface StorefrontPageTypes {
|
|
1399
1416
|
StorefrontHome: Home;
|
|
1400
1417
|
StorefrontProductDetail: ProductDetail$1;
|
|
@@ -1410,6 +1427,7 @@ interface StorefrontPageTypes {
|
|
|
1410
1427
|
StorefrontAccountProfile: AccountProfile;
|
|
1411
1428
|
StorefrontAccountOrder: AccountOrder;
|
|
1412
1429
|
StorefrontAccountAddresses: AccountAddresses;
|
|
1430
|
+
StorefrontAccountAddressCreate: AccountAddressCreate;
|
|
1413
1431
|
StorefrontAccountPayment: AccountPayment;
|
|
1414
1432
|
StorefrontSearch: Search;
|
|
1415
1433
|
StorefrontSearchSuggest: SearchSuggest;
|
|
@@ -1431,6 +1449,7 @@ declare const StorefrontPageObjects: {
|
|
|
1431
1449
|
AccountProfile: typeof AccountProfile;
|
|
1432
1450
|
AccountOrder: typeof AccountOrder;
|
|
1433
1451
|
AccountAddresses: typeof AccountAddresses;
|
|
1452
|
+
AccountAddressCreate: typeof AccountAddressCreate;
|
|
1434
1453
|
AccountPayment: typeof AccountPayment;
|
|
1435
1454
|
Search: typeof Search;
|
|
1436
1455
|
SearchSuggest: typeof SearchSuggest;
|
|
@@ -1569,7 +1588,6 @@ declare class CustomerGroupListing implements PageObject {
|
|
|
1569
1588
|
|
|
1570
1589
|
declare class CustomerGroupCreate implements PageObject {
|
|
1571
1590
|
readonly page: Page;
|
|
1572
|
-
readonly instanceMeta: HelperFixtureTypes$1['InstanceMeta'];
|
|
1573
1591
|
readonly headline: Locator;
|
|
1574
1592
|
readonly saveButton: Locator;
|
|
1575
1593
|
readonly cancelButton: Locator;
|
|
@@ -1584,18 +1602,17 @@ declare class CustomerGroupCreate implements PageObject {
|
|
|
1584
1602
|
readonly signupFormCompanySignupToggle: Locator;
|
|
1585
1603
|
readonly customerGroupSaleschannelSelection: Locator;
|
|
1586
1604
|
readonly customerGroupSaleschannelResultList: Locator;
|
|
1587
|
-
constructor(page: Page
|
|
1605
|
+
constructor(page: Page);
|
|
1588
1606
|
url(): string;
|
|
1589
1607
|
}
|
|
1590
1608
|
|
|
1591
1609
|
declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
|
|
1592
1610
|
readonly page: Page;
|
|
1593
|
-
readonly instanceMeta: HelperFixtureTypes$1['InstanceMeta'];
|
|
1594
1611
|
readonly headline: Locator;
|
|
1595
1612
|
readonly selectedSalesChannel: Locator;
|
|
1596
1613
|
readonly technicalUrl: Locator;
|
|
1597
1614
|
readonly saleschannelUrl: Locator;
|
|
1598
|
-
constructor(page: Page
|
|
1615
|
+
constructor(page: Page);
|
|
1599
1616
|
url(customerGroupId?: string): string;
|
|
1600
1617
|
}
|
|
1601
1618
|
|
package/dist/index.mjs
CHANGED
|
@@ -386,16 +386,16 @@ const test$c = test$e.extend({
|
|
|
386
386
|
]
|
|
387
387
|
});
|
|
388
388
|
|
|
389
|
-
var __defProp$
|
|
390
|
-
var __defNormalProp$
|
|
391
|
-
var __publicField$
|
|
392
|
-
__defNormalProp$
|
|
389
|
+
var __defProp$V = Object.defineProperty;
|
|
390
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
391
|
+
var __publicField$V = (obj, key, value) => {
|
|
392
|
+
__defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
393
393
|
return value;
|
|
394
394
|
};
|
|
395
395
|
const _AdminApiContext = class _AdminApiContext {
|
|
396
396
|
constructor(context, options) {
|
|
397
|
-
__publicField$
|
|
398
|
-
__publicField$
|
|
397
|
+
__publicField$V(this, "context");
|
|
398
|
+
__publicField$V(this, "options");
|
|
399
399
|
this.context = context;
|
|
400
400
|
this.options = options;
|
|
401
401
|
}
|
|
@@ -487,7 +487,7 @@ const _AdminApiContext = class _AdminApiContext {
|
|
|
487
487
|
return this.context.head(url, options);
|
|
488
488
|
}
|
|
489
489
|
};
|
|
490
|
-
__publicField$
|
|
490
|
+
__publicField$V(_AdminApiContext, "defaultOptions", {
|
|
491
491
|
app_url: process.env["APP_URL"],
|
|
492
492
|
client_id: process.env["SHOPWARE_ACCESS_KEY_ID"],
|
|
493
493
|
client_secret: process.env["SHOPWARE_SECRET_ACCESS_KEY"],
|
|
@@ -497,16 +497,16 @@ __publicField$U(_AdminApiContext, "defaultOptions", {
|
|
|
497
497
|
});
|
|
498
498
|
let AdminApiContext = _AdminApiContext;
|
|
499
499
|
|
|
500
|
-
var __defProp$
|
|
501
|
-
var __defNormalProp$
|
|
502
|
-
var __publicField$
|
|
503
|
-
__defNormalProp$
|
|
500
|
+
var __defProp$U = Object.defineProperty;
|
|
501
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
502
|
+
var __publicField$U = (obj, key, value) => {
|
|
503
|
+
__defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
504
504
|
return value;
|
|
505
505
|
};
|
|
506
506
|
const _StoreApiContext = class _StoreApiContext {
|
|
507
507
|
constructor(context, options) {
|
|
508
|
-
__publicField$
|
|
509
|
-
__publicField$
|
|
508
|
+
__publicField$U(this, "context");
|
|
509
|
+
__publicField$U(this, "options");
|
|
510
510
|
this.context = context;
|
|
511
511
|
this.options = options;
|
|
512
512
|
}
|
|
@@ -565,21 +565,21 @@ const _StoreApiContext = class _StoreApiContext {
|
|
|
565
565
|
return this.context.head(url, options);
|
|
566
566
|
}
|
|
567
567
|
};
|
|
568
|
-
__publicField$
|
|
568
|
+
__publicField$U(_StoreApiContext, "defaultOptions", {
|
|
569
569
|
app_url: process.env["APP_URL"],
|
|
570
570
|
ignoreHTTPSErrors: true
|
|
571
571
|
});
|
|
572
572
|
let StoreApiContext = _StoreApiContext;
|
|
573
573
|
|
|
574
|
-
var __defProp$
|
|
575
|
-
var __defNormalProp$
|
|
576
|
-
var __publicField$
|
|
577
|
-
__defNormalProp$
|
|
574
|
+
var __defProp$T = Object.defineProperty;
|
|
575
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
576
|
+
var __publicField$T = (obj, key, value) => {
|
|
577
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
578
578
|
return value;
|
|
579
579
|
};
|
|
580
580
|
class MailpitApiContext {
|
|
581
581
|
constructor(context) {
|
|
582
|
-
__publicField$
|
|
582
|
+
__publicField$T(this, "context");
|
|
583
583
|
this.context = context;
|
|
584
584
|
}
|
|
585
585
|
/**
|
|
@@ -876,17 +876,17 @@ const test$a = test$e.extend({
|
|
|
876
876
|
}
|
|
877
877
|
});
|
|
878
878
|
|
|
879
|
-
var __defProp$
|
|
880
|
-
var __defNormalProp$
|
|
881
|
-
var __publicField$
|
|
882
|
-
__defNormalProp$
|
|
879
|
+
var __defProp$S = Object.defineProperty;
|
|
880
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
881
|
+
var __publicField$S = (obj, key, value) => {
|
|
882
|
+
__defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
883
883
|
return value;
|
|
884
884
|
};
|
|
885
885
|
class Actor {
|
|
886
886
|
constructor(name, page) {
|
|
887
|
-
__publicField$
|
|
888
|
-
__publicField$
|
|
889
|
-
__publicField$
|
|
887
|
+
__publicField$S(this, "page");
|
|
888
|
+
__publicField$S(this, "name");
|
|
889
|
+
__publicField$S(this, "expects", expect);
|
|
890
890
|
this.name = name;
|
|
891
891
|
this.page = page;
|
|
892
892
|
}
|
|
@@ -935,31 +935,31 @@ function createRandomImage(width = 800, height = 600) {
|
|
|
935
935
|
return new Image(width, height, buffer);
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
-
var __defProp$
|
|
939
|
-
var __defNormalProp$
|
|
940
|
-
var __publicField$
|
|
941
|
-
__defNormalProp$
|
|
938
|
+
var __defProp$R = Object.defineProperty;
|
|
939
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
940
|
+
var __publicField$R = (obj, key, value) => {
|
|
941
|
+
__defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
942
942
|
return value;
|
|
943
943
|
};
|
|
944
944
|
class TestDataService {
|
|
945
945
|
constructor(AdminApiClient, IdProvider, options) {
|
|
946
|
-
__publicField$
|
|
947
|
-
__publicField$
|
|
948
|
-
__publicField$
|
|
949
|
-
__publicField$
|
|
950
|
-
__publicField$
|
|
951
|
-
__publicField$
|
|
952
|
-
__publicField$
|
|
953
|
-
__publicField$
|
|
954
|
-
__publicField$
|
|
955
|
-
__publicField$
|
|
956
|
-
__publicField$
|
|
946
|
+
__publicField$R(this, "AdminApiClient");
|
|
947
|
+
__publicField$R(this, "IdProvider");
|
|
948
|
+
__publicField$R(this, "namePrefix", "Test-");
|
|
949
|
+
__publicField$R(this, "nameSuffix", "");
|
|
950
|
+
__publicField$R(this, "defaultSalesChannel");
|
|
951
|
+
__publicField$R(this, "defaultTaxId");
|
|
952
|
+
__publicField$R(this, "defaultCurrencyId");
|
|
953
|
+
__publicField$R(this, "defaultCategoryId");
|
|
954
|
+
__publicField$R(this, "defaultLanguageId");
|
|
955
|
+
__publicField$R(this, "defaultCountryId");
|
|
956
|
+
__publicField$R(this, "defaultCustomerGroupId");
|
|
957
957
|
/**
|
|
958
958
|
* Configures if an automated cleanup of the data should be executed.
|
|
959
959
|
*
|
|
960
960
|
* @private
|
|
961
961
|
*/
|
|
962
|
-
__publicField$
|
|
962
|
+
__publicField$R(this, "shouldCleanUp", true);
|
|
963
963
|
/**
|
|
964
964
|
* Configuration of higher priority entities for the cleanup operation.
|
|
965
965
|
* These entities will be deleted before others.
|
|
@@ -967,26 +967,26 @@ class TestDataService {
|
|
|
967
967
|
*
|
|
968
968
|
* @private
|
|
969
969
|
*/
|
|
970
|
-
__publicField$
|
|
970
|
+
__publicField$R(this, "highPriorityEntities", ["order", "product", "landing_page", "shipping_method", "sales_channel_domain", "sales_channel_currency", "sales_channel_country", "customer"]);
|
|
971
971
|
/**
|
|
972
972
|
* A registry of all created records.
|
|
973
973
|
*
|
|
974
974
|
* @private
|
|
975
975
|
*/
|
|
976
|
-
__publicField$
|
|
977
|
-
__publicField$
|
|
976
|
+
__publicField$R(this, "createdRecords", []);
|
|
977
|
+
__publicField$R(this, "restoreSystemConfig", {});
|
|
978
978
|
/**
|
|
979
979
|
* A registry of all created sales channel records.
|
|
980
980
|
*
|
|
981
981
|
* @private
|
|
982
982
|
*/
|
|
983
|
-
__publicField$
|
|
983
|
+
__publicField$R(this, "createdSalesChannelRecords", []);
|
|
984
984
|
/**
|
|
985
985
|
* Function that generates combinations from n number of arrays
|
|
986
986
|
* with m number of elements in them.
|
|
987
987
|
* @param array
|
|
988
988
|
*/
|
|
989
|
-
__publicField$
|
|
989
|
+
__publicField$R(this, "combineAll", (array) => {
|
|
990
990
|
const result = [];
|
|
991
991
|
const max = array.length - 1;
|
|
992
992
|
const helper = (tmpArray, i) => {
|
|
@@ -2924,16 +2924,16 @@ const test$8 = test$e.extend({
|
|
|
2924
2924
|
}
|
|
2925
2925
|
});
|
|
2926
2926
|
|
|
2927
|
-
var __defProp$
|
|
2928
|
-
var __defNormalProp$
|
|
2929
|
-
var __publicField$
|
|
2930
|
-
__defNormalProp$
|
|
2927
|
+
var __defProp$Q = Object.defineProperty;
|
|
2928
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2929
|
+
var __publicField$Q = (obj, key, value) => {
|
|
2930
|
+
__defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2931
2931
|
return value;
|
|
2932
2932
|
};
|
|
2933
2933
|
class IdProvider {
|
|
2934
2934
|
constructor(workerIndex, seed) {
|
|
2935
|
-
__publicField$
|
|
2936
|
-
__publicField$
|
|
2935
|
+
__publicField$Q(this, "workerIndex");
|
|
2936
|
+
__publicField$Q(this, "seed");
|
|
2937
2937
|
this.workerIndex = workerIndex;
|
|
2938
2938
|
this.seed = seed;
|
|
2939
2939
|
}
|
|
@@ -3017,36 +3017,36 @@ const test$7 = test$e.extend({
|
|
|
3017
3017
|
]
|
|
3018
3018
|
});
|
|
3019
3019
|
|
|
3020
|
-
var __defProp$
|
|
3021
|
-
var __defNormalProp$
|
|
3022
|
-
var __publicField$
|
|
3023
|
-
__defNormalProp$
|
|
3020
|
+
var __defProp$P = Object.defineProperty;
|
|
3021
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3022
|
+
var __publicField$P = (obj, key, value) => {
|
|
3023
|
+
__defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3024
3024
|
return value;
|
|
3025
3025
|
};
|
|
3026
3026
|
class Home {
|
|
3027
3027
|
constructor(page) {
|
|
3028
3028
|
this.page = page;
|
|
3029
|
-
__publicField$
|
|
3030
|
-
__publicField$
|
|
3031
|
-
__publicField$
|
|
3032
|
-
__publicField$
|
|
3033
|
-
__publicField$
|
|
3034
|
-
__publicField$
|
|
3035
|
-
__publicField$
|
|
3036
|
-
__publicField$
|
|
3037
|
-
__publicField$
|
|
3038
|
-
__publicField$
|
|
3039
|
-
__publicField$
|
|
3040
|
-
__publicField$
|
|
3041
|
-
__publicField$
|
|
3042
|
-
__publicField$
|
|
3043
|
-
__publicField$
|
|
3044
|
-
__publicField$
|
|
3045
|
-
__publicField$
|
|
3046
|
-
__publicField$
|
|
3047
|
-
__publicField$
|
|
3048
|
-
__publicField$
|
|
3049
|
-
__publicField$
|
|
3029
|
+
__publicField$P(this, "accountMenuButton");
|
|
3030
|
+
__publicField$P(this, "closeGuestSessionButton");
|
|
3031
|
+
__publicField$P(this, "productImages");
|
|
3032
|
+
__publicField$P(this, "productListItems");
|
|
3033
|
+
__publicField$P(this, "languagesDropdown");
|
|
3034
|
+
__publicField$P(this, "languagesMenuOptions");
|
|
3035
|
+
__publicField$P(this, "currenciesDropdown");
|
|
3036
|
+
__publicField$P(this, "currenciesMenuOptions");
|
|
3037
|
+
__publicField$P(this, "consentOnlyTechnicallyRequiredButton");
|
|
3038
|
+
__publicField$P(this, "consentConfigureButton");
|
|
3039
|
+
__publicField$P(this, "consentAcceptAllCookiesButton");
|
|
3040
|
+
__publicField$P(this, "consentCookiePreferences");
|
|
3041
|
+
__publicField$P(this, "consentCookiePermissionContent");
|
|
3042
|
+
__publicField$P(this, "consentDialog");
|
|
3043
|
+
__publicField$P(this, "consentDialogTechnicallyRequiredCheckbox");
|
|
3044
|
+
__publicField$P(this, "consentDialogStatisticsCheckbox");
|
|
3045
|
+
__publicField$P(this, "consentDialogMarketingdCheckbox");
|
|
3046
|
+
__publicField$P(this, "consentDialogAcceptAllCookiesButton");
|
|
3047
|
+
__publicField$P(this, "consentDialogSaveButton");
|
|
3048
|
+
__publicField$P(this, "consentCookieBannerContainer");
|
|
3049
|
+
__publicField$P(this, "offcanvasBackdrop");
|
|
3050
3050
|
this.accountMenuButton = page.getByLabel("Your account");
|
|
3051
3051
|
this.closeGuestSessionButton = page.locator(".account-aside-btn");
|
|
3052
3052
|
this.productImages = page.locator(".product-image-wrapper");
|
|
@@ -3097,26 +3097,26 @@ class Home {
|
|
|
3097
3097
|
}
|
|
3098
3098
|
}
|
|
3099
3099
|
|
|
3100
|
-
var __defProp$
|
|
3101
|
-
var __defNormalProp$
|
|
3102
|
-
var __publicField$
|
|
3103
|
-
__defNormalProp$
|
|
3100
|
+
var __defProp$O = Object.defineProperty;
|
|
3101
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3102
|
+
var __publicField$O = (obj, key, value) => {
|
|
3103
|
+
__defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3104
3104
|
return value;
|
|
3105
3105
|
};
|
|
3106
3106
|
let ProductDetail$1 = class ProductDetail {
|
|
3107
3107
|
constructor(page) {
|
|
3108
3108
|
this.page = page;
|
|
3109
|
-
__publicField$
|
|
3110
|
-
__publicField$
|
|
3111
|
-
__publicField$
|
|
3112
|
-
__publicField$
|
|
3113
|
-
__publicField$
|
|
3114
|
-
__publicField$
|
|
3115
|
-
__publicField$
|
|
3116
|
-
__publicField$
|
|
3117
|
-
__publicField$
|
|
3118
|
-
__publicField$
|
|
3119
|
-
__publicField$
|
|
3109
|
+
__publicField$O(this, "addToCartButton");
|
|
3110
|
+
__publicField$O(this, "quantitySelect");
|
|
3111
|
+
__publicField$O(this, "productSingleImage");
|
|
3112
|
+
__publicField$O(this, "productSinglePrice");
|
|
3113
|
+
__publicField$O(this, "productPriceRangesRow");
|
|
3114
|
+
__publicField$O(this, "offCanvasCartTitle");
|
|
3115
|
+
__publicField$O(this, "offCanvasCart");
|
|
3116
|
+
__publicField$O(this, "offCanvasCartGoToCheckoutButton");
|
|
3117
|
+
__publicField$O(this, "offCanvasLineItemImages");
|
|
3118
|
+
__publicField$O(this, "offCanvasSummaryTotalPrice");
|
|
3119
|
+
__publicField$O(this, "offCanvas");
|
|
3120
3120
|
this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
|
|
3121
3121
|
this.quantitySelect = page.getByLabel("Quantity", { exact: true });
|
|
3122
3122
|
this.productSingleImage = page.locator(".gallery-slider-single-image");
|
|
@@ -3138,18 +3138,18 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
3138
3138
|
}
|
|
3139
3139
|
};
|
|
3140
3140
|
|
|
3141
|
-
var __defProp$
|
|
3142
|
-
var __defNormalProp$
|
|
3143
|
-
var __publicField$
|
|
3144
|
-
__defNormalProp$
|
|
3141
|
+
var __defProp$N = Object.defineProperty;
|
|
3142
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3143
|
+
var __publicField$N = (obj, key, value) => {
|
|
3144
|
+
__defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3145
3145
|
return value;
|
|
3146
3146
|
};
|
|
3147
3147
|
class Category {
|
|
3148
3148
|
constructor(page) {
|
|
3149
3149
|
this.page = page;
|
|
3150
|
-
__publicField$
|
|
3151
|
-
__publicField$
|
|
3152
|
-
__publicField$
|
|
3150
|
+
__publicField$N(this, "sortingSelect");
|
|
3151
|
+
__publicField$N(this, "firstProductBuyButton");
|
|
3152
|
+
__publicField$N(this, "noProductsFoundAlert");
|
|
3153
3153
|
this.sortingSelect = page.getByLabel("Sorting");
|
|
3154
3154
|
this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
|
|
3155
3155
|
this.noProductsFoundAlert = page.getByText("No products found.");
|
|
@@ -3159,24 +3159,24 @@ class Category {
|
|
|
3159
3159
|
}
|
|
3160
3160
|
}
|
|
3161
3161
|
|
|
3162
|
-
var __defProp$
|
|
3163
|
-
var __defNormalProp$
|
|
3164
|
-
var __publicField$
|
|
3165
|
-
__defNormalProp$
|
|
3162
|
+
var __defProp$M = Object.defineProperty;
|
|
3163
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3164
|
+
var __publicField$M = (obj, key, value) => {
|
|
3165
|
+
__defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3166
3166
|
return value;
|
|
3167
3167
|
};
|
|
3168
3168
|
class CheckoutCart {
|
|
3169
3169
|
constructor(page) {
|
|
3170
3170
|
this.page = page;
|
|
3171
|
-
__publicField$
|
|
3172
|
-
__publicField$
|
|
3173
|
-
__publicField$
|
|
3174
|
-
__publicField$
|
|
3175
|
-
__publicField$
|
|
3176
|
-
__publicField$
|
|
3177
|
-
__publicField$
|
|
3178
|
-
__publicField$
|
|
3179
|
-
__publicField$
|
|
3171
|
+
__publicField$M(this, "headline");
|
|
3172
|
+
__publicField$M(this, "goToCheckoutButton");
|
|
3173
|
+
__publicField$M(this, "enterPromoInput");
|
|
3174
|
+
__publicField$M(this, "grandTotalPrice");
|
|
3175
|
+
__publicField$M(this, "emptyCartAlert");
|
|
3176
|
+
__publicField$M(this, "stockReachedAlert");
|
|
3177
|
+
__publicField$M(this, "cartLineItemImages");
|
|
3178
|
+
__publicField$M(this, "unitPriceInfo");
|
|
3179
|
+
__publicField$M(this, "cartQuantityNumber");
|
|
3180
3180
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3181
3181
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
3182
3182
|
this.enterPromoInput = page.getByLabel("Promo code");
|
|
@@ -3217,25 +3217,25 @@ class CheckoutCart {
|
|
|
3217
3217
|
}
|
|
3218
3218
|
}
|
|
3219
3219
|
|
|
3220
|
-
var __defProp$
|
|
3221
|
-
var __defNormalProp$
|
|
3222
|
-
var __publicField$
|
|
3223
|
-
__defNormalProp$
|
|
3220
|
+
var __defProp$L = Object.defineProperty;
|
|
3221
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3222
|
+
var __publicField$L = (obj, key, value) => {
|
|
3223
|
+
__defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3224
3224
|
return value;
|
|
3225
3225
|
};
|
|
3226
3226
|
class OffCanvasCart {
|
|
3227
3227
|
constructor(page) {
|
|
3228
3228
|
this.page = page;
|
|
3229
|
-
__publicField$
|
|
3230
|
-
__publicField$
|
|
3231
|
-
__publicField$
|
|
3232
|
-
__publicField$
|
|
3233
|
-
__publicField$
|
|
3234
|
-
__publicField$
|
|
3235
|
-
__publicField$
|
|
3236
|
-
__publicField$
|
|
3237
|
-
__publicField$
|
|
3238
|
-
__publicField$
|
|
3229
|
+
__publicField$L(this, "headline");
|
|
3230
|
+
__publicField$L(this, "itemCount");
|
|
3231
|
+
__publicField$L(this, "goToCheckoutButton");
|
|
3232
|
+
__publicField$L(this, "goToCartButton");
|
|
3233
|
+
__publicField$L(this, "continueShoppingButton");
|
|
3234
|
+
__publicField$L(this, "enterPromoInput");
|
|
3235
|
+
__publicField$L(this, "submitDiscountButton");
|
|
3236
|
+
__publicField$L(this, "subTotalPrice");
|
|
3237
|
+
__publicField$L(this, "shippingCosts");
|
|
3238
|
+
__publicField$L(this, "cartQuantityNumber");
|
|
3239
3239
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3240
3240
|
this.itemCount = page.locator(".offcanvas-cart-header-count");
|
|
3241
3241
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
@@ -3277,36 +3277,36 @@ class OffCanvasCart {
|
|
|
3277
3277
|
}
|
|
3278
3278
|
}
|
|
3279
3279
|
|
|
3280
|
-
var __defProp$
|
|
3281
|
-
var __defNormalProp$
|
|
3282
|
-
var __publicField$
|
|
3283
|
-
__defNormalProp$
|
|
3280
|
+
var __defProp$K = Object.defineProperty;
|
|
3281
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3282
|
+
var __publicField$K = (obj, key, value) => {
|
|
3283
|
+
__defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3284
3284
|
return value;
|
|
3285
3285
|
};
|
|
3286
3286
|
class CheckoutConfirm {
|
|
3287
3287
|
constructor(page) {
|
|
3288
3288
|
this.page = page;
|
|
3289
|
-
__publicField$
|
|
3290
|
-
__publicField$
|
|
3291
|
-
__publicField$
|
|
3292
|
-
__publicField$
|
|
3293
|
-
__publicField$
|
|
3294
|
-
__publicField$
|
|
3289
|
+
__publicField$K(this, "headline");
|
|
3290
|
+
__publicField$K(this, "termsAndConditionsCheckbox");
|
|
3291
|
+
__publicField$K(this, "immediateAccessToDigitalProductCheckbox");
|
|
3292
|
+
__publicField$K(this, "grandTotalPrice");
|
|
3293
|
+
__publicField$K(this, "taxPrice");
|
|
3294
|
+
__publicField$K(this, "submitOrderButton");
|
|
3295
3295
|
/**
|
|
3296
3296
|
* Payment options
|
|
3297
3297
|
*/
|
|
3298
|
-
__publicField$
|
|
3299
|
-
__publicField$
|
|
3300
|
-
__publicField$
|
|
3298
|
+
__publicField$K(this, "paymentCashOnDelivery");
|
|
3299
|
+
__publicField$K(this, "paymentPaidInAdvance");
|
|
3300
|
+
__publicField$K(this, "paymentInvoice");
|
|
3301
3301
|
/**
|
|
3302
3302
|
* Shipping options
|
|
3303
3303
|
*/
|
|
3304
|
-
__publicField$
|
|
3305
|
-
__publicField$
|
|
3304
|
+
__publicField$K(this, "shippingStandard");
|
|
3305
|
+
__publicField$K(this, "shippingExpress");
|
|
3306
3306
|
/**
|
|
3307
3307
|
* Product details
|
|
3308
3308
|
*/
|
|
3309
|
-
__publicField$
|
|
3309
|
+
__publicField$K(this, "cartLineItemImages");
|
|
3310
3310
|
this.headline = page.getByRole("heading", { name: "Complete order" });
|
|
3311
3311
|
this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
|
|
3312
3312
|
this.immediateAccessToDigitalProductCheckbox = page.getByLabel("I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.");
|
|
@@ -3325,21 +3325,21 @@ class CheckoutConfirm {
|
|
|
3325
3325
|
}
|
|
3326
3326
|
}
|
|
3327
3327
|
|
|
3328
|
-
var __defProp$
|
|
3329
|
-
var __defNormalProp$
|
|
3330
|
-
var __publicField$
|
|
3331
|
-
__defNormalProp$
|
|
3328
|
+
var __defProp$J = Object.defineProperty;
|
|
3329
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3330
|
+
var __publicField$J = (obj, key, value) => {
|
|
3331
|
+
__defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3332
3332
|
return value;
|
|
3333
3333
|
};
|
|
3334
3334
|
class CheckoutFinish {
|
|
3335
3335
|
constructor(page) {
|
|
3336
3336
|
this.page = page;
|
|
3337
|
-
__publicField$
|
|
3338
|
-
__publicField$
|
|
3339
|
-
__publicField$
|
|
3340
|
-
__publicField$
|
|
3341
|
-
__publicField$
|
|
3342
|
-
__publicField$
|
|
3337
|
+
__publicField$J(this, "headline");
|
|
3338
|
+
__publicField$J(this, "orderNumberText");
|
|
3339
|
+
__publicField$J(this, "grandTotalPrice");
|
|
3340
|
+
__publicField$J(this, "taxPrice");
|
|
3341
|
+
__publicField$J(this, "cartLineItemImages");
|
|
3342
|
+
__publicField$J(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
3343
3343
|
this.headline = page.getByRole("heading", { name: "Thank you for your order" });
|
|
3344
3344
|
this.orderNumberText = page.getByText(this.orderNumberRegex);
|
|
3345
3345
|
this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
|
|
@@ -3368,16 +3368,16 @@ class CheckoutFinish {
|
|
|
3368
3368
|
}
|
|
3369
3369
|
}
|
|
3370
3370
|
|
|
3371
|
-
var __defProp$
|
|
3372
|
-
var __defNormalProp$
|
|
3373
|
-
var __publicField$
|
|
3374
|
-
__defNormalProp$
|
|
3371
|
+
var __defProp$I = Object.defineProperty;
|
|
3372
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3373
|
+
var __publicField$I = (obj, key, value) => {
|
|
3374
|
+
__defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3375
3375
|
return value;
|
|
3376
3376
|
};
|
|
3377
3377
|
class CheckoutRegister {
|
|
3378
3378
|
constructor(page) {
|
|
3379
3379
|
this.page = page;
|
|
3380
|
-
__publicField$
|
|
3380
|
+
__publicField$I(this, "cartLineItemImages");
|
|
3381
3381
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
3382
3382
|
}
|
|
3383
3383
|
url() {
|
|
@@ -3385,24 +3385,24 @@ class CheckoutRegister {
|
|
|
3385
3385
|
}
|
|
3386
3386
|
}
|
|
3387
3387
|
|
|
3388
|
-
var __defProp$
|
|
3389
|
-
var __defNormalProp$
|
|
3390
|
-
var __publicField$
|
|
3391
|
-
__defNormalProp$
|
|
3388
|
+
var __defProp$H = Object.defineProperty;
|
|
3389
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3390
|
+
var __publicField$H = (obj, key, value) => {
|
|
3391
|
+
__defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3392
3392
|
return value;
|
|
3393
3393
|
};
|
|
3394
3394
|
class Account {
|
|
3395
3395
|
constructor(page, instanceMeta) {
|
|
3396
3396
|
this.page = page;
|
|
3397
3397
|
this.instanceMeta = instanceMeta;
|
|
3398
|
-
__publicField$
|
|
3399
|
-
__publicField$
|
|
3400
|
-
__publicField$
|
|
3401
|
-
__publicField$
|
|
3402
|
-
__publicField$
|
|
3403
|
-
__publicField$
|
|
3404
|
-
__publicField$
|
|
3405
|
-
__publicField$
|
|
3398
|
+
__publicField$H(this, "headline");
|
|
3399
|
+
__publicField$H(this, "personalDataCardTitle");
|
|
3400
|
+
__publicField$H(this, "paymentMethodCardTitle");
|
|
3401
|
+
__publicField$H(this, "billingAddressCardTitle");
|
|
3402
|
+
__publicField$H(this, "shippingAddressCardTitle");
|
|
3403
|
+
__publicField$H(this, "newsletterCheckbox");
|
|
3404
|
+
__publicField$H(this, "newsletterRegistrationSuccessMessage");
|
|
3405
|
+
__publicField$H(this, "customerGroupRequestMessage");
|
|
3406
3406
|
this.headline = page.getByRole("heading", { name: "Overview" });
|
|
3407
3407
|
this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
|
|
3408
3408
|
this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
|
|
@@ -3424,40 +3424,40 @@ class Account {
|
|
|
3424
3424
|
}
|
|
3425
3425
|
}
|
|
3426
3426
|
|
|
3427
|
-
var __defProp$
|
|
3428
|
-
var __defNormalProp$
|
|
3429
|
-
var __publicField$
|
|
3430
|
-
__defNormalProp$
|
|
3427
|
+
var __defProp$G = Object.defineProperty;
|
|
3428
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3429
|
+
var __publicField$G = (obj, key, value) => {
|
|
3430
|
+
__defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3431
3431
|
return value;
|
|
3432
3432
|
};
|
|
3433
3433
|
class AccountLogin {
|
|
3434
3434
|
constructor(page) {
|
|
3435
3435
|
this.page = page;
|
|
3436
|
-
__publicField$
|
|
3437
|
-
__publicField$
|
|
3438
|
-
__publicField$
|
|
3439
|
-
__publicField$
|
|
3440
|
-
__publicField$
|
|
3441
|
-
__publicField$
|
|
3442
|
-
__publicField$
|
|
3443
|
-
__publicField$
|
|
3436
|
+
__publicField$G(this, "emailInput");
|
|
3437
|
+
__publicField$G(this, "passwordInput");
|
|
3438
|
+
__publicField$G(this, "forgotPasswordLink");
|
|
3439
|
+
__publicField$G(this, "loginButton");
|
|
3440
|
+
__publicField$G(this, "logoutLink");
|
|
3441
|
+
__publicField$G(this, "successAlert");
|
|
3442
|
+
__publicField$G(this, "invalidCredentialsAlert");
|
|
3443
|
+
__publicField$G(this, "passwordUpdatedAlert");
|
|
3444
3444
|
// Inputs for registration
|
|
3445
|
-
__publicField$
|
|
3446
|
-
__publicField$
|
|
3447
|
-
__publicField$
|
|
3448
|
-
__publicField$
|
|
3449
|
-
__publicField$
|
|
3450
|
-
__publicField$
|
|
3451
|
-
__publicField$
|
|
3452
|
-
__publicField$
|
|
3453
|
-
__publicField$
|
|
3454
|
-
__publicField$
|
|
3455
|
-
__publicField$
|
|
3456
|
-
__publicField$
|
|
3457
|
-
__publicField$
|
|
3458
|
-
__publicField$
|
|
3459
|
-
__publicField$
|
|
3460
|
-
__publicField$
|
|
3445
|
+
__publicField$G(this, "personalFormArea");
|
|
3446
|
+
__publicField$G(this, "billingAddressFormArea");
|
|
3447
|
+
__publicField$G(this, "accountTypeSelect");
|
|
3448
|
+
__publicField$G(this, "salutationSelect");
|
|
3449
|
+
__publicField$G(this, "firstNameInput");
|
|
3450
|
+
__publicField$G(this, "lastNameInput");
|
|
3451
|
+
__publicField$G(this, "companyInput");
|
|
3452
|
+
__publicField$G(this, "departmentInput");
|
|
3453
|
+
__publicField$G(this, "vatRegNoInput");
|
|
3454
|
+
__publicField$G(this, "registerEmailInput");
|
|
3455
|
+
__publicField$G(this, "registerPasswordInput");
|
|
3456
|
+
__publicField$G(this, "streetAddressInput");
|
|
3457
|
+
__publicField$G(this, "cityInput");
|
|
3458
|
+
__publicField$G(this, "countryInput");
|
|
3459
|
+
__publicField$G(this, "postalCodeInput");
|
|
3460
|
+
__publicField$G(this, "registerButton");
|
|
3461
3461
|
this.emailInput = page.getByLabel("Your email address");
|
|
3462
3462
|
this.passwordInput = page.getByLabel("Your password");
|
|
3463
3463
|
this.loginButton = page.getByRole("button", { name: "Log in" });
|
|
@@ -3489,26 +3489,26 @@ class AccountLogin {
|
|
|
3489
3489
|
}
|
|
3490
3490
|
}
|
|
3491
3491
|
|
|
3492
|
-
var __defProp$
|
|
3493
|
-
var __defNormalProp$
|
|
3494
|
-
var __publicField$
|
|
3495
|
-
__defNormalProp$
|
|
3492
|
+
var __defProp$F = Object.defineProperty;
|
|
3493
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3494
|
+
var __publicField$F = (obj, key, value) => {
|
|
3495
|
+
__defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3496
3496
|
return value;
|
|
3497
3497
|
};
|
|
3498
3498
|
class AccountRecover {
|
|
3499
3499
|
constructor(page) {
|
|
3500
3500
|
this.page = page;
|
|
3501
|
-
__publicField$
|
|
3502
|
-
__publicField$
|
|
3503
|
-
__publicField$
|
|
3504
|
-
__publicField$
|
|
3505
|
-
__publicField$
|
|
3506
|
-
__publicField$
|
|
3507
|
-
__publicField$
|
|
3508
|
-
__publicField$
|
|
3509
|
-
__publicField$
|
|
3510
|
-
__publicField$
|
|
3511
|
-
__publicField$
|
|
3501
|
+
__publicField$F(this, "passwordRecoveryForm");
|
|
3502
|
+
__publicField$F(this, "title");
|
|
3503
|
+
__publicField$F(this, "subtitle");
|
|
3504
|
+
__publicField$F(this, "emailInput");
|
|
3505
|
+
__publicField$F(this, "requestEmailButton");
|
|
3506
|
+
__publicField$F(this, "backButton");
|
|
3507
|
+
__publicField$F(this, "passwordResetEmailSentMessage");
|
|
3508
|
+
__publicField$F(this, "newPasswordInput");
|
|
3509
|
+
__publicField$F(this, "newPasswordConfirmInput");
|
|
3510
|
+
__publicField$F(this, "changePasswordButton");
|
|
3511
|
+
__publicField$F(this, "invalidLinkMessage");
|
|
3512
3512
|
this.passwordRecoveryForm = page.locator(".account-recover-password-form");
|
|
3513
3513
|
const cardTitle = this.passwordRecoveryForm.locator(".card-title");
|
|
3514
3514
|
this.title = cardTitle.getByText("Password recovery");
|
|
@@ -3530,35 +3530,36 @@ class AccountRecover {
|
|
|
3530
3530
|
}
|
|
3531
3531
|
}
|
|
3532
3532
|
|
|
3533
|
-
var __defProp$
|
|
3534
|
-
var __defNormalProp$
|
|
3535
|
-
var __publicField$
|
|
3536
|
-
__defNormalProp$
|
|
3533
|
+
var __defProp$E = Object.defineProperty;
|
|
3534
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3535
|
+
var __publicField$E = (obj, key, value) => {
|
|
3536
|
+
__defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3537
3537
|
return value;
|
|
3538
3538
|
};
|
|
3539
3539
|
class AccountProfile {
|
|
3540
|
-
constructor(page) {
|
|
3540
|
+
constructor(page, instanceMeta) {
|
|
3541
3541
|
this.page = page;
|
|
3542
|
-
|
|
3543
|
-
__publicField$
|
|
3544
|
-
__publicField$
|
|
3545
|
-
__publicField$
|
|
3546
|
-
__publicField$
|
|
3547
|
-
__publicField$
|
|
3548
|
-
__publicField$
|
|
3549
|
-
__publicField$
|
|
3550
|
-
__publicField$
|
|
3551
|
-
__publicField$
|
|
3552
|
-
__publicField$
|
|
3553
|
-
__publicField$
|
|
3554
|
-
__publicField$
|
|
3555
|
-
__publicField$
|
|
3556
|
-
__publicField$
|
|
3557
|
-
__publicField$
|
|
3558
|
-
__publicField$
|
|
3559
|
-
__publicField$
|
|
3560
|
-
__publicField$
|
|
3561
|
-
__publicField$
|
|
3542
|
+
this.instanceMeta = instanceMeta;
|
|
3543
|
+
__publicField$E(this, "salutationSelect");
|
|
3544
|
+
__publicField$E(this, "firstNameInput");
|
|
3545
|
+
__publicField$E(this, "lastNameInput");
|
|
3546
|
+
__publicField$E(this, "saveProfileButton");
|
|
3547
|
+
__publicField$E(this, "changeEmailButton");
|
|
3548
|
+
__publicField$E(this, "emailAddressInput");
|
|
3549
|
+
__publicField$E(this, "emailAddressConfirmInput");
|
|
3550
|
+
__publicField$E(this, "emailConfirmPasswordInput");
|
|
3551
|
+
__publicField$E(this, "saveEmailAddressButton");
|
|
3552
|
+
__publicField$E(this, "changePasswordButton");
|
|
3553
|
+
__publicField$E(this, "newPasswordInput");
|
|
3554
|
+
__publicField$E(this, "newPasswordConfirmInput");
|
|
3555
|
+
__publicField$E(this, "currentPasswordInput");
|
|
3556
|
+
__publicField$E(this, "saveNewPasswordButton");
|
|
3557
|
+
__publicField$E(this, "loginDataEmailAddress");
|
|
3558
|
+
__publicField$E(this, "emailUpdateMessage");
|
|
3559
|
+
__publicField$E(this, "passwordUpdateMessage");
|
|
3560
|
+
__publicField$E(this, "emailValidationAlert");
|
|
3561
|
+
__publicField$E(this, "emailUpdateFailureAlert");
|
|
3562
|
+
__publicField$E(this, "passwordUpdateFailureAlert");
|
|
3562
3563
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
3563
3564
|
this.firstNameInput = page.getByLabel("First name");
|
|
3564
3565
|
this.lastNameInput = page.getByLabel("Last name");
|
|
@@ -3570,37 +3571,50 @@ class AccountProfile {
|
|
|
3570
3571
|
this.saveEmailAddressButton = page.locator("#profileMailForm").getByRole("button", { name: "Save changes" });
|
|
3571
3572
|
this.changePasswordButton = page.getByRole("button", { name: "Change password" });
|
|
3572
3573
|
this.newPasswordInput = page.locator('input[id="newPassword"]');
|
|
3573
|
-
|
|
3574
|
-
|
|
3574
|
+
if (instanceMeta.features["ACCESSIBILITY_TWEAKS"]) {
|
|
3575
|
+
this.newPasswordConfirmInput = page.locator('input[name="password[newPasswordConfirm]"]');
|
|
3576
|
+
this.currentPasswordInput = page.locator('input[name="password[password]"]');
|
|
3577
|
+
} else {
|
|
3578
|
+
this.newPasswordConfirmInput = page.locator('input[id="passwordConfirmation"]');
|
|
3579
|
+
this.currentPasswordInput = page.locator('input[id="password"]');
|
|
3580
|
+
}
|
|
3575
3581
|
this.saveNewPasswordButton = page.locator("#profilePasswordForm").getByRole("button", { name: "Save changes" });
|
|
3576
3582
|
this.loginDataEmailAddress = page.locator(".account-profile-mail");
|
|
3577
3583
|
this.emailUpdateMessage = page.getByText("Your email address has been updated.");
|
|
3578
3584
|
this.passwordUpdateMessage = page.getByText("Your password has been updated.");
|
|
3579
|
-
|
|
3585
|
+
if (instanceMeta.features["ACCESSIBILITY_TWEAKS"]) {
|
|
3586
|
+
this.emailValidationAlert = page.getByText("Invalid email address.");
|
|
3587
|
+
} else {
|
|
3588
|
+
this.emailValidationAlert = page.locator(".was-validated");
|
|
3589
|
+
}
|
|
3580
3590
|
this.emailUpdateFailureAlert = page.getByText("Email address could not be changed.");
|
|
3581
|
-
|
|
3591
|
+
if (instanceMeta.features["ACCESSIBILITY_TWEAKS"]) {
|
|
3592
|
+
this.passwordUpdateFailureAlert = page.getByText("Input is too short.");
|
|
3593
|
+
} else {
|
|
3594
|
+
this.passwordUpdateFailureAlert = page.getByText("Password could not be changed.");
|
|
3595
|
+
}
|
|
3582
3596
|
}
|
|
3583
3597
|
url() {
|
|
3584
3598
|
return "account/profile";
|
|
3585
3599
|
}
|
|
3586
3600
|
}
|
|
3587
3601
|
|
|
3588
|
-
var __defProp$
|
|
3589
|
-
var __defNormalProp$
|
|
3590
|
-
var __publicField$
|
|
3591
|
-
__defNormalProp$
|
|
3602
|
+
var __defProp$D = Object.defineProperty;
|
|
3603
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3604
|
+
var __publicField$D = (obj, key, value) => {
|
|
3605
|
+
__defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3592
3606
|
return value;
|
|
3593
3607
|
};
|
|
3594
3608
|
class AccountOrder {
|
|
3595
3609
|
constructor(page) {
|
|
3596
3610
|
this.page = page;
|
|
3597
|
-
__publicField$
|
|
3598
|
-
__publicField$
|
|
3599
|
-
__publicField$
|
|
3600
|
-
__publicField$
|
|
3601
|
-
__publicField$
|
|
3602
|
-
__publicField$
|
|
3603
|
-
__publicField$
|
|
3611
|
+
__publicField$D(this, "cartLineItemImages");
|
|
3612
|
+
__publicField$D(this, "orderExpandButton");
|
|
3613
|
+
__publicField$D(this, "digitalProductDownloadButton");
|
|
3614
|
+
__publicField$D(this, "dialogOrderCancel");
|
|
3615
|
+
__publicField$D(this, "dialogOrderCancelButton");
|
|
3616
|
+
__publicField$D(this, "dialogBackButton");
|
|
3617
|
+
__publicField$D(this, "getViewSubscriptionLink", (orderNumber) => {
|
|
3604
3618
|
const orderContainer = this.page.locator(".order-item-header", { hasText: `Order Number: ${orderNumber}` });
|
|
3605
3619
|
return orderContainer.getByText("View Subscription");
|
|
3606
3620
|
});
|
|
@@ -3645,20 +3659,20 @@ class AccountOrder {
|
|
|
3645
3659
|
}
|
|
3646
3660
|
}
|
|
3647
3661
|
|
|
3648
|
-
var __defProp$
|
|
3649
|
-
var __defNormalProp$
|
|
3650
|
-
var __publicField$
|
|
3651
|
-
__defNormalProp$
|
|
3662
|
+
var __defProp$C = Object.defineProperty;
|
|
3663
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3664
|
+
var __publicField$C = (obj, key, value) => {
|
|
3665
|
+
__defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3652
3666
|
return value;
|
|
3653
3667
|
};
|
|
3654
3668
|
class AccountAddresses {
|
|
3655
3669
|
constructor(page) {
|
|
3656
3670
|
this.page = page;
|
|
3657
|
-
__publicField$
|
|
3658
|
-
__publicField$
|
|
3659
|
-
__publicField$
|
|
3660
|
-
__publicField$
|
|
3661
|
-
__publicField$
|
|
3671
|
+
__publicField$C(this, "addNewAddressButton");
|
|
3672
|
+
__publicField$C(this, "editBillingAddressButton");
|
|
3673
|
+
__publicField$C(this, "editShippingAddressButton");
|
|
3674
|
+
__publicField$C(this, "useDefaultBillingAddressButton");
|
|
3675
|
+
__publicField$C(this, "useDefaultShippingAddressButton");
|
|
3662
3676
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
3663
3677
|
this.editBillingAddressButton = page.getByRole("link", { name: "Edit address" }).first();
|
|
3664
3678
|
this.editShippingAddressButton = page.getByRole("link", { name: "Edit address" }).nth(1);
|
|
@@ -3670,19 +3684,19 @@ class AccountAddresses {
|
|
|
3670
3684
|
}
|
|
3671
3685
|
}
|
|
3672
3686
|
|
|
3673
|
-
var __defProp$
|
|
3674
|
-
var __defNormalProp$
|
|
3675
|
-
var __publicField$
|
|
3676
|
-
__defNormalProp$
|
|
3687
|
+
var __defProp$B = Object.defineProperty;
|
|
3688
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3689
|
+
var __publicField$B = (obj, key, value) => {
|
|
3690
|
+
__defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3677
3691
|
return value;
|
|
3678
3692
|
};
|
|
3679
3693
|
class AccountPayment {
|
|
3680
3694
|
constructor(page) {
|
|
3681
3695
|
this.page = page;
|
|
3682
|
-
__publicField$
|
|
3683
|
-
__publicField$
|
|
3684
|
-
__publicField$
|
|
3685
|
-
__publicField$
|
|
3696
|
+
__publicField$B(this, "cashOnDeliveryOption");
|
|
3697
|
+
__publicField$B(this, "paidInAdvanceOption");
|
|
3698
|
+
__publicField$B(this, "invoiceOption");
|
|
3699
|
+
__publicField$B(this, "changeDefaultPaymentButton");
|
|
3686
3700
|
this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
|
|
3687
3701
|
this.paidInAdvanceOption = page.getByLabel("Paid in advance");
|
|
3688
3702
|
this.invoiceOption = page.getByLabel("Invoice");
|
|
@@ -3693,17 +3707,17 @@ class AccountPayment {
|
|
|
3693
3707
|
}
|
|
3694
3708
|
}
|
|
3695
3709
|
|
|
3696
|
-
var __defProp$
|
|
3697
|
-
var __defNormalProp$
|
|
3698
|
-
var __publicField$
|
|
3699
|
-
__defNormalProp$
|
|
3710
|
+
var __defProp$A = Object.defineProperty;
|
|
3711
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3712
|
+
var __publicField$A = (obj, key, value) => {
|
|
3713
|
+
__defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3700
3714
|
return value;
|
|
3701
3715
|
};
|
|
3702
3716
|
class Search {
|
|
3703
3717
|
constructor(page) {
|
|
3704
3718
|
this.page = page;
|
|
3705
|
-
__publicField$
|
|
3706
|
-
__publicField$
|
|
3719
|
+
__publicField$A(this, "headline");
|
|
3720
|
+
__publicField$A(this, "productImages");
|
|
3707
3721
|
this.headline = page.locator("h1.search-headline");
|
|
3708
3722
|
this.productImages = page.locator(".product-image-wrapper");
|
|
3709
3723
|
}
|
|
@@ -3712,16 +3726,16 @@ class Search {
|
|
|
3712
3726
|
}
|
|
3713
3727
|
}
|
|
3714
3728
|
|
|
3715
|
-
var __defProp$
|
|
3716
|
-
var __defNormalProp$
|
|
3717
|
-
var __publicField$
|
|
3718
|
-
__defNormalProp$
|
|
3729
|
+
var __defProp$z = Object.defineProperty;
|
|
3730
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3731
|
+
var __publicField$z = (obj, key, value) => {
|
|
3732
|
+
__defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3719
3733
|
return value;
|
|
3720
3734
|
};
|
|
3721
3735
|
class SearchSuggest {
|
|
3722
3736
|
constructor(page) {
|
|
3723
3737
|
this.page = page;
|
|
3724
|
-
__publicField$
|
|
3738
|
+
__publicField$z(this, "searchSuggestLineItemImages");
|
|
3725
3739
|
this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
|
|
3726
3740
|
}
|
|
3727
3741
|
url(searchTerm) {
|
|
@@ -3739,31 +3753,31 @@ class CustomRegister extends AccountLogin {
|
|
|
3739
3753
|
}
|
|
3740
3754
|
}
|
|
3741
3755
|
|
|
3742
|
-
var __defProp$
|
|
3743
|
-
var __defNormalProp$
|
|
3744
|
-
var __publicField$
|
|
3745
|
-
__defNormalProp$
|
|
3756
|
+
var __defProp$y = Object.defineProperty;
|
|
3757
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3758
|
+
var __publicField$y = (obj, key, value) => {
|
|
3759
|
+
__defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3746
3760
|
return value;
|
|
3747
3761
|
};
|
|
3748
3762
|
class CheckoutOrderEdit {
|
|
3749
3763
|
constructor(page) {
|
|
3750
3764
|
this.page = page;
|
|
3751
|
-
__publicField$
|
|
3752
|
-
__publicField$
|
|
3753
|
-
__publicField$
|
|
3754
|
-
__publicField$
|
|
3755
|
-
__publicField$
|
|
3765
|
+
__publicField$y(this, "completePaymentButton");
|
|
3766
|
+
__publicField$y(this, "orderCancelButton");
|
|
3767
|
+
__publicField$y(this, "dialogOrderCancel");
|
|
3768
|
+
__publicField$y(this, "dialogOrderCancelButton");
|
|
3769
|
+
__publicField$y(this, "dialogBackButton");
|
|
3756
3770
|
/**
|
|
3757
3771
|
* Payment options
|
|
3758
3772
|
*/
|
|
3759
|
-
__publicField$
|
|
3760
|
-
__publicField$
|
|
3761
|
-
__publicField$
|
|
3773
|
+
__publicField$y(this, "paymentCashOnDelivery");
|
|
3774
|
+
__publicField$y(this, "paymentPaidInAdvance");
|
|
3775
|
+
__publicField$y(this, "paymentInvoice");
|
|
3762
3776
|
/**
|
|
3763
3777
|
* Shipping options
|
|
3764
3778
|
*/
|
|
3765
|
-
__publicField$
|
|
3766
|
-
__publicField$
|
|
3779
|
+
__publicField$y(this, "shippingStandard");
|
|
3780
|
+
__publicField$y(this, "shippingExpress");
|
|
3767
3781
|
this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
|
|
3768
3782
|
this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
|
|
3769
3783
|
this.dialogOrderCancel = page.getByRole("dialog", { name: "Cancel order" });
|
|
@@ -3780,6 +3794,41 @@ class CheckoutOrderEdit {
|
|
|
3780
3794
|
}
|
|
3781
3795
|
}
|
|
3782
3796
|
|
|
3797
|
+
var __defProp$x = Object.defineProperty;
|
|
3798
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3799
|
+
var __publicField$x = (obj, key, value) => {
|
|
3800
|
+
__defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3801
|
+
return value;
|
|
3802
|
+
};
|
|
3803
|
+
class AccountAddressCreate {
|
|
3804
|
+
constructor(page) {
|
|
3805
|
+
this.page = page;
|
|
3806
|
+
__publicField$x(this, "salutationDropdown");
|
|
3807
|
+
__publicField$x(this, "firstNameInput");
|
|
3808
|
+
__publicField$x(this, "lastNameInput");
|
|
3809
|
+
__publicField$x(this, "companyInput");
|
|
3810
|
+
__publicField$x(this, "departmentInput");
|
|
3811
|
+
__publicField$x(this, "streetInput");
|
|
3812
|
+
__publicField$x(this, "zipcodeInput");
|
|
3813
|
+
__publicField$x(this, "cityInput");
|
|
3814
|
+
__publicField$x(this, "countryDropdown");
|
|
3815
|
+
__publicField$x(this, "saveAddressButton");
|
|
3816
|
+
this.salutationDropdown = page.locator("#addresspersonalSalutation");
|
|
3817
|
+
this.firstNameInput = page.locator("#addresspersonalFirstName");
|
|
3818
|
+
this.lastNameInput = page.locator("#addresspersonalLastName");
|
|
3819
|
+
this.companyInput = page.locator("#addresscompany");
|
|
3820
|
+
this.departmentInput = page.locator("#addressdepartment");
|
|
3821
|
+
this.streetInput = page.locator("#addressAddressStreet");
|
|
3822
|
+
this.zipcodeInput = page.locator("#addressAddressZipcode");
|
|
3823
|
+
this.cityInput = page.locator("#addressAddressCity");
|
|
3824
|
+
this.countryDropdown = page.locator("#addressAddressCountry");
|
|
3825
|
+
this.saveAddressButton = page.locator(".address-form-submit");
|
|
3826
|
+
}
|
|
3827
|
+
url() {
|
|
3828
|
+
return "account/address/create";
|
|
3829
|
+
}
|
|
3830
|
+
}
|
|
3831
|
+
|
|
3783
3832
|
const StorefrontPageObjects = {
|
|
3784
3833
|
Home,
|
|
3785
3834
|
ProductDetail: ProductDetail$1,
|
|
@@ -3795,6 +3844,7 @@ const StorefrontPageObjects = {
|
|
|
3795
3844
|
AccountProfile,
|
|
3796
3845
|
AccountOrder,
|
|
3797
3846
|
AccountAddresses,
|
|
3847
|
+
AccountAddressCreate,
|
|
3798
3848
|
AccountPayment,
|
|
3799
3849
|
Search,
|
|
3800
3850
|
SearchSuggest,
|
|
@@ -3835,8 +3885,8 @@ const test$6 = test$e.extend({
|
|
|
3835
3885
|
StorefrontAccountRecover: async ({ StorefrontPage }, use) => {
|
|
3836
3886
|
await use(new AccountRecover(StorefrontPage));
|
|
3837
3887
|
},
|
|
3838
|
-
StorefrontAccountProfile: async ({ StorefrontPage }, use) => {
|
|
3839
|
-
await use(new AccountProfile(StorefrontPage));
|
|
3888
|
+
StorefrontAccountProfile: async ({ StorefrontPage, InstanceMeta }, use) => {
|
|
3889
|
+
await use(new AccountProfile(StorefrontPage, InstanceMeta));
|
|
3840
3890
|
},
|
|
3841
3891
|
StorefrontAccountOrder: async ({ StorefrontPage }, use) => {
|
|
3842
3892
|
await use(new AccountOrder(StorefrontPage));
|
|
@@ -3844,6 +3894,9 @@ const test$6 = test$e.extend({
|
|
|
3844
3894
|
StorefrontAccountAddresses: async ({ StorefrontPage }, use) => {
|
|
3845
3895
|
await use(new AccountAddresses(StorefrontPage));
|
|
3846
3896
|
},
|
|
3897
|
+
StorefrontAccountAddressCreate: async ({ StorefrontPage }, use) => {
|
|
3898
|
+
await use(new AccountAddressCreate(StorefrontPage));
|
|
3899
|
+
},
|
|
3847
3900
|
StorefrontAccountPayment: async ({ StorefrontPage }, use) => {
|
|
3848
3901
|
await use(new AccountPayment(StorefrontPage));
|
|
3849
3902
|
},
|
|
@@ -4190,9 +4243,8 @@ var __publicField$r = (obj, key, value) => {
|
|
|
4190
4243
|
return value;
|
|
4191
4244
|
};
|
|
4192
4245
|
class CustomerGroupCreate {
|
|
4193
|
-
constructor(page
|
|
4246
|
+
constructor(page) {
|
|
4194
4247
|
this.page = page;
|
|
4195
|
-
this.instanceMeta = instanceMeta;
|
|
4196
4248
|
__publicField$r(this, "headline");
|
|
4197
4249
|
__publicField$r(this, "saveButton");
|
|
4198
4250
|
__publicField$r(this, "cancelButton");
|
|
@@ -4216,11 +4268,7 @@ class CustomerGroupCreate {
|
|
|
4216
4268
|
this.customerGroupNetTaxDisplay = page.locator("#sw-field--castedValue-1");
|
|
4217
4269
|
this.customSignupFormToggle = page.getByLabel("Custom signup form");
|
|
4218
4270
|
this.signupFormTitle = page.locator("#sw-field--customerGroup-registrationTitle");
|
|
4219
|
-
|
|
4220
|
-
this.signupFormIntroduction = page.locator(".sw-text-editor__content-editor");
|
|
4221
|
-
} else {
|
|
4222
|
-
this.signupFormIntroduction = page.locator(".mt-text-editor__content-editor");
|
|
4223
|
-
}
|
|
4271
|
+
this.signupFormIntroduction = page.locator(".sw-text-editor__content-editor");
|
|
4224
4272
|
this.signupFormSeoDescription = page.locator("#sw-field--customerGroup-registrationSeoMetaDescription");
|
|
4225
4273
|
this.signupFormCompanySignupToggle = page.getByLabel("Company signup form");
|
|
4226
4274
|
this.customerGroupSaleschannelSelection = page.locator("input[class=sw-select-selection-list__input]");
|
|
@@ -4238,10 +4286,9 @@ var __publicField$q = (obj, key, value) => {
|
|
|
4238
4286
|
return value;
|
|
4239
4287
|
};
|
|
4240
4288
|
class CustomerGroupDetail extends CustomerGroupCreate {
|
|
4241
|
-
constructor(page
|
|
4242
|
-
super(page
|
|
4289
|
+
constructor(page) {
|
|
4290
|
+
super(page);
|
|
4243
4291
|
this.page = page;
|
|
4244
|
-
this.instanceMeta = instanceMeta;
|
|
4245
4292
|
__publicField$q(this, "headline");
|
|
4246
4293
|
__publicField$q(this, "selectedSalesChannel");
|
|
4247
4294
|
__publicField$q(this, "technicalUrl");
|
|
@@ -5493,11 +5540,11 @@ const test$5 = test$e.extend({
|
|
|
5493
5540
|
AdminCustomerGroupListing: async ({ AdminPage }, use) => {
|
|
5494
5541
|
await use(new CustomerGroupListing(AdminPage));
|
|
5495
5542
|
},
|
|
5496
|
-
AdminCustomerGroupCreate: async ({ AdminPage
|
|
5497
|
-
await use(new CustomerGroupCreate(AdminPage
|
|
5543
|
+
AdminCustomerGroupCreate: async ({ AdminPage }, use) => {
|
|
5544
|
+
await use(new CustomerGroupCreate(AdminPage));
|
|
5498
5545
|
},
|
|
5499
|
-
AdminCustomerGroupDetail: async ({ AdminPage
|
|
5500
|
-
await use(new CustomerGroupDetail(AdminPage
|
|
5546
|
+
AdminCustomerGroupDetail: async ({ AdminPage }, use) => {
|
|
5547
|
+
await use(new CustomerGroupDetail(AdminPage));
|
|
5501
5548
|
},
|
|
5502
5549
|
AdminFirstRunWizard: async ({ AdminPage, InstanceMeta }, use) => {
|
|
5503
5550
|
await use(new FirstRunWizard(AdminPage, InstanceMeta));
|