@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | public $doNotUseBillingAddressForShipping = '//input[@id="billing:use_for_shipping_no"]'; |
57 | 57 | |
58 | 58 | public $billingContinueButtonXpath = '//div[@id="billing-buttons-container"]/descendant::button[@title="{{Continue}}"]'; |
59 | - public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
59 | + public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
60 | 60 | |
61 | 61 | public $billingNewAddressXpath = '//select[@id="billing-address-select"]/option[.="{{New Address}}"]'; |
62 | 62 | public $shippingNewAddressXpath = '//select[@id="shipping-address-select"]/option[.="{{New Address}}"]'; |
@@ -81,24 +81,24 @@ discard block |
||
81 | 81 | public $shippingTelephoneXpath = '//input[@id="shipping:telephone"]'; |
82 | 82 | public $shippingFaxXpath = '//input[@id="shipping:fax"]'; |
83 | 83 | public $shippingContinueButtonXpath = '//div[@id="shipping-buttons-container"]/descendant::button[@title="{{Continue}}"]'; |
84 | - public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
85 | - public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
84 | + public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
85 | + public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
86 | 86 | |
87 | 87 | public $shippingMethodContinueButtonXpath = '//div[@id="shipping-method-buttons-container"]/descendant::button'; |
88 | - public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
88 | + public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
89 | 89 | |
90 | 90 | public $paymentMethodContinueCompleteXpath = '//span[@id="payment-please-wait"]'; |
91 | 91 | |
92 | 92 | public $paymentMethodContinueButtonXpath = '//div[@id="payment-buttons-container"]/descendant::button'; |
93 | 93 | |
94 | - public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
94 | + public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
95 | 95 | |
96 | 96 | public $orderReceivedCompleteXpath = '//h1[.="Your order has been received."]'; |
97 | 97 | |
98 | 98 | public $shippingMethodFormXpath = '//form[@id="co-shipping-method-form"]'; |
99 | 99 | |
100 | 100 | public $passwordInputXpath = '//input[@id="billing:customer_password"]'; |
101 | - public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
101 | + public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
102 | 102 | |
103 | 103 | /** |
104 | 104 | * This is a hard one. Each of the summary checkout products will be iterated over until they cannot be found. Having |
@@ -115,9 +115,9 @@ discard block |
||
115 | 115 | public $cartSummaryCheckoutProductLoopQtyXpath = '(//table[@id="checkout-review-table"]/tbody//td[3])[%d]'; |
116 | 116 | public $cartSummaryCheckoutProductLoopSubtotalXpath = '(//table[@id="checkout-review-table"]/tbody//td[4]/descendant::span[@class="cart-price"])[%d]'; |
117 | 117 | |
118 | - public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
119 | - public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
120 | - public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
121 | - public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
118 | + public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
119 | + public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
120 | + public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
121 | + public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
122 | 122 | |
123 | 123 | } |
124 | 124 | \ No newline at end of file |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | public $doNotUseBillingAddressForShipping = '//input[@id="billing:use_for_shipping_no"]'; |
57 | 57 | |
58 | 58 | public $billingContinueButtonXpath = '//div[@id="billing-buttons-container"]/descendant::button[@title="{{Continue}}"]'; |
59 | - public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
59 | + public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
60 | 60 | |
61 | 61 | public $billingNewAddressXpath = '//select[@id="billing-address-select"]/option[.="{{New Address}}"]'; |
62 | 62 | public $shippingNewAddressXpath = '//select[@id="shipping-address-select"]/option[.="{{New Address}}"]'; |
@@ -81,24 +81,24 @@ discard block |
||
81 | 81 | public $shippingTelephoneXpath = '//input[@id="shipping:telephone"]'; |
82 | 82 | public $shippingFaxXpath = '//input[@id="shipping:fax"]'; |
83 | 83 | public $shippingContinueButtonXpath = '//div[@id="shipping-buttons-container"]/descendant::button[@title="{{Continue}}"]'; |
84 | - public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
85 | - public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
84 | + public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
85 | + public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
86 | 86 | |
87 | 87 | public $shippingMethodContinueButtonXpath = '//div[@id="shipping-method-buttons-container"]/descendant::button'; |
88 | - public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
88 | + public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
89 | 89 | |
90 | 90 | public $paymentMethodContinueCompleteXpath = '//span[@id="payment-please-wait"]'; |
91 | 91 | |
92 | 92 | public $paymentMethodContinueButtonXpath = '//div[@id="payment-buttons-container"]/descendant::button'; |
93 | 93 | |
94 | - public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
94 | + public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
95 | 95 | |
96 | 96 | public $orderReceivedCompleteXpath = '//h1[.="Your order has been received."]'; |
97 | 97 | |
98 | 98 | public $shippingMethodFormXpath = '//form[@id="co-shipping-method-form"]'; |
99 | 99 | |
100 | 100 | public $passwordInputXpath = '//input[@id="billing:customer_password"]'; |
101 | - public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
101 | + public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
102 | 102 | |
103 | 103 | /** |
104 | 104 | * This is a hard one. Each of the summary checkout products will be iterated over until they cannot be found. Having |
@@ -115,9 +115,9 @@ discard block |
||
115 | 115 | public $cartSummaryCheckoutProductLoopQtyXpath = '(//table[@id="checkout-review-table"]/tbody//td[3])[%d]'; |
116 | 116 | public $cartSummaryCheckoutProductLoopSubtotalXpath = '(//table[@id="checkout-review-table"]/tbody//td[4]/descendant::span[@class="cart-price"])[%d]'; |
117 | 117 | |
118 | - public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
119 | - public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
120 | - public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
121 | - public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
118 | + public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
119 | + public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
120 | + public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
121 | + public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
122 | 122 | |
123 | 123 | } |
124 | 124 | \ No newline at end of file |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | public $doNotUseBillingAddressForShipping = '//input[@id="billing:use_for_shipping_no"]'; |
57 | 57 | |
58 | 58 | public $billingContinueButtonXpath = '//div[@id="billing-buttons-container"]/descendant::button[@title="{{Continue}}"]'; |
59 | - public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
59 | + public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
60 | 60 | |
61 | 61 | public $billingNewAddressXpath = '//select[@id="billing-address-select"]/option[.="{{New Address}}"]'; |
62 | 62 | public $shippingNewAddressXpath = '//select[@id="shipping-address-select"]/option[.="{{New Address}}"]'; |
@@ -81,24 +81,24 @@ discard block |
||
81 | 81 | public $shippingTelephoneXpath = '//input[@id="shipping:telephone"]'; |
82 | 82 | public $shippingFaxXpath = '//input[@id="shipping:fax"]'; |
83 | 83 | public $shippingContinueButtonXpath = '//div[@id="shipping-buttons-container"]/descendant::button[@title="{{Continue}}"]'; |
84 | - public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
85 | - public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
84 | + public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
85 | + public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
86 | 86 | |
87 | 87 | public $shippingMethodContinueButtonXpath = '//div[@id="shipping-method-buttons-container"]/descendant::button'; |
88 | - public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
88 | + public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
89 | 89 | |
90 | 90 | public $paymentMethodContinueCompleteXpath = '//span[@id="payment-please-wait"]'; |
91 | 91 | |
92 | 92 | public $paymentMethodContinueButtonXpath = '//div[@id="payment-buttons-container"]/descendant::button'; |
93 | 93 | |
94 | - public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
94 | + public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
95 | 95 | |
96 | 96 | public $orderReceivedCompleteXpath = '//h1[.="Your order has been received."]'; |
97 | 97 | |
98 | 98 | public $shippingMethodFormXpath = '//form[@id="co-shipping-method-form"]'; |
99 | 99 | |
100 | 100 | public $passwordInputXpath = '//input[@id="billing:customer_password"]'; |
101 | - public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
101 | + public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
102 | 102 | |
103 | 103 | /** |
104 | 104 | * This is a hard one. Each of the summary checkout products will be iterated over until they cannot be found. Having |
@@ -115,9 +115,9 @@ discard block |
||
115 | 115 | public $cartSummaryCheckoutProductLoopQtyXpath = '(//table[@id="checkout-review-table"]/tbody//td[3])[%d]'; |
116 | 116 | public $cartSummaryCheckoutProductLoopSubtotalXpath = '(//table[@id="checkout-review-table"]/tbody//td[4]/descendant::span[@class="cart-price"])[%d]'; |
117 | 117 | |
118 | - public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
119 | - public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
120 | - public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
121 | - public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
118 | + public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
119 | + public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
120 | + public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
121 | + public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
122 | 122 | |
123 | 123 | } |
124 | 124 | \ No newline at end of file |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | public $doNotUseBillingAddressForShipping = '//input[@id="billing:use_for_shipping_no"]'; |
57 | 57 | |
58 | 58 | public $billingContinueButtonXpath = '//div[@id="billing-buttons-container"]/descendant::button[@title="{{Continue}}"]'; |
59 | - public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
59 | + public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
60 | 60 | |
61 | 61 | public $billingNewAddressXpath = '//select[@id="billing-address-select"]/option[.="{{New Address}}"]'; |
62 | 62 | public $shippingNewAddressXpath = '//select[@id="shipping-address-select"]/option[.="{{New Address}}"]'; |
@@ -81,24 +81,24 @@ discard block |
||
81 | 81 | public $shippingTelephoneXpath = '//input[@id="shipping:telephone"]'; |
82 | 82 | public $shippingFaxXpath = '//input[@id="shipping:fax"]'; |
83 | 83 | public $shippingContinueButtonXpath = '//div[@id="shipping-buttons-container"]/descendant::button[@title="{{Continue}}"]'; |
84 | - public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
85 | - public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
84 | + public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
85 | + public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
86 | 86 | |
87 | 87 | public $shippingMethodContinueButtonXpath = '//div[@id="shipping-method-buttons-container"]/descendant::button'; |
88 | - public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
88 | + public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
89 | 89 | |
90 | 90 | public $paymentMethodContinueCompleteXpath = '//span[@id="payment-please-wait"]'; |
91 | 91 | |
92 | 92 | public $paymentMethodContinueButtonXpath = '//div[@id="payment-buttons-container"]/descendant::button'; |
93 | 93 | |
94 | - public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
94 | + public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
95 | 95 | |
96 | 96 | public $orderReceivedCompleteXpath = '//h1[.="Your order has been received."]'; |
97 | 97 | |
98 | 98 | public $shippingMethodFormXpath = '//form[@id="co-shipping-method-form"]'; |
99 | 99 | |
100 | 100 | public $passwordInputXpath = '//input[@id="billing:customer_password"]'; |
101 | - public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
101 | + public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
102 | 102 | |
103 | 103 | /** |
104 | 104 | * This is a hard one. Each of the summary checkout products will be iterated over until they cannot be found. Having |
@@ -115,9 +115,9 @@ discard block |
||
115 | 115 | public $cartSummaryCheckoutProductLoopQtyXpath = '(//table[@id="checkout-review-table"]/tbody//td[3])[%d]'; |
116 | 116 | public $cartSummaryCheckoutProductLoopSubtotalXpath = '(//table[@id="checkout-review-table"]/tbody//td[4]/descendant::span[@class="cart-price"])[%d]'; |
117 | 117 | |
118 | - public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
119 | - public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
120 | - public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
121 | - public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
118 | + public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
119 | + public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
120 | + public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
121 | + public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
122 | 122 | |
123 | 123 | } |
124 | 124 | \ No newline at end of file |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | public $doNotUseBillingAddressForShipping = '//input[@id="billing:use_for_shipping_no"]'; |
57 | 57 | |
58 | 58 | public $billingContinueButtonXpath = '//div[@id="billing-buttons-container"]/descendant::button[@title="{{Continue}}"]'; |
59 | - public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
59 | + public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
60 | 60 | |
61 | 61 | public $billingNewAddressXpath = '//select[@id="billing-address-select"]/option[.="{{New Address}}"]'; |
62 | 62 | public $shippingNewAddressXpath = '//select[@id="shipping-address-select"]/option[.="{{New Address}}"]'; |
@@ -81,24 +81,24 @@ discard block |
||
81 | 81 | public $shippingTelephoneXpath = '//input[@id="shipping:telephone"]'; |
82 | 82 | public $shippingFaxXpath = '//input[@id="shipping:fax"]'; |
83 | 83 | public $shippingContinueButtonXpath = '//div[@id="shipping-buttons-container"]/descendant::button[@title="{{Continue}}"]'; |
84 | - public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
85 | - public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
84 | + public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
85 | + public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
86 | 86 | |
87 | 87 | public $shippingMethodContinueButtonXpath = '//div[@id="shipping-method-buttons-container"]/descendant::button'; |
88 | - public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
88 | + public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
89 | 89 | |
90 | 90 | public $paymentMethodContinueCompleteXpath = '//span[@id="payment-please-wait"]'; |
91 | 91 | |
92 | 92 | public $paymentMethodContinueButtonXpath = '//div[@id="payment-buttons-container"]/descendant::button'; |
93 | 93 | |
94 | - public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
94 | + public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
95 | 95 | |
96 | 96 | public $orderReceivedCompleteXpath = '//h1[.="Your order has been received."]'; |
97 | 97 | |
98 | 98 | public $shippingMethodFormXpath = '//form[@id="co-shipping-method-form"]'; |
99 | 99 | |
100 | 100 | public $passwordInputXpath = '//input[@id="billing:customer_password"]'; |
101 | - public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
101 | + public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
102 | 102 | |
103 | 103 | /** |
104 | 104 | * This is a hard one. Each of the summary checkout products will be iterated over until they cannot be found. Having |
@@ -115,9 +115,9 @@ discard block |
||
115 | 115 | public $cartSummaryCheckoutProductLoopQtyXpath = '(//table[@id="checkout-review-table"]/tbody//td[3])[%d]'; |
116 | 116 | public $cartSummaryCheckoutProductLoopSubtotalXpath = '(//table[@id="checkout-review-table"]/tbody//td[4]/descendant::span[@class="cart-price"])[%d]'; |
117 | 117 | |
118 | - public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
119 | - public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
120 | - public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
121 | - public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
118 | + public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
119 | + public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
120 | + public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
121 | + public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
122 | 122 | |
123 | 123 | } |
124 | 124 | \ No newline at end of file |