@shopware-ag/acceptance-test-suite 11.4.3 → 11.6.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 +83 -3
- package/dist/index.d.ts +83 -3
- package/dist/index.mjs +501 -318
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -211,6 +211,9 @@ interface Price {
|
|
|
211
211
|
linked: boolean;
|
|
212
212
|
currencyId: string;
|
|
213
213
|
}
|
|
214
|
+
interface VariantListingConfig {
|
|
215
|
+
displayParent: boolean;
|
|
216
|
+
}
|
|
214
217
|
interface ProductPrice {
|
|
215
218
|
productId?: string;
|
|
216
219
|
ruleId: string;
|
|
@@ -218,7 +221,7 @@ interface ProductPrice {
|
|
|
218
221
|
quantityStart: number;
|
|
219
222
|
quantityEnd: number | null;
|
|
220
223
|
}
|
|
221
|
-
type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'options' | 'tags' | 'visibilities'> & {
|
|
224
|
+
type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'options' | 'tags' | 'visibilities' | 'variantListingConfig'> & {
|
|
222
225
|
id: string;
|
|
223
226
|
price: Price[];
|
|
224
227
|
prices?: ProductPrice[];
|
|
@@ -228,6 +231,7 @@ type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'opti
|
|
|
228
231
|
options?: Record<string, string>[];
|
|
229
232
|
tags?: Record<string, string>[];
|
|
230
233
|
visibilities?: Record<string, unknown>[];
|
|
234
|
+
variantListingConfig?: VariantListingConfig;
|
|
231
235
|
};
|
|
232
236
|
type OrderDelivery = Omit<components['schemas']['OrderDelivery'], 'shippingOrderAddress' | 'shippingCosts'> & {
|
|
233
237
|
id: string;
|
|
@@ -267,6 +271,9 @@ type Country = components['schemas']['Country'] & {
|
|
|
267
271
|
type SystemConfig = components['schemas']['SystemConfig'] & {
|
|
268
272
|
id: string;
|
|
269
273
|
};
|
|
274
|
+
type ProductCrossSelling = components['schemas']['ProductCrossSelling'] & {
|
|
275
|
+
id: string;
|
|
276
|
+
};
|
|
270
277
|
interface CalculatedTaxes {
|
|
271
278
|
tax: number;
|
|
272
279
|
taxRate: number;
|
|
@@ -494,6 +501,13 @@ declare class TestDataService {
|
|
|
494
501
|
* @param currencyId - The uuid of the currency to use for the product pricing.
|
|
495
502
|
*/
|
|
496
503
|
createBasicProduct(overrides?: Partial<Product>, taxId?: string, currencyId?: string): Promise<Product>;
|
|
504
|
+
/**
|
|
505
|
+
* Creates a basic product cross-selling entity without products.
|
|
506
|
+
*
|
|
507
|
+
* @param productId - The uuid of the product to which the pproduct cross-selling should be assigned.
|
|
508
|
+
* @param overrides - Specific data overrides that will be applied to the property group data struct.
|
|
509
|
+
*/
|
|
510
|
+
createProductCrossSelling(productId: string, overrides?: Partial<ProductCrossSelling>): Promise<ProductCrossSelling>;
|
|
497
511
|
/**
|
|
498
512
|
* Creates a basic product with one randomly generated image.
|
|
499
513
|
* The product will be added to the default sales channel category if configured.
|
|
@@ -789,6 +803,13 @@ declare class TestDataService {
|
|
|
789
803
|
* @param languageId - The uuid of the language.
|
|
790
804
|
*/
|
|
791
805
|
assignSalesChannelLanguage(salesChannelId: string, languageId: string): Promise<any>;
|
|
806
|
+
/**
|
|
807
|
+
* Assigns a payment method to a sales channel.
|
|
808
|
+
*
|
|
809
|
+
* @param salesChannelId - The uuid of the sales channel.
|
|
810
|
+
* @param paymentMethodId - The uuid of the currency.
|
|
811
|
+
*/
|
|
812
|
+
assignSalesChannelPaymentMethod(salesChannelId: string, paymentMethodId: string): Promise<any>;
|
|
792
813
|
/**
|
|
793
814
|
* Assigns a media resource to a payment method as a logo.
|
|
794
815
|
*
|
|
@@ -1053,6 +1074,7 @@ declare class TestDataService {
|
|
|
1053
1074
|
getBasicCustomFieldStruct(overrides?: Partial<CustomField>): Partial<CustomField>;
|
|
1054
1075
|
getSalesChannelDomainStruct(salesChannelId: string, currencyId: string, languageId: string, snippetSetId: string, overrides?: Partial<SalesChannelDomain>): Partial<SalesChannelDomain>;
|
|
1055
1076
|
getTaxStruct(overrides: Partial<Tax>): Partial<Tax>;
|
|
1077
|
+
getBasicCrossSellingStruct(productId: string, overrides?: Partial<ProductCrossSelling>): never;
|
|
1056
1078
|
}
|
|
1057
1079
|
|
|
1058
1080
|
interface TestDataFixtureTypes {
|
|
@@ -1132,6 +1154,8 @@ declare class Home implements PageObject {
|
|
|
1132
1154
|
readonly consentDialogSaveButton: Locator;
|
|
1133
1155
|
readonly consentCookieBannerContainer: Locator;
|
|
1134
1156
|
readonly offcanvasBackdrop: Locator;
|
|
1157
|
+
readonly mainNavigationLink: Locator;
|
|
1158
|
+
readonly contactFormLink: Locator;
|
|
1135
1159
|
constructor(page: Page);
|
|
1136
1160
|
getMenuItemByCategoryName(categoryName: string): Promise<Record<string, Locator>>;
|
|
1137
1161
|
getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
|
|
@@ -1145,6 +1169,9 @@ declare class ProductDetail$1 implements PageObject {
|
|
|
1145
1169
|
readonly productSingleImage: Locator;
|
|
1146
1170
|
readonly productSinglePrice: Locator;
|
|
1147
1171
|
readonly productPriceRangesRow: Locator;
|
|
1172
|
+
readonly productListingPriceBadge: Locator;
|
|
1173
|
+
readonly productListingPrice: Locator;
|
|
1174
|
+
readonly productListingPricePercentage: Locator;
|
|
1148
1175
|
readonly offCanvasCartTitle: Locator;
|
|
1149
1176
|
readonly offCanvasCart: Locator;
|
|
1150
1177
|
readonly offCanvasCartGoToCheckoutButton: Locator;
|
|
@@ -1287,6 +1314,11 @@ declare class AccountLogin implements PageObject {
|
|
|
1287
1314
|
readonly countryInput: Locator;
|
|
1288
1315
|
readonly postalCodeInput: Locator;
|
|
1289
1316
|
readonly registerButton: Locator;
|
|
1317
|
+
readonly greCaptchaV2Container: Locator;
|
|
1318
|
+
readonly greCaptchaV2Input: Locator;
|
|
1319
|
+
readonly greCaptchaV3Input: Locator;
|
|
1320
|
+
readonly greCaptchaProtectionInformation: Locator;
|
|
1321
|
+
readonly greCaptchaBadge: Locator;
|
|
1290
1322
|
constructor(page: Page);
|
|
1291
1323
|
url(): string;
|
|
1292
1324
|
}
|
|
@@ -1345,7 +1377,6 @@ declare class AccountOrder implements PageObject {
|
|
|
1345
1377
|
readonly dialogBackButton: Locator;
|
|
1346
1378
|
constructor(page: Page);
|
|
1347
1379
|
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
1348
|
-
getViewSubscriptionLink: (orderNumber: string) => Locator;
|
|
1349
1380
|
url(): string;
|
|
1350
1381
|
}
|
|
1351
1382
|
|
|
@@ -1420,6 +1451,12 @@ declare class CheckoutOrderEdit implements PageObject {
|
|
|
1420
1451
|
readonly shippingExpress: Locator;
|
|
1421
1452
|
constructor(page: Page);
|
|
1422
1453
|
url(orderUuid: string): string;
|
|
1454
|
+
/**
|
|
1455
|
+
* Returns the radio button element for a specified payment method.
|
|
1456
|
+
*
|
|
1457
|
+
* @param paymentMethodName - Name of the payment method on the page.
|
|
1458
|
+
*/
|
|
1459
|
+
getPaymentMethodButton(paymentMethodName: string): Locator;
|
|
1423
1460
|
}
|
|
1424
1461
|
|
|
1425
1462
|
declare class AccountAddressCreate implements PageObject {
|
|
@@ -1438,6 +1475,45 @@ declare class AccountAddressCreate implements PageObject {
|
|
|
1438
1475
|
url(): string;
|
|
1439
1476
|
}
|
|
1440
1477
|
|
|
1478
|
+
declare class PageNotFound implements PageObject {
|
|
1479
|
+
readonly page: Page;
|
|
1480
|
+
readonly pageNotFoundImage: Locator;
|
|
1481
|
+
readonly headline: Locator;
|
|
1482
|
+
readonly pageNotFoundMessage: Locator;
|
|
1483
|
+
readonly backToShopButton: Locator;
|
|
1484
|
+
constructor(page: Page);
|
|
1485
|
+
url(): string;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
declare class ContactForm extends Home implements PageObject {
|
|
1489
|
+
readonly page: Page;
|
|
1490
|
+
readonly contactModal: Locator;
|
|
1491
|
+
readonly contactSuccessModal: Locator;
|
|
1492
|
+
readonly salutationSelect: Locator;
|
|
1493
|
+
readonly firstNameInput: Locator;
|
|
1494
|
+
readonly lastNameInput: Locator;
|
|
1495
|
+
readonly emailInput: Locator;
|
|
1496
|
+
readonly phoneInput: Locator;
|
|
1497
|
+
readonly subjectInput: Locator;
|
|
1498
|
+
readonly commentInput: Locator;
|
|
1499
|
+
readonly privacyPolicyCheckbox: Locator;
|
|
1500
|
+
readonly submitButton: Locator;
|
|
1501
|
+
readonly contactSuccessMessage: Locator;
|
|
1502
|
+
readonly cardTitle: Locator;
|
|
1503
|
+
/**
|
|
1504
|
+
* Captcha locators
|
|
1505
|
+
*/
|
|
1506
|
+
readonly basicCaptcha: Locator;
|
|
1507
|
+
readonly basicCaptchaImage: Locator;
|
|
1508
|
+
readonly basicCaptchaRefreshButton: Locator;
|
|
1509
|
+
readonly basicCaptchaInput: Locator;
|
|
1510
|
+
readonly greCaptchaV2Container: Locator;
|
|
1511
|
+
readonly greCaptchaV2Input: Locator;
|
|
1512
|
+
readonly greCaptchaProtectionInformation: Locator;
|
|
1513
|
+
constructor(page: Page);
|
|
1514
|
+
url(): string;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1441
1517
|
interface StorefrontPageTypes {
|
|
1442
1518
|
StorefrontHome: Home;
|
|
1443
1519
|
StorefrontProductDetail: ProductDetail$1;
|
|
@@ -1459,6 +1535,8 @@ interface StorefrontPageTypes {
|
|
|
1459
1535
|
StorefrontSearchSuggest: SearchSuggest;
|
|
1460
1536
|
StorefrontCustomRegister: CustomRegister;
|
|
1461
1537
|
StorefrontCheckoutOrderEdit: CheckoutOrderEdit;
|
|
1538
|
+
StorefrontPageNotFound: PageNotFound;
|
|
1539
|
+
StorefrontContactForm: ContactForm;
|
|
1462
1540
|
}
|
|
1463
1541
|
declare const StorefrontPageObjects: {
|
|
1464
1542
|
Home: typeof Home;
|
|
@@ -1481,6 +1559,8 @@ declare const StorefrontPageObjects: {
|
|
|
1481
1559
|
SearchSuggest: typeof SearchSuggest;
|
|
1482
1560
|
CustomRegister: typeof CustomRegister;
|
|
1483
1561
|
CheckoutOrderEdit: typeof CheckoutOrderEdit;
|
|
1562
|
+
PageNotFound: typeof PageNotFound;
|
|
1563
|
+
ContactForm: typeof ContactForm;
|
|
1484
1564
|
};
|
|
1485
1565
|
|
|
1486
1566
|
declare class ProductDetail implements PageObject {
|
|
@@ -2351,4 +2431,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2351
2431
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
2352
2432
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
2353
2433
|
|
|
2354
|
-
export { type AccountData, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type Tax, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|
|
2434
|
+
export { type AccountData, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductCrossSelling, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type Tax, type TaxRules, TestDataService, type VariantListingConfig, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|
package/dist/index.d.ts
CHANGED
|
@@ -211,6 +211,9 @@ interface Price {
|
|
|
211
211
|
linked: boolean;
|
|
212
212
|
currencyId: string;
|
|
213
213
|
}
|
|
214
|
+
interface VariantListingConfig {
|
|
215
|
+
displayParent: boolean;
|
|
216
|
+
}
|
|
214
217
|
interface ProductPrice {
|
|
215
218
|
productId?: string;
|
|
216
219
|
ruleId: string;
|
|
@@ -218,7 +221,7 @@ interface ProductPrice {
|
|
|
218
221
|
quantityStart: number;
|
|
219
222
|
quantityEnd: number | null;
|
|
220
223
|
}
|
|
221
|
-
type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'options' | 'tags' | 'visibilities'> & {
|
|
224
|
+
type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'options' | 'tags' | 'visibilities' | 'variantListingConfig'> & {
|
|
222
225
|
id: string;
|
|
223
226
|
price: Price[];
|
|
224
227
|
prices?: ProductPrice[];
|
|
@@ -228,6 +231,7 @@ type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'opti
|
|
|
228
231
|
options?: Record<string, string>[];
|
|
229
232
|
tags?: Record<string, string>[];
|
|
230
233
|
visibilities?: Record<string, unknown>[];
|
|
234
|
+
variantListingConfig?: VariantListingConfig;
|
|
231
235
|
};
|
|
232
236
|
type OrderDelivery = Omit<components['schemas']['OrderDelivery'], 'shippingOrderAddress' | 'shippingCosts'> & {
|
|
233
237
|
id: string;
|
|
@@ -267,6 +271,9 @@ type Country = components['schemas']['Country'] & {
|
|
|
267
271
|
type SystemConfig = components['schemas']['SystemConfig'] & {
|
|
268
272
|
id: string;
|
|
269
273
|
};
|
|
274
|
+
type ProductCrossSelling = components['schemas']['ProductCrossSelling'] & {
|
|
275
|
+
id: string;
|
|
276
|
+
};
|
|
270
277
|
interface CalculatedTaxes {
|
|
271
278
|
tax: number;
|
|
272
279
|
taxRate: number;
|
|
@@ -494,6 +501,13 @@ declare class TestDataService {
|
|
|
494
501
|
* @param currencyId - The uuid of the currency to use for the product pricing.
|
|
495
502
|
*/
|
|
496
503
|
createBasicProduct(overrides?: Partial<Product>, taxId?: string, currencyId?: string): Promise<Product>;
|
|
504
|
+
/**
|
|
505
|
+
* Creates a basic product cross-selling entity without products.
|
|
506
|
+
*
|
|
507
|
+
* @param productId - The uuid of the product to which the pproduct cross-selling should be assigned.
|
|
508
|
+
* @param overrides - Specific data overrides that will be applied to the property group data struct.
|
|
509
|
+
*/
|
|
510
|
+
createProductCrossSelling(productId: string, overrides?: Partial<ProductCrossSelling>): Promise<ProductCrossSelling>;
|
|
497
511
|
/**
|
|
498
512
|
* Creates a basic product with one randomly generated image.
|
|
499
513
|
* The product will be added to the default sales channel category if configured.
|
|
@@ -789,6 +803,13 @@ declare class TestDataService {
|
|
|
789
803
|
* @param languageId - The uuid of the language.
|
|
790
804
|
*/
|
|
791
805
|
assignSalesChannelLanguage(salesChannelId: string, languageId: string): Promise<any>;
|
|
806
|
+
/**
|
|
807
|
+
* Assigns a payment method to a sales channel.
|
|
808
|
+
*
|
|
809
|
+
* @param salesChannelId - The uuid of the sales channel.
|
|
810
|
+
* @param paymentMethodId - The uuid of the currency.
|
|
811
|
+
*/
|
|
812
|
+
assignSalesChannelPaymentMethod(salesChannelId: string, paymentMethodId: string): Promise<any>;
|
|
792
813
|
/**
|
|
793
814
|
* Assigns a media resource to a payment method as a logo.
|
|
794
815
|
*
|
|
@@ -1053,6 +1074,7 @@ declare class TestDataService {
|
|
|
1053
1074
|
getBasicCustomFieldStruct(overrides?: Partial<CustomField>): Partial<CustomField>;
|
|
1054
1075
|
getSalesChannelDomainStruct(salesChannelId: string, currencyId: string, languageId: string, snippetSetId: string, overrides?: Partial<SalesChannelDomain>): Partial<SalesChannelDomain>;
|
|
1055
1076
|
getTaxStruct(overrides: Partial<Tax>): Partial<Tax>;
|
|
1077
|
+
getBasicCrossSellingStruct(productId: string, overrides?: Partial<ProductCrossSelling>): never;
|
|
1056
1078
|
}
|
|
1057
1079
|
|
|
1058
1080
|
interface TestDataFixtureTypes {
|
|
@@ -1132,6 +1154,8 @@ declare class Home implements PageObject {
|
|
|
1132
1154
|
readonly consentDialogSaveButton: Locator;
|
|
1133
1155
|
readonly consentCookieBannerContainer: Locator;
|
|
1134
1156
|
readonly offcanvasBackdrop: Locator;
|
|
1157
|
+
readonly mainNavigationLink: Locator;
|
|
1158
|
+
readonly contactFormLink: Locator;
|
|
1135
1159
|
constructor(page: Page);
|
|
1136
1160
|
getMenuItemByCategoryName(categoryName: string): Promise<Record<string, Locator>>;
|
|
1137
1161
|
getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
|
|
@@ -1145,6 +1169,9 @@ declare class ProductDetail$1 implements PageObject {
|
|
|
1145
1169
|
readonly productSingleImage: Locator;
|
|
1146
1170
|
readonly productSinglePrice: Locator;
|
|
1147
1171
|
readonly productPriceRangesRow: Locator;
|
|
1172
|
+
readonly productListingPriceBadge: Locator;
|
|
1173
|
+
readonly productListingPrice: Locator;
|
|
1174
|
+
readonly productListingPricePercentage: Locator;
|
|
1148
1175
|
readonly offCanvasCartTitle: Locator;
|
|
1149
1176
|
readonly offCanvasCart: Locator;
|
|
1150
1177
|
readonly offCanvasCartGoToCheckoutButton: Locator;
|
|
@@ -1287,6 +1314,11 @@ declare class AccountLogin implements PageObject {
|
|
|
1287
1314
|
readonly countryInput: Locator;
|
|
1288
1315
|
readonly postalCodeInput: Locator;
|
|
1289
1316
|
readonly registerButton: Locator;
|
|
1317
|
+
readonly greCaptchaV2Container: Locator;
|
|
1318
|
+
readonly greCaptchaV2Input: Locator;
|
|
1319
|
+
readonly greCaptchaV3Input: Locator;
|
|
1320
|
+
readonly greCaptchaProtectionInformation: Locator;
|
|
1321
|
+
readonly greCaptchaBadge: Locator;
|
|
1290
1322
|
constructor(page: Page);
|
|
1291
1323
|
url(): string;
|
|
1292
1324
|
}
|
|
@@ -1345,7 +1377,6 @@ declare class AccountOrder implements PageObject {
|
|
|
1345
1377
|
readonly dialogBackButton: Locator;
|
|
1346
1378
|
constructor(page: Page);
|
|
1347
1379
|
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
1348
|
-
getViewSubscriptionLink: (orderNumber: string) => Locator;
|
|
1349
1380
|
url(): string;
|
|
1350
1381
|
}
|
|
1351
1382
|
|
|
@@ -1420,6 +1451,12 @@ declare class CheckoutOrderEdit implements PageObject {
|
|
|
1420
1451
|
readonly shippingExpress: Locator;
|
|
1421
1452
|
constructor(page: Page);
|
|
1422
1453
|
url(orderUuid: string): string;
|
|
1454
|
+
/**
|
|
1455
|
+
* Returns the radio button element for a specified payment method.
|
|
1456
|
+
*
|
|
1457
|
+
* @param paymentMethodName - Name of the payment method on the page.
|
|
1458
|
+
*/
|
|
1459
|
+
getPaymentMethodButton(paymentMethodName: string): Locator;
|
|
1423
1460
|
}
|
|
1424
1461
|
|
|
1425
1462
|
declare class AccountAddressCreate implements PageObject {
|
|
@@ -1438,6 +1475,45 @@ declare class AccountAddressCreate implements PageObject {
|
|
|
1438
1475
|
url(): string;
|
|
1439
1476
|
}
|
|
1440
1477
|
|
|
1478
|
+
declare class PageNotFound implements PageObject {
|
|
1479
|
+
readonly page: Page;
|
|
1480
|
+
readonly pageNotFoundImage: Locator;
|
|
1481
|
+
readonly headline: Locator;
|
|
1482
|
+
readonly pageNotFoundMessage: Locator;
|
|
1483
|
+
readonly backToShopButton: Locator;
|
|
1484
|
+
constructor(page: Page);
|
|
1485
|
+
url(): string;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
declare class ContactForm extends Home implements PageObject {
|
|
1489
|
+
readonly page: Page;
|
|
1490
|
+
readonly contactModal: Locator;
|
|
1491
|
+
readonly contactSuccessModal: Locator;
|
|
1492
|
+
readonly salutationSelect: Locator;
|
|
1493
|
+
readonly firstNameInput: Locator;
|
|
1494
|
+
readonly lastNameInput: Locator;
|
|
1495
|
+
readonly emailInput: Locator;
|
|
1496
|
+
readonly phoneInput: Locator;
|
|
1497
|
+
readonly subjectInput: Locator;
|
|
1498
|
+
readonly commentInput: Locator;
|
|
1499
|
+
readonly privacyPolicyCheckbox: Locator;
|
|
1500
|
+
readonly submitButton: Locator;
|
|
1501
|
+
readonly contactSuccessMessage: Locator;
|
|
1502
|
+
readonly cardTitle: Locator;
|
|
1503
|
+
/**
|
|
1504
|
+
* Captcha locators
|
|
1505
|
+
*/
|
|
1506
|
+
readonly basicCaptcha: Locator;
|
|
1507
|
+
readonly basicCaptchaImage: Locator;
|
|
1508
|
+
readonly basicCaptchaRefreshButton: Locator;
|
|
1509
|
+
readonly basicCaptchaInput: Locator;
|
|
1510
|
+
readonly greCaptchaV2Container: Locator;
|
|
1511
|
+
readonly greCaptchaV2Input: Locator;
|
|
1512
|
+
readonly greCaptchaProtectionInformation: Locator;
|
|
1513
|
+
constructor(page: Page);
|
|
1514
|
+
url(): string;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1441
1517
|
interface StorefrontPageTypes {
|
|
1442
1518
|
StorefrontHome: Home;
|
|
1443
1519
|
StorefrontProductDetail: ProductDetail$1;
|
|
@@ -1459,6 +1535,8 @@ interface StorefrontPageTypes {
|
|
|
1459
1535
|
StorefrontSearchSuggest: SearchSuggest;
|
|
1460
1536
|
StorefrontCustomRegister: CustomRegister;
|
|
1461
1537
|
StorefrontCheckoutOrderEdit: CheckoutOrderEdit;
|
|
1538
|
+
StorefrontPageNotFound: PageNotFound;
|
|
1539
|
+
StorefrontContactForm: ContactForm;
|
|
1462
1540
|
}
|
|
1463
1541
|
declare const StorefrontPageObjects: {
|
|
1464
1542
|
Home: typeof Home;
|
|
@@ -1481,6 +1559,8 @@ declare const StorefrontPageObjects: {
|
|
|
1481
1559
|
SearchSuggest: typeof SearchSuggest;
|
|
1482
1560
|
CustomRegister: typeof CustomRegister;
|
|
1483
1561
|
CheckoutOrderEdit: typeof CheckoutOrderEdit;
|
|
1562
|
+
PageNotFound: typeof PageNotFound;
|
|
1563
|
+
ContactForm: typeof ContactForm;
|
|
1484
1564
|
};
|
|
1485
1565
|
|
|
1486
1566
|
declare class ProductDetail implements PageObject {
|
|
@@ -2351,4 +2431,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2351
2431
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
2352
2432
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
2353
2433
|
|
|
2354
|
-
export { type AccountData, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type Tax, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|
|
2434
|
+
export { type AccountData, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductCrossSelling, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type Tax, type TaxRules, TestDataService, type VariantListingConfig, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|