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