@shopware-ag/acceptance-test-suite 11.4.2 → 11.4.3
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.mjs +7 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3794,6 +3794,9 @@ class AccountOrder {
|
|
|
3794
3794
|
const orderShippingMethod = orderItem.locator(".order-table-body-value").nth(4);
|
|
3795
3795
|
const orderDetailButton = orderItem.getByRole("button", { name: /Expand|Show details/ });
|
|
3796
3796
|
const orderImage = orderItem.locator(".line-item-img-link");
|
|
3797
|
+
const taxPrice = orderItem.locator(`dt:text-matches('plus [0-9]\\+\\?% VAT') + dd`);
|
|
3798
|
+
const shippingCosts = orderItem.locator(`dt:text-matches('Shipping costs:') + dd`);
|
|
3799
|
+
const totalGross = orderItem.locator(`dt:text-matches('Total (gross):') + dd`);
|
|
3797
3800
|
return {
|
|
3798
3801
|
orderStatus,
|
|
3799
3802
|
orderHeading,
|
|
@@ -3806,7 +3809,10 @@ class AccountOrder {
|
|
|
3806
3809
|
orderPaymentMethod,
|
|
3807
3810
|
orderShippingMethod,
|
|
3808
3811
|
orderDetailButton,
|
|
3809
|
-
orderImage
|
|
3812
|
+
orderImage,
|
|
3813
|
+
taxPrice,
|
|
3814
|
+
shippingCosts,
|
|
3815
|
+
totalGross
|
|
3810
3816
|
};
|
|
3811
3817
|
}
|
|
3812
3818
|
url() {
|