@shopware-ag/acceptance-test-suite 4.0.0 → 5.0.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 +14 -3
- package/dist/index.d.ts +14 -3
- package/dist/index.mjs +440 -414
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -488,7 +488,7 @@ declare class TestDataService {
|
|
|
488
488
|
*
|
|
489
489
|
* @param overrides - Specific data overrides that will be applied to the payment method data struct.
|
|
490
490
|
*/
|
|
491
|
-
createBasicRule(overrides?: Partial<Rule
|
|
491
|
+
createBasicRule(overrides?: Partial<Rule>, conditionType?: string, operator?: string, amount?: number): Promise<Rule>;
|
|
492
492
|
/**
|
|
493
493
|
* Creates a new basic page layout.
|
|
494
494
|
*
|
|
@@ -681,7 +681,7 @@ declare class TestDataService {
|
|
|
681
681
|
*/
|
|
682
682
|
convertDateTime(date: Date): string;
|
|
683
683
|
getBasicProductStruct(taxId?: string, currencyId?: string, overrides?: Partial<Product>): Partial<Product>;
|
|
684
|
-
getBasicRuleStruct(overrides
|
|
684
|
+
getBasicRuleStruct(overrides: Partial<Rule> | undefined, conditionType: string, operator: string, amount: number): Partial<Rule>;
|
|
685
685
|
getProductPriceRangeStruct(currencyId: string, ruleId: string): Partial<Product>;
|
|
686
686
|
getBasicManufacturerStruct(overrides?: Partial<Manufacturer>): Partial<Manufacturer>;
|
|
687
687
|
getBasicPaymentMethodStruct(overrides?: Partial<PaymentMethod>): {
|
|
@@ -1284,9 +1284,10 @@ declare class LandingPageCreate implements PageObject {
|
|
|
1284
1284
|
readonly assignLayoutButton: Locator;
|
|
1285
1285
|
readonly searchLayoutInput: Locator;
|
|
1286
1286
|
readonly layoutItems: Locator;
|
|
1287
|
-
readonly
|
|
1287
|
+
readonly layoutAddButton: Locator;
|
|
1288
1288
|
readonly layoutEmptyState: Locator;
|
|
1289
1289
|
readonly createNewLayoutButton: Locator;
|
|
1290
|
+
readonly layoutCheckboxes: Locator;
|
|
1290
1291
|
constructor(page: Page);
|
|
1291
1292
|
url(): string;
|
|
1292
1293
|
}
|
|
@@ -1331,6 +1332,14 @@ declare class Categories implements PageObject {
|
|
|
1331
1332
|
url(): string;
|
|
1332
1333
|
}
|
|
1333
1334
|
|
|
1335
|
+
declare class RuleDetail implements PageObject {
|
|
1336
|
+
readonly page: Page;
|
|
1337
|
+
readonly nameInput: Locator;
|
|
1338
|
+
readonly priorityInput: Locator;
|
|
1339
|
+
constructor(page: Page);
|
|
1340
|
+
url(ruleId: string, tabName?: string): string;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1334
1343
|
interface AdministrationPageTypes {
|
|
1335
1344
|
AdminProductDetail: ProductDetail;
|
|
1336
1345
|
AdminOrderDetail: OrderDetail;
|
|
@@ -1345,6 +1354,7 @@ interface AdministrationPageTypes {
|
|
|
1345
1354
|
AdminCategories: Categories;
|
|
1346
1355
|
AdminLandingPageCreate: LandingPageCreate;
|
|
1347
1356
|
AdminLandingPageDetail: LandingPageDetail;
|
|
1357
|
+
AdminRuleDetail: RuleDetail;
|
|
1348
1358
|
}
|
|
1349
1359
|
declare const AdminPageObjects: {
|
|
1350
1360
|
ProductDetail: typeof ProductDetail;
|
|
@@ -1360,6 +1370,7 @@ declare const AdminPageObjects: {
|
|
|
1360
1370
|
Categories: typeof Categories;
|
|
1361
1371
|
LandingPageCreate: typeof LandingPageCreate;
|
|
1362
1372
|
LandingPageDetail: typeof LandingPageDetail;
|
|
1373
|
+
RuleDetail: typeof RuleDetail;
|
|
1363
1374
|
};
|
|
1364
1375
|
|
|
1365
1376
|
interface DataFixtureTypes {
|
package/dist/index.d.ts
CHANGED
|
@@ -488,7 +488,7 @@ declare class TestDataService {
|
|
|
488
488
|
*
|
|
489
489
|
* @param overrides - Specific data overrides that will be applied to the payment method data struct.
|
|
490
490
|
*/
|
|
491
|
-
createBasicRule(overrides?: Partial<Rule
|
|
491
|
+
createBasicRule(overrides?: Partial<Rule>, conditionType?: string, operator?: string, amount?: number): Promise<Rule>;
|
|
492
492
|
/**
|
|
493
493
|
* Creates a new basic page layout.
|
|
494
494
|
*
|
|
@@ -681,7 +681,7 @@ declare class TestDataService {
|
|
|
681
681
|
*/
|
|
682
682
|
convertDateTime(date: Date): string;
|
|
683
683
|
getBasicProductStruct(taxId?: string, currencyId?: string, overrides?: Partial<Product>): Partial<Product>;
|
|
684
|
-
getBasicRuleStruct(overrides
|
|
684
|
+
getBasicRuleStruct(overrides: Partial<Rule> | undefined, conditionType: string, operator: string, amount: number): Partial<Rule>;
|
|
685
685
|
getProductPriceRangeStruct(currencyId: string, ruleId: string): Partial<Product>;
|
|
686
686
|
getBasicManufacturerStruct(overrides?: Partial<Manufacturer>): Partial<Manufacturer>;
|
|
687
687
|
getBasicPaymentMethodStruct(overrides?: Partial<PaymentMethod>): {
|
|
@@ -1284,9 +1284,10 @@ declare class LandingPageCreate implements PageObject {
|
|
|
1284
1284
|
readonly assignLayoutButton: Locator;
|
|
1285
1285
|
readonly searchLayoutInput: Locator;
|
|
1286
1286
|
readonly layoutItems: Locator;
|
|
1287
|
-
readonly
|
|
1287
|
+
readonly layoutAddButton: Locator;
|
|
1288
1288
|
readonly layoutEmptyState: Locator;
|
|
1289
1289
|
readonly createNewLayoutButton: Locator;
|
|
1290
|
+
readonly layoutCheckboxes: Locator;
|
|
1290
1291
|
constructor(page: Page);
|
|
1291
1292
|
url(): string;
|
|
1292
1293
|
}
|
|
@@ -1331,6 +1332,14 @@ declare class Categories implements PageObject {
|
|
|
1331
1332
|
url(): string;
|
|
1332
1333
|
}
|
|
1333
1334
|
|
|
1335
|
+
declare class RuleDetail implements PageObject {
|
|
1336
|
+
readonly page: Page;
|
|
1337
|
+
readonly nameInput: Locator;
|
|
1338
|
+
readonly priorityInput: Locator;
|
|
1339
|
+
constructor(page: Page);
|
|
1340
|
+
url(ruleId: string, tabName?: string): string;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1334
1343
|
interface AdministrationPageTypes {
|
|
1335
1344
|
AdminProductDetail: ProductDetail;
|
|
1336
1345
|
AdminOrderDetail: OrderDetail;
|
|
@@ -1345,6 +1354,7 @@ interface AdministrationPageTypes {
|
|
|
1345
1354
|
AdminCategories: Categories;
|
|
1346
1355
|
AdminLandingPageCreate: LandingPageCreate;
|
|
1347
1356
|
AdminLandingPageDetail: LandingPageDetail;
|
|
1357
|
+
AdminRuleDetail: RuleDetail;
|
|
1348
1358
|
}
|
|
1349
1359
|
declare const AdminPageObjects: {
|
|
1350
1360
|
ProductDetail: typeof ProductDetail;
|
|
@@ -1360,6 +1370,7 @@ declare const AdminPageObjects: {
|
|
|
1360
1370
|
Categories: typeof Categories;
|
|
1361
1371
|
LandingPageCreate: typeof LandingPageCreate;
|
|
1362
1372
|
LandingPageDetail: typeof LandingPageDetail;
|
|
1373
|
+
RuleDetail: typeof RuleDetail;
|
|
1363
1374
|
};
|
|
1364
1375
|
|
|
1365
1376
|
interface DataFixtureTypes {
|