@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | |
58 | 58 | public $billingContinueButtonXpath = '//div[@id="billing-buttons-container"]/descendant::button[@onclick="billing.save()"]'; |
59 | 59 | |
60 | - public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
60 | + public $billingContinueCompletedXpath = '//span[@id="billing-please-wait"]'; |
|
61 | 61 | |
62 | 62 | public $billingNewAddressXpath = '//select[@id="billing-address-select"]/option[.="{{New Address}}"]'; |
63 | 63 | public $shippingNewAddressXpath = '//select[@id="shipping-address-select"]/option[.="{{New Address}}"]'; |
@@ -82,24 +82,24 @@ discard block |
||
82 | 82 | public $shippingTelephoneXpath = '//input[@id="shipping:telephone"]'; |
83 | 83 | public $shippingFaxXpath = '//input[@id="shipping:fax"]'; |
84 | 84 | public $shippingContinueButtonXpath = '//div[@id="shipping-buttons-container"]/descendant::button[@onclick="shipping.save()"]'; |
85 | - public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
86 | - public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
85 | + public $shippingContinueCompletedXpath = '//span[@id="shipping-please-wait"]'; |
|
86 | + public $shippingMethodContinueCompletedXpath = '//span[@id="shipping-method-please-wait"]'; |
|
87 | 87 | |
88 | 88 | public $shippingMethodContinueButtonXpath = '//div[@id="shipping-method-buttons-container"]/descendant::button'; |
89 | - public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
89 | + public $defaultShippingXpath = '//input[@name="shipping_method"]'; |
|
90 | 90 | |
91 | 91 | public $paymentMethodContinueCompleteXpath = '//span[@id="payment-please-wait"]'; |
92 | 92 | |
93 | 93 | public $paymentMethodContinueButtonXpath = '//div[@id="payment-buttons-container"]/descendant::button'; |
94 | 94 | |
95 | - public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
95 | + public $placeOrderButtonXpath = '//div[@id="review-buttons-container"]/descendant::button[@title="{{Place Order}}"]'; |
|
96 | 96 | |
97 | 97 | public $orderReceivedCompleteXpath = '//h1[.="Your order has been received."]'; |
98 | 98 | |
99 | 99 | public $shippingMethodFormXpath = '//form[@id="co-shipping-method-form"]'; |
100 | 100 | |
101 | 101 | public $passwordInputXpath = '//input[@id="billing:customer_password"]'; |
102 | - public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
102 | + public $confirmPasswordInputXpath = '//input[@id="billing:confirm_password"]'; |
|
103 | 103 | |
104 | 104 | /** |
105 | 105 | * This is a hard one. Each of the summary checkout products will be iterated over until they cannot be found. Having |
@@ -116,10 +116,10 @@ discard block |
||
116 | 116 | public $cartSummaryCheckoutProductLoopQtyXpath = '(//table[@id="checkout-review-table"]/tbody//td[3])[%d]'; |
117 | 117 | public $cartSummaryCheckoutProductLoopSubtotalXpath = '(//table[@id="checkout-review-table"]/tbody//td[4]/descendant::span[@class="cart-price"])[%d]'; |
118 | 118 | |
119 | - public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
120 | - public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
121 | - public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
122 | - public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
119 | + public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Subtotal}} "]/../td[2]'; |
|
120 | + public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/../td[2]'; |
|
121 | + public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " {{Grand Total}} "]/../td[2]'; |
|
122 | + public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " {{Shipping & Handling}} (")]/../td[2]'; |
|
123 | 123 | |
124 | 124 | public $orderNumberExtractorXpath = '//p[contains(., "{{Your order # is:}}")]'; |
125 | 125 |
@@ -15,25 +15,25 @@ discard block |
||
15 | 15 | /** |
16 | 16 | * @var string The Xpath string that finds the base of the navigation menu |
17 | 17 | */ |
18 | - public $navigationBaseXPathSelector = '//ul[@id="nav"]'; |
|
18 | + public $navigationBaseXPathSelector = '//ul[@id="nav"]'; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @var string The Xpath string that can be used iteratively to find child navigation nodes |
22 | 22 | */ |
23 | 23 | |
24 | - public $navigationChildXPathSelector = 'a[concat(" ",normalize-space(.)," ") = " %s "]/..'; |
|
24 | + public $navigationChildXPathSelector = 'a[concat(" ",normalize-space(.)," ") = " %s "]/..'; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @var string A simple, default path to use for categories. |
28 | 28 | */ |
29 | 29 | |
30 | - public $navigationPathToSimpleProductCategory = '{{Electronics}}/{{Cell Phones}}'; |
|
30 | + public $navigationPathToSimpleProductCategory = '{{Electronics}}/{{Cell Phones}}'; |
|
31 | 31 | |
32 | 32 | public $defaultSimpleProductName = '{{Nokia 2610 Phone}}'; |
33 | 33 | |
34 | 34 | public $productPagePriceXpath = '(//form[@id="product_addtocart_form"]/descendant::span[contains(concat(" ",normalize-space(@class)," ")," regular-price ")]/span[contains(concat(" ",normalize-space(@class)," ")," price ")])[1]'; |
35 | 35 | |
36 | - public $navigationPathToConfigurableProductCategory = '{{Apparel}}/{{Shirts}}'; |
|
36 | + public $navigationPathToConfigurableProductCategory = '{{Apparel}}/{{Shirts}}'; |
|
37 | 37 | |
38 | 38 | public $defaultConfigurableProductName = '{{Zolof The Rock And Roll Destroyer: LOL Cat T-shirt}}'; |
39 | 39 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * @var string Xpath to add a Simple product to the cart from the product's page |
42 | 42 | */ |
43 | 43 | |
44 | - public $addToCartXpath = '//button[@title="{{Add to Cart}}" and contains(concat(" ",normalize-space(@class)," ")," btn-cart ")]'; |
|
44 | + public $addToCartXpath = '//button[@title="{{Add to Cart}}" and contains(concat(" ",normalize-space(@class)," ")," btn-cart ")]'; |
|
45 | 45 | |
46 | 46 | /** |
47 | 47 | * @var string Xpath to add a Simple product to the cart from the category page |
@@ -53,15 +53,15 @@ discard block |
||
53 | 53 | * @var string Xpath to find a product's link on a category page. Used to navigate to the product from the category |
54 | 54 | */ |
55 | 55 | |
56 | - public $categoryProductPageXpath = '//h2[@class="product-name"]/descendant::a'; |
|
56 | + public $categoryProductPageXpath = '//h2[@class="product-name"]/descendant::a'; |
|
57 | 57 | |
58 | - public $categorySpecificProductPageXpath = '//h2[@class="product-name"]/descendant::a[.="%s"]'; |
|
58 | + public $categorySpecificProductPageXpath = '//h2[@class="product-name"]/descendant::a[.="%s"]'; |
|
59 | 59 | |
60 | 60 | /** |
61 | 61 | * @var string Xpath used after a product has been added to the cart to verify that the product has been added to the cart |
62 | 62 | */ |
63 | 63 | |
64 | - public $addToCartSuccessXpath = '//li[@class="success-msg" and contains(., "{{was added to your shopping cart}}")]'; |
|
64 | + public $addToCartSuccessXpath = '//li[@class="success-msg" and contains(., "{{was added to your shopping cart}}")]'; |
|
65 | 65 | |
66 | 66 | /** |
67 | 67 | * @var string The base URL of the installation |
@@ -87,12 +87,12 @@ discard block |
||
87 | 87 | * @var array Instructions in an Xpath array syntax to get to the customer registration page |
88 | 88 | */ |
89 | 89 | |
90 | - public $logoutNavigationInstructions = [ |
|
90 | + public $logoutNavigationInstructions = [ |
|
91 | 91 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//ul[@class="links"]/descendant::a[.="{{Log Out}}"]'], |
92 | 92 | // [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//div[@id="header-account"]/descendant::a[@title="{{Log Out}}"]'] |
93 | 93 | ]; |
94 | 94 | |
95 | - public $cartNavigationInstructions = [ |
|
95 | + public $cartNavigationInstructions = [ |
|
96 | 96 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//string[@id="cartHeader"]'], |
97 | 97 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//div[@id="topCartContent"]/descendant::a/span[.="{{Go to Shopping Cart}}"]'] |
98 | 98 | ]; |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | * @var array Instructions in an Xpath array syntax to get to the login page. |
102 | 102 | */ |
103 | 103 | |
104 | - public $navigateToCustomerPageInstructions = [ |
|
104 | + public $navigateToCustomerPageInstructions = [ |
|
105 | 105 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//ul[@class="links"]/descendant::a[.="{{My Account}}"]'], |
106 | 106 | //[\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//div[@id="header-account"]/descendant::a[@title="My Account"]'] |
107 | 107 | ]; |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * @var array Instructions in an Xpath array syntax to get to the start of the checkout page |
111 | 111 | */ |
112 | 112 | |
113 | - public $checkoutNavigationInstructions = [ |
|
113 | + public $checkoutNavigationInstructions = [ |
|
114 | 114 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//ul[@class="links"]/descendant::a[@title="{{Checkout}}"]'], |
115 | 115 | // [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//div[@class="minicart-actions"]/descendant::a[@title="Checkout"]'] |
116 | 116 | ]; |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | * @var array Instructions in an Xpath array syntax to get to the customer registration page |
121 | 121 | */ |
122 | 122 | |
123 | - public $registrationNavigationInstructions = [ |
|
123 | + public $registrationNavigationInstructions = [ |
|
124 | 124 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//ul[@class="links"]/descendant::a[.="{{My Account}}"]'], |
125 | 125 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//button/span/span[.="{{Register}}"]/../..'] |
126 | 126 | ]; |
@@ -141,10 +141,10 @@ discard block |
||
141 | 141 | public $cartSummaryCheckoutProductLoopQtyXpath = '(//table[@id="checkout-review-table"]/tbody/descendant::td[@data-rwd-label="Qty"])[%d]'; |
142 | 142 | public $cartSummaryCheckoutProductLoopSubtotalXpath = '(//table[@id="checkout-review-table"]/tbody/descendant::td[@data-rwd-label="Subtotal"])[%d]'; |
143 | 143 | |
144 | - public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " Subtotal "]/../td[2]'; |
|
145 | - public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " Tax "]/../td[2]'; |
|
146 | - public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " Grand Total "]/../td[2]'; |
|
147 | - public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " Shipping & Handling (")]/../td[2]'; |
|
144 | + public $cartSummaryCheckoutSubTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " Subtotal "]/../td[2]'; |
|
145 | + public $cartSummaryCheckoutTax = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " Tax "]/../td[2]'; |
|
146 | + public $cartSummaryCheckoutGrandTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[concat(" ",normalize-space(.)," ") = " Grand Total "]/../td[2]'; |
|
147 | + public $cartSummaryCheckoutShippingTotal = '//table[@id="checkout-review-table"]/tfoot/tr/td[contains(concat(" ",normalize-space(.)," "), " Shipping & Handling (")]/../td[2]'; |
|
148 | 148 | |
149 | 149 | public $breadCrumbXpath = '//div[@class="breadcrumbs"]'; |
150 | 150 | |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | public $productListOriginalPriceXpath = '/descendant::div[@class="price-box"]/descendant::p[@class="old-price"]/descendant::*[@class="price"]'; |
158 | 158 | public $productListPriceXpath = '/descendant::div[@class="price-box"]/descendant::*[@class="regular-price" or @class="special-price"]/descendant::span[@class="price"]'; |
159 | 159 | public $productListWishlistLinkXpath = '/descendant::ul[@class="add-to-links"]/descendant::a[@class="link-wishlist"]'; |
160 | - public $productListAddToCartLinkXpath = '/descendant::div[@class="product-shop"]/descendant::button[contains(concat(" ",normalize-space(@class)," ")," btn-cart ")]'; |
|
160 | + public $productListAddToCartLinkXpath = '/descendant::div[@class="product-shop"]/descendant::button[contains(concat(" ",normalize-space(@class)," ")," btn-cart ")]'; |
|
161 | 161 | |
162 | 162 | public $productGridBaseXpath = '//ul[contains(concat(" ",normalize-space(@class)," ")," products-grid ")]/li[%d]'; |
163 | 163 | public $productGridDescriptionXpath = '/*[.="no description in the grid view"]'; |
@@ -168,15 +168,15 @@ discard block |
||
168 | 168 | public $productGridOriginalPriceXpath = '/descendant::div[@class="price-box"]/descendant::p[@class="old-price"]/descendant::*[@class="price"]'; |
169 | 169 | public $productGridPriceXpath = '/descendant::div[@class="price-box"]/descendant::*[@class="regular-price" or @class="special-price"]/descendant::span[@class="price"]'; |
170 | 170 | public $productGridWishlistLinkXpath = '/descendant::ul[@class="add-to-links"]/descendant::a[@class="link-wishlist"]'; |
171 | - public $productGridAddToCartLinkXpath = '/descendant::div[@class="actions"]/descendant::button[contains(concat(" ",normalize-space(@class)," ")," btn-cart ")]'; |
|
171 | + public $productGridAddToCartLinkXpath = '/descendant::div[@class="actions"]/descendant::button[contains(concat(" ",normalize-space(@class)," ")," btn-cart ")]'; |
|
172 | 172 | |
173 | 173 | public $productCollectionViewModeXpath = '//p[@class="view-mode"]/strong'; |
174 | 174 | public $productCollectionSortByXpath = '//div[@class="sort-by"]/descendant::option[@selected]'; // We select using the div, not the title because the title may be translated |
175 | 175 | public $productCollectionShowCountXpath = '//div[@class="limiter"]/descendant::option[@selected]'; // dittos |
176 | - public $productCollectionShowCountOptionsXpath = '//div[@class="limiter"]/descendant::option'; |
|
176 | + public $productCollectionShowCountOptionsXpath = '//div[@class="limiter"]/descendant::option'; |
|
177 | 177 | public $productCollectionProductCountXpath = '//div[contains(concat(" ",normalize-space(@class)," ")," pager ")]/descendant::p[contains(concat(" ",normalize-space(@class)," ")," amount ")]'; |
178 | 178 | |
179 | - public $layeredNavigationBaseXpath = '//div[contains(concat(" ",normalize-space(@class)," ")," block-layered-nav ")]'; |
|
179 | + public $layeredNavigationBaseXpath = '//div[contains(concat(" ",normalize-space(@class)," ")," block-layered-nav ")]'; |
|
180 | 180 | |
181 | 181 | public $searchInputXpath = '//input[@id="search"]'; |
182 | 182 | public $searchSubmitXpath = '//form[@id="search_mini_form"]/descendant::button[@type="submit"]'; |
@@ -195,11 +195,11 @@ discard block |
||
195 | 195 | public $breadCrumbMemberXpath = '/descendant::a[concat(" ",normalize-space(.)," ")=" {{%s}} "]'; |
196 | 196 | public $breadCrumbSelectorXpath = '/descendant::a[%d]'; |
197 | 197 | |
198 | - public $layeredNavigationFilterNameXpath = '//dl[@id="narrow-by-list"]/dt'; |
|
198 | + public $layeredNavigationFilterNameXpath = '//dl[@id="narrow-by-list"]/dt'; |
|
199 | 199 | |
200 | 200 | public $layeredNavigationFilterTypesXpath = '//dt[.="%s"]/following-sibling::dd[1]/descendant::li'; |
201 | 201 | public $layeredNavigationFilterLinkXpath = '//dt[.="%s"]/following-sibling::dd[1]/descendant::li/descendant::a'; |
202 | - public $layeredNavigationFilterNameElementXpath = '//dl[@id="narrow-by-list"]/dt[normalize-space(.) = "%s"]'; |
|
202 | + public $layeredNavigationFilterNameElementXpath = '//dl[@id="narrow-by-list"]/dt[normalize-space(.) = "%s"]'; |
|
203 | 203 | |
204 | 204 | public $storeSwitcherInstructionsXpath = [ |
205 | 205 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//select[@id="select-language"]/descendant::option[contains(@href,"___store=%s"]'], |
@@ -57,7 +57,7 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Magium\Magento\Actions\Admin\Widget; |
4 | 4 | |
5 | 5 | use Magium\Actions\ConfigurableActionInterface; |
6 | -use Magium\InvalidInstructionException; |
|
7 | 6 | use Magium\Magento\Themes\Admin\ThemeConfiguration; |
8 | 7 | use Magium\WebDriver\ExpectedCondition; |
9 | 8 | use Magium\WebDriver\WebDriver; |