@shopware-ag/acceptance-test-suite 11.17.0 → 11.18.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 +34 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.mjs +1057 -955
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1162,6 +1162,7 @@ interface HelperFixtureTypes {
|
|
|
1162
1162
|
features: FeaturesType;
|
|
1163
1163
|
};
|
|
1164
1164
|
HideElementsForScreenshot: (page: Page, selectors: string[]) => Promise<void>;
|
|
1165
|
+
ReplaceElementsForScreenshot: (page: Page, selectors: string[]) => Promise<void>;
|
|
1165
1166
|
}
|
|
1166
1167
|
|
|
1167
1168
|
interface StoreBaseConfig {
|
|
@@ -1577,6 +1578,9 @@ declare class AccountOrder implements PageObject {
|
|
|
1577
1578
|
readonly dialogOrderCancel: Locator;
|
|
1578
1579
|
readonly dialogOrderCancelButton: Locator;
|
|
1579
1580
|
readonly dialogBackButton: Locator;
|
|
1581
|
+
readonly orderDetails: Locator;
|
|
1582
|
+
readonly invoiceHTML: Locator;
|
|
1583
|
+
readonly creditItem: Locator;
|
|
1580
1584
|
constructor(page: Page);
|
|
1581
1585
|
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
1582
1586
|
url(): string;
|
|
@@ -1912,7 +1916,16 @@ declare class OrderDetail implements PageObject {
|
|
|
1912
1916
|
readonly saveButton: Locator;
|
|
1913
1917
|
readonly dataGridContextButton: Locator;
|
|
1914
1918
|
readonly orderTag: Locator;
|
|
1919
|
+
readonly lineItem: Locator;
|
|
1920
|
+
readonly lineItemsTable: Locator;
|
|
1921
|
+
readonly documentType: Locator;
|
|
1922
|
+
readonly contextMenuButton: Locator;
|
|
1923
|
+
readonly contextMenu: Locator;
|
|
1924
|
+
readonly contextMenuSendDocument: Locator;
|
|
1925
|
+
readonly sendDocumentModal: Locator;
|
|
1926
|
+
readonly sendDocumentButton: Locator;
|
|
1915
1927
|
readonly itemsCardHeader: Locator;
|
|
1928
|
+
readonly sentCheckmark: Locator;
|
|
1916
1929
|
/**
|
|
1917
1930
|
* Tabs
|
|
1918
1931
|
*/
|
|
@@ -2554,6 +2567,23 @@ declare class CustomerBulkEdit implements PageObject {
|
|
|
2554
2567
|
url(): string;
|
|
2555
2568
|
}
|
|
2556
2569
|
|
|
2570
|
+
declare class DocumentListing implements PageObject {
|
|
2571
|
+
readonly page: Page;
|
|
2572
|
+
readonly addDocumentButton: Locator;
|
|
2573
|
+
readonly invoiceLink: Locator;
|
|
2574
|
+
constructor(page: Page);
|
|
2575
|
+
url(): string;
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
declare class DocumentDetail implements PageObject {
|
|
2579
|
+
readonly page: Page;
|
|
2580
|
+
readonly showInAccountSwitch: Locator;
|
|
2581
|
+
readonly saveButton: Locator;
|
|
2582
|
+
readonly documentTypeSelect: Locator;
|
|
2583
|
+
constructor(page: Page);
|
|
2584
|
+
url(documentId: string): string;
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2557
2587
|
interface AdministrationPageTypes {
|
|
2558
2588
|
AdminProductDetail: ProductDetail;
|
|
2559
2589
|
AdminOrderDetail: OrderDetail;
|
|
@@ -2588,6 +2618,8 @@ interface AdministrationPageTypes {
|
|
|
2588
2618
|
AdminProductListing: ProductListing;
|
|
2589
2619
|
AdminProductBulkEdit: ProductBulkEdit;
|
|
2590
2620
|
AdminCustomerBulkEdit: CustomerBulkEdit;
|
|
2621
|
+
AdminDocumentListing: DocumentListing;
|
|
2622
|
+
AdminDocumentDetail: DocumentDetail;
|
|
2591
2623
|
}
|
|
2592
2624
|
declare const AdminPageObjects: {
|
|
2593
2625
|
ProductDetail: typeof ProductDetail;
|
|
@@ -2623,6 +2655,8 @@ declare const AdminPageObjects: {
|
|
|
2623
2655
|
ProductListing: typeof ProductListing;
|
|
2624
2656
|
ProductBulkEdit: typeof ProductBulkEdit;
|
|
2625
2657
|
CustomerBulkEdit: typeof CustomerBulkEdit;
|
|
2658
|
+
DocumentListing: typeof DocumentListing;
|
|
2659
|
+
DocumentDetail: typeof DocumentDetail;
|
|
2626
2660
|
};
|
|
2627
2661
|
|
|
2628
2662
|
interface DataFixtureTypes {
|
package/dist/index.d.ts
CHANGED
|
@@ -1162,6 +1162,7 @@ interface HelperFixtureTypes {
|
|
|
1162
1162
|
features: FeaturesType;
|
|
1163
1163
|
};
|
|
1164
1164
|
HideElementsForScreenshot: (page: Page, selectors: string[]) => Promise<void>;
|
|
1165
|
+
ReplaceElementsForScreenshot: (page: Page, selectors: string[]) => Promise<void>;
|
|
1165
1166
|
}
|
|
1166
1167
|
|
|
1167
1168
|
interface StoreBaseConfig {
|
|
@@ -1577,6 +1578,9 @@ declare class AccountOrder implements PageObject {
|
|
|
1577
1578
|
readonly dialogOrderCancel: Locator;
|
|
1578
1579
|
readonly dialogOrderCancelButton: Locator;
|
|
1579
1580
|
readonly dialogBackButton: Locator;
|
|
1581
|
+
readonly orderDetails: Locator;
|
|
1582
|
+
readonly invoiceHTML: Locator;
|
|
1583
|
+
readonly creditItem: Locator;
|
|
1580
1584
|
constructor(page: Page);
|
|
1581
1585
|
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
1582
1586
|
url(): string;
|
|
@@ -1912,7 +1916,16 @@ declare class OrderDetail implements PageObject {
|
|
|
1912
1916
|
readonly saveButton: Locator;
|
|
1913
1917
|
readonly dataGridContextButton: Locator;
|
|
1914
1918
|
readonly orderTag: Locator;
|
|
1919
|
+
readonly lineItem: Locator;
|
|
1920
|
+
readonly lineItemsTable: Locator;
|
|
1921
|
+
readonly documentType: Locator;
|
|
1922
|
+
readonly contextMenuButton: Locator;
|
|
1923
|
+
readonly contextMenu: Locator;
|
|
1924
|
+
readonly contextMenuSendDocument: Locator;
|
|
1925
|
+
readonly sendDocumentModal: Locator;
|
|
1926
|
+
readonly sendDocumentButton: Locator;
|
|
1915
1927
|
readonly itemsCardHeader: Locator;
|
|
1928
|
+
readonly sentCheckmark: Locator;
|
|
1916
1929
|
/**
|
|
1917
1930
|
* Tabs
|
|
1918
1931
|
*/
|
|
@@ -2554,6 +2567,23 @@ declare class CustomerBulkEdit implements PageObject {
|
|
|
2554
2567
|
url(): string;
|
|
2555
2568
|
}
|
|
2556
2569
|
|
|
2570
|
+
declare class DocumentListing implements PageObject {
|
|
2571
|
+
readonly page: Page;
|
|
2572
|
+
readonly addDocumentButton: Locator;
|
|
2573
|
+
readonly invoiceLink: Locator;
|
|
2574
|
+
constructor(page: Page);
|
|
2575
|
+
url(): string;
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
declare class DocumentDetail implements PageObject {
|
|
2579
|
+
readonly page: Page;
|
|
2580
|
+
readonly showInAccountSwitch: Locator;
|
|
2581
|
+
readonly saveButton: Locator;
|
|
2582
|
+
readonly documentTypeSelect: Locator;
|
|
2583
|
+
constructor(page: Page);
|
|
2584
|
+
url(documentId: string): string;
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2557
2587
|
interface AdministrationPageTypes {
|
|
2558
2588
|
AdminProductDetail: ProductDetail;
|
|
2559
2589
|
AdminOrderDetail: OrderDetail;
|
|
@@ -2588,6 +2618,8 @@ interface AdministrationPageTypes {
|
|
|
2588
2618
|
AdminProductListing: ProductListing;
|
|
2589
2619
|
AdminProductBulkEdit: ProductBulkEdit;
|
|
2590
2620
|
AdminCustomerBulkEdit: CustomerBulkEdit;
|
|
2621
|
+
AdminDocumentListing: DocumentListing;
|
|
2622
|
+
AdminDocumentDetail: DocumentDetail;
|
|
2591
2623
|
}
|
|
2592
2624
|
declare const AdminPageObjects: {
|
|
2593
2625
|
ProductDetail: typeof ProductDetail;
|
|
@@ -2623,6 +2655,8 @@ declare const AdminPageObjects: {
|
|
|
2623
2655
|
ProductListing: typeof ProductListing;
|
|
2624
2656
|
ProductBulkEdit: typeof ProductBulkEdit;
|
|
2625
2657
|
CustomerBulkEdit: typeof CustomerBulkEdit;
|
|
2658
|
+
DocumentListing: typeof DocumentListing;
|
|
2659
|
+
DocumentDetail: typeof DocumentDetail;
|
|
2626
2660
|
};
|
|
2627
2661
|
|
|
2628
2662
|
interface DataFixtureTypes {
|