@shopware-ag/acceptance-test-suite 4.0.0 → 4.1.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 +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.mjs +436 -413
- 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>): {
|
|
@@ -1331,6 +1331,14 @@ declare class Categories implements PageObject {
|
|
|
1331
1331
|
url(): string;
|
|
1332
1332
|
}
|
|
1333
1333
|
|
|
1334
|
+
declare class RuleDetail implements PageObject {
|
|
1335
|
+
readonly page: Page;
|
|
1336
|
+
readonly nameInput: Locator;
|
|
1337
|
+
readonly priorityInput: Locator;
|
|
1338
|
+
constructor(page: Page);
|
|
1339
|
+
url(ruleId: string, tabName?: string): string;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1334
1342
|
interface AdministrationPageTypes {
|
|
1335
1343
|
AdminProductDetail: ProductDetail;
|
|
1336
1344
|
AdminOrderDetail: OrderDetail;
|
|
@@ -1345,6 +1353,7 @@ interface AdministrationPageTypes {
|
|
|
1345
1353
|
AdminCategories: Categories;
|
|
1346
1354
|
AdminLandingPageCreate: LandingPageCreate;
|
|
1347
1355
|
AdminLandingPageDetail: LandingPageDetail;
|
|
1356
|
+
AdminRuleDetail: RuleDetail;
|
|
1348
1357
|
}
|
|
1349
1358
|
declare const AdminPageObjects: {
|
|
1350
1359
|
ProductDetail: typeof ProductDetail;
|
|
@@ -1360,6 +1369,7 @@ declare const AdminPageObjects: {
|
|
|
1360
1369
|
Categories: typeof Categories;
|
|
1361
1370
|
LandingPageCreate: typeof LandingPageCreate;
|
|
1362
1371
|
LandingPageDetail: typeof LandingPageDetail;
|
|
1372
|
+
RuleDetail: typeof RuleDetail;
|
|
1363
1373
|
};
|
|
1364
1374
|
|
|
1365
1375
|
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>): {
|
|
@@ -1331,6 +1331,14 @@ declare class Categories implements PageObject {
|
|
|
1331
1331
|
url(): string;
|
|
1332
1332
|
}
|
|
1333
1333
|
|
|
1334
|
+
declare class RuleDetail implements PageObject {
|
|
1335
|
+
readonly page: Page;
|
|
1336
|
+
readonly nameInput: Locator;
|
|
1337
|
+
readonly priorityInput: Locator;
|
|
1338
|
+
constructor(page: Page);
|
|
1339
|
+
url(ruleId: string, tabName?: string): string;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1334
1342
|
interface AdministrationPageTypes {
|
|
1335
1343
|
AdminProductDetail: ProductDetail;
|
|
1336
1344
|
AdminOrderDetail: OrderDetail;
|
|
@@ -1345,6 +1353,7 @@ interface AdministrationPageTypes {
|
|
|
1345
1353
|
AdminCategories: Categories;
|
|
1346
1354
|
AdminLandingPageCreate: LandingPageCreate;
|
|
1347
1355
|
AdminLandingPageDetail: LandingPageDetail;
|
|
1356
|
+
AdminRuleDetail: RuleDetail;
|
|
1348
1357
|
}
|
|
1349
1358
|
declare const AdminPageObjects: {
|
|
1350
1359
|
ProductDetail: typeof ProductDetail;
|
|
@@ -1360,6 +1369,7 @@ declare const AdminPageObjects: {
|
|
|
1360
1369
|
Categories: typeof Categories;
|
|
1361
1370
|
LandingPageCreate: typeof LandingPageCreate;
|
|
1362
1371
|
LandingPageDetail: typeof LandingPageDetail;
|
|
1372
|
+
RuleDetail: typeof RuleDetail;
|
|
1363
1373
|
};
|
|
1364
1374
|
|
|
1365
1375
|
interface DataFixtureTypes {
|