@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Magium\Magento\Actions\Admin\Configuration; |
4 | 4 | |
5 | -use Facebook\WebDriver\WebDriverElement; |
|
6 | -use Facebook\WebDriver\WebDriverSelect; |
|
7 | 5 | use Magium\Magento\AbstractMagentoTestCase; |
8 | 6 | use Magium\Magento\Navigators\Admin\SystemConfiguration; |
9 | 7 | use Magium\Magento\Themes\Admin\ThemeConfiguration; |
@@ -77,7 +77,7 @@ |
||
77 | 77 | $xpath = ''; |
78 | 78 | if (count($xpath) === 2) { |
79 | 79 | $nav = explode('/', $parts[0]); |
80 | - $xpath = $this->themeConfiguration->getSystemConfigSectionDisplayCheckXpath($nav[1]) . '/descendant::'; |
|
80 | + $xpath = $this->themeConfiguration->getSystemConfigSectionDisplayCheckXpath($nav[1]).'/descendant::'; |
|
81 | 81 | } |
82 | 82 | $xpath .= $this->themeConfiguration->getSystemConfigSettingLabelXpath($matches[1]); |
83 | 83 | $labelElement = $this->webDriver->byXpath($xpath); |
@@ -6,8 +6,6 @@ |
||
6 | 6 | use Magium\Magento\Actions\Checkout\Steps\LogInCustomer; |
7 | 7 | use Magium\Magento\Actions\Checkout\Steps\PaymentMethod; |
8 | 8 | use Magium\Magento\Actions\Checkout\Steps\PlaceOrder; |
9 | -use Magium\Magento\Actions\Checkout\Steps\ReviewOrder; |
|
10 | -use Magium\Magento\Actions\Checkout\Steps\SelectCustomerCheckout; |
|
11 | 9 | use Magium\Magento\Actions\Checkout\Steps\ShippingAddress; |
12 | 10 | use Magium\Magento\Actions\Checkout\Steps\ShippingMethod; |
13 | 11 | use Magium\Magento\Extractors\Checkout\CartSummary; |
@@ -5,7 +5,6 @@ discard block |
||
5 | 5 | use Magium\Magento\Actions\Checkout\Steps\BillingAddress; |
6 | 6 | use Magium\Magento\Actions\Checkout\Steps\PaymentMethod; |
7 | 7 | use Magium\Magento\Actions\Checkout\Steps\PlaceOrder; |
8 | -use Magium\Magento\Actions\Checkout\Steps\ReviewOrder; |
|
9 | 8 | use Magium\Magento\Actions\Checkout\Steps\SelectGuestCheckout; |
10 | 9 | use Magium\Magento\Actions\Checkout\Steps\ShippingAddress; |
11 | 10 | use Magium\Magento\Actions\Checkout\Steps\ShippingMethod; |
@@ -14,7 +13,6 @@ discard block |
||
14 | 13 | use Magium\Magento\Navigators\Checkout\Checkout; |
15 | 14 | use Magium\Magento\Navigators\Checkout\CheckoutStart; |
16 | 15 | use Magium\Magento\Themes\OnePageCheckout\AbstractThemeConfiguration; |
17 | -use Magium\Magento\Themes\OnePageCheckout\ThemeConfiguration as OnePageCheckoutTheme; |
|
18 | 16 | |
19 | 17 | class GuestCheckout extends AbstractCheckout |
20 | 18 | { |
@@ -6,8 +6,6 @@ discard block |
||
6 | 6 | use Magium\Magento\Actions\Checkout\Steps\NewCustomerPassword; |
7 | 7 | use Magium\Magento\Actions\Checkout\Steps\PaymentMethod; |
8 | 8 | use Magium\Magento\Actions\Checkout\Steps\PlaceOrder; |
9 | -use Magium\Magento\Actions\Checkout\Steps\ReviewOrder; |
|
10 | -use Magium\Magento\Actions\Checkout\Steps\SelectCustomerCheckout; |
|
11 | 9 | use Magium\Magento\Actions\Checkout\Steps\SelectRegisterNewCustomerCheckout; |
12 | 10 | use Magium\Magento\Actions\Checkout\Steps\ShippingAddress; |
13 | 11 | use Magium\Magento\Actions\Checkout\Steps\ShippingMethod; |
@@ -16,7 +14,6 @@ discard block |
||
16 | 14 | use Magium\Magento\Navigators\Checkout\Checkout; |
17 | 15 | use Magium\Magento\Navigators\Checkout\CheckoutStart; |
18 | 16 | use Magium\Magento\Themes\OnePageCheckout\AbstractThemeConfiguration; |
19 | -use Magium\Magento\Themes\OnePageCheckout\ThemeConfiguration as OnePageCheckoutTheme; |
|
20 | 17 | |
21 | 18 | class RegisterNewCustomerCheckout extends AbstractCheckout |
22 | 19 | { |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Magium\Magento\Extractors\Catalog\LayeredNavigation\FilterTypes; |
4 | 4 | |
5 | -use Facebook\WebDriver\WebDriverBy; |
|
6 | -use Facebook\WebDriver\WebDriverElement; |
|
7 | 5 | use Magium\Magento\Extractors\Catalog\LayeredNavigation\FilterValue; |
8 | 6 | use Magium\Magento\Extractors\Catalog\LayeredNavigation\UnparseableValueException; |
9 | 7 |
@@ -44,8 +44,8 @@ |
||
44 | 44 | /* @var $elements \DOMElement[] */ |
45 | 45 | $returnElements = []; |
46 | 46 | foreach ($elements as $element) { |
47 | - $elementDocument = new \DOMDocument(); |
|
48 | - $html =$element->C14N(); |
|
47 | + $elementDocument = new \DOMDocument(); |
|
48 | + $html = $element->C14N(); |
|
49 | 49 | $elementDocument->loadXML($html); |
50 | 50 | $elementXpath = new \DOMXPath($elementDocument); |
51 | 51 | $titleElements = $elementXpath->query(sprintf('//*[@%s]', $this->theme->getLayeredNavigationSwatchTitleAttribute())); |
@@ -7,26 +7,26 @@ discard block |
||
7 | 7 | class ThemeConfiguration extends AbstractThemeConfiguration |
8 | 8 | { |
9 | 9 | |
10 | - public $accountNavigationXpath = '//div[contains(concat(" ",normalize-space(@class)," ")," block-account ")]/descendant::a[.="%s"]'; |
|
10 | + public $accountNavigationXpath = '//div[contains(concat(" ",normalize-space(@class)," ")," block-account ")]/descendant::a[.="%s"]'; |
|
11 | 11 | public $accountSectionHeaderXpath = '//div[contains(concat(" ",normalize-space(@class)," ")," col-main ")]/descendant::h1[.="%s"]'; |
12 | 12 | |
13 | - public $orderPageName = '{{My Orders}}'; |
|
13 | + public $orderPageName = '{{My Orders}}'; |
|
14 | 14 | |
15 | 15 | public $viewOrderLinkXpath = '//td[@class="number" and .="%s"]/../td/descendant::a[.="{{View Order}}"]'; |
16 | 16 | |
17 | - public $orderPageTitleContainsText = '{{Order}} #'; |
|
17 | + public $orderPageTitleContainsText = '{{Order}} #'; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @var string Xpath for the customer email form element |
21 | 21 | */ |
22 | 22 | |
23 | - public $loginUsernameField = '//input[@type="email" and @id="email"]'; |
|
23 | + public $loginUsernameField = '//input[@type="email" and @id="email"]'; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * @var string Xpath for the customer password form element |
27 | 27 | */ |
28 | 28 | |
29 | - public $loginPasswordField = '//input[@type="password" and @id="pass"]'; |
|
29 | + public $loginPasswordField = '//input[@type="password" and @id="pass"]'; |
|
30 | 30 | |
31 | 31 | |
32 | 32 | /** |
@@ -41,19 +41,19 @@ discard block |
||
41 | 41 | public $orderShippingMethod = '//h2[.="{{Shipping Method}}"]/../../descendant::div[contains(concat(" ",normalize-space(@class)," ")," box-content ")]'; |
42 | 42 | public $orderPaymentMethod = '//h2[.="{{Payment Method}}"]/../../descendant::div[contains(concat(" ",normalize-space(@class)," ")," box-content ")]'; |
43 | 43 | |
44 | - public $orderItemNameXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::h3[contains(concat(" ",normalize-space(@class)," ")," product-name ")]'; |
|
44 | + public $orderItemNameXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::h3[contains(concat(" ",normalize-space(@class)," ")," product-name ")]'; |
|
45 | 45 | public $orderItemSkuXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[@data-rwd-label="SKU"]'; |
46 | - public $orderItemPriceXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[@data-rwd-label="Price"]/descendant::span[@class="price"]'; |
|
46 | + public $orderItemPriceXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[@data-rwd-label="Price"]/descendant::span[@class="price"]'; |
|
47 | 47 | public $orderItemQtyXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[@data-rwd-label="Qty"]'; |
48 | 48 | |
49 | 49 | public $orderItemQtyOrderedRegex = '/{{Ordered}}:\s+(\d+)/'; |
50 | 50 | public $orderItemQtyShippedRegex = '/{{Shipped}}:\s+(\d+)/'; |
51 | 51 | |
52 | - public $orderItemSubtotalXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[@data-rwd-label="Subtotal"]/descendant::span[@class="price"]'; |
|
52 | + public $orderItemSubtotalXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[@data-rwd-label="Subtotal"]/descendant::span[@class="price"]'; |
|
53 | 53 | |
54 | 54 | public $orderSubtotalXpath = '//table[@id="my-orders-table"]/descendant::tr[contains(concat(" ",normalize-space(@class)," ")," subtotal ")]/td[2]/span[@class="price"]'; |
55 | 55 | public $orderShippingAndHandlingXpath = '//table[@id="my-orders-table"]/descendant::tr[contains(concat(" ",normalize-space(@class)," ")," shipping ")]/td[2]/span[@class="price"]'; |
56 | - public $orderTaxXpath = '//table[@id="my-orders-table"]/descendant::td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/following-sibling::td[1]/span[@class="price"]'; |
|
56 | + public $orderTaxXpath = '//table[@id="my-orders-table"]/descendant::td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/following-sibling::td[1]/span[@class="price"]'; |
|
57 | 57 | public $orderGrandTotalXpath = '//table[@id="my-orders-table"]/descendant::tr[contains(concat(" ",normalize-space(@class)," ")," grand_total ")]/td[2]/descendant::span[@class="price"]'; |
58 | 58 | |
59 | 59 | public $orderDateXpath = '//p[@class="order-date"]'; |
@@ -8,20 +8,20 @@ discard block |
||
8 | 8 | class ThemeConfiguration extends AbstractThemeConfiguration |
9 | 9 | { |
10 | 10 | |
11 | - public $accountNavigationXpath = '//div[contains(concat(" ",normalize-space(@class)," ")," block-account ")]/descendant::a[.="%s"]'; |
|
11 | + public $accountNavigationXpath = '//div[contains(concat(" ",normalize-space(@class)," ")," block-account ")]/descendant::a[.="%s"]'; |
|
12 | 12 | public $accountSectionHeaderXpath = '//div[contains(concat(" ",normalize-space(@class)," ")," col-main ")]/descendant::h1[.="%s"]'; |
13 | 13 | |
14 | - public $orderPageName = '{{My Orders}}'; |
|
14 | + public $orderPageName = '{{My Orders}}'; |
|
15 | 15 | |
16 | 16 | public $viewOrderLinkXpath = '//td[.="%s"]/../td/descendant::a[.="{{View Order}}"]'; |
17 | 17 | |
18 | - public $orderPageTitleContainsText = '{{Order}} #'; |
|
18 | + public $orderPageTitleContainsText = '{{Order}} #'; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @var array Instructions in an Xpath array syntax to get to the customer registration page |
22 | 22 | */ |
23 | 23 | |
24 | - public $registrationNavigationInstructions = [ |
|
24 | + public $registrationNavigationInstructions = [ |
|
25 | 25 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//div[@class="account-cart-wrapper"]/descendant::span[.="Account"]'], |
26 | 26 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//div[@id="header-account"]/descendant::a[@title="Register"]'] |
27 | 27 | ]; |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * @var array Instructions in an Xpath array syntax to get to the customer registration page |
31 | 31 | */ |
32 | 32 | |
33 | - public $logoutNavigationInstructions = [ |
|
33 | + public $logoutNavigationInstructions = [ |
|
34 | 34 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//div[@class="account-cart-wrapper"]/descendant::span[.="Account"]'], |
35 | 35 | [\Magium\WebDriver\WebDriver::INSTRUCTION_MOUSE_CLICK, '//div[@id="header-account"]/descendant::a[@title="Log Out"]'] |
36 | 36 | ]; |
@@ -49,13 +49,13 @@ discard block |
||
49 | 49 | * @var string Xpath for the customer email form element |
50 | 50 | */ |
51 | 51 | |
52 | - public $loginUsernameField = '//input[@type="text" and @id="email"]'; |
|
52 | + public $loginUsernameField = '//input[@type="text" and @id="email"]'; |
|
53 | 53 | |
54 | 54 | /** |
55 | 55 | * @var string Xpath for the customer password form element |
56 | 56 | */ |
57 | 57 | |
58 | - public $loginPasswordField = '//input[@type="password" and @id="pass"]'; |
|
58 | + public $loginPasswordField = '//input[@type="password" and @id="pass"]'; |
|
59 | 59 | |
60 | 60 | |
61 | 61 | /** |
@@ -70,19 +70,19 @@ discard block |
||
70 | 70 | public $orderShippingMethod = '//h2[.="{{Shipping Method}}"]/../../descendant::div[contains(concat(" ",normalize-space(@class)," ")," box-content ")]'; |
71 | 71 | public $orderPaymentMethod = '//h2[.="{{Payment Method}}"]/../../descendant::div[contains(concat(" ",normalize-space(@class)," ")," box-content ")]'; |
72 | 72 | |
73 | - public $orderItemNameXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::h3[contains(concat(" ",normalize-space(@class)," ")," product-name ")]'; |
|
73 | + public $orderItemNameXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::h3[contains(concat(" ",normalize-space(@class)," ")," product-name ")]'; |
|
74 | 74 | public $orderItemSkuXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[2]'; |
75 | - public $orderItemPriceXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[3]/descendant::span[@class="price"]'; |
|
75 | + public $orderItemPriceXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[3]/descendant::span[@class="price"]'; |
|
76 | 76 | public $orderItemQtyXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[4]'; |
77 | 77 | |
78 | 78 | public $orderItemQtyOrderedRegex = '/{{Ordered}}:\s+(\d+)/'; |
79 | 79 | public $orderItemQtyShippedRegex = '/{{Shipped}}:\s+(\d+)/'; |
80 | 80 | |
81 | - public $orderItemSubtotalXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[5]/descendant::span[@class="price"]'; |
|
81 | + public $orderItemSubtotalXpath = '//table[@id="my-orders-table"]/tbody/tr[%d]/descendant::td[5]/descendant::span[@class="price"]'; |
|
82 | 82 | |
83 | 83 | public $orderSubtotalXpath = '//table[@id="my-orders-table"]/descendant::tr[contains(concat(" ",normalize-space(@class)," ")," subtotal ")]/td[2]/span[@class="price"]'; |
84 | 84 | public $orderShippingAndHandlingXpath = '//table[@id="my-orders-table"]/descendant::tr[contains(concat(" ",normalize-space(@class)," ")," shipping ")]/td[2]/span[@class="price"]'; |
85 | - public $orderTaxXpath = '//table[@id="my-orders-table"]/descendant::td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/following-sibling::td[1]/span[@class="price"]'; |
|
85 | + public $orderTaxXpath = '//table[@id="my-orders-table"]/descendant::td[concat(" ",normalize-space(.)," ") = " {{Tax}} "]/following-sibling::td[1]/span[@class="price"]'; |
|
86 | 86 | public $orderGrandTotalXpath = '//table[@id="my-orders-table"]/descendant::tr[contains(concat(" ",normalize-space(@class)," ")," grand_total ")]/td[2]/descendant::span[@class="price"]'; |
87 | 87 | |
88 | 88 | public $orderDateXpath = '//p[@class="order-date"]'; |
@@ -23,16 +23,16 @@ discard block |
||
23 | 23 | // public $navigationChildXPathSelector1 = 'li/descendant::span[.="{{%s}}"]'; |
24 | 24 | public $navigationChildXPathSelector = 'a[concat(" ",normalize-space(.)," ") = " {{%s}} "]/..'; |
25 | 25 | |
26 | - public $adminPopupMessageContainerXpath = '//*[@id="message-popup-window"]'; |
|
27 | - public $adminPopupMessageCloseButtonXpath = '//*[@id="message-popup-window"]/descendant::*[@title="close"]'; |
|
26 | + public $adminPopupMessageContainerXpath = '//*[@id="message-popup-window"]'; |
|
27 | + public $adminPopupMessageCloseButtonXpath = '//*[@id="message-popup-window"]/descendant::*[@title="close"]'; |
|
28 | 28 | |
29 | - public $systemConfigTabsXpath = '//ul[@id="system_config_tabs"]/descendant::a[concat(" ",normalize-space(.)," ") = " {{%s}} "]'; |
|
30 | - public $systemConfigSectionToggleXpath = '//form[@id="config_edit_form"]/descendant::div[contains(concat(" ",normalize-space(@class)," ")," section-config ")]/descendant::a[.="{{%s}}"]'; |
|
31 | - public $systemConfigSectionDisplayCheckXpath = '//legend[.="{{%s}}"]/ancestor::fieldset'; |
|
32 | - public $systemConfigToggleEnableXpath = '//legend[.="{{%s}}"]/../descendant::td[concat(" ",normalize-space(.)," ") = " {{Enabled}} "]/../td/descendant::select/option[@value="%d"]'; |
|
29 | + public $systemConfigTabsXpath = '//ul[@id="system_config_tabs"]/descendant::a[concat(" ",normalize-space(.)," ") = " {{%s}} "]'; |
|
30 | + public $systemConfigSectionToggleXpath = '//form[@id="config_edit_form"]/descendant::div[contains(concat(" ",normalize-space(@class)," ")," section-config ")]/descendant::a[.="{{%s}}"]'; |
|
31 | + public $systemConfigSectionDisplayCheckXpath = '//legend[.="{{%s}}"]/ancestor::fieldset'; |
|
32 | + public $systemConfigToggleEnableXpath = '//legend[.="{{%s}}"]/../descendant::td[concat(" ",normalize-space(.)," ") = " {{Enabled}} "]/../td/descendant::select/option[@value="%d"]'; |
|
33 | 33 | |
34 | - public $xTreeRootXpath = '//ul[contains(concat(" ",normalize-space(@class)," ")," x-tree-root-ct ")]/div/li[contains(concat(" ",normalize-space(@class)," ")," x-tree-node ")]/div/a'; |
|
35 | - public $xTreeNamedRootXpath = '//ul[contains(concat(" ",normalize-space(@class)," ")," x-tree-root-ct ")]/div/li[contains(concat(" ",normalize-space(@class)," ")," x-tree-node ")]/div/a[contains(concat("---",normalize-space(.)), "---{{%s}} (")]'; |
|
34 | + public $xTreeRootXpath = '//ul[contains(concat(" ",normalize-space(@class)," ")," x-tree-root-ct ")]/div/li[contains(concat(" ",normalize-space(@class)," ")," x-tree-node ")]/div/a'; |
|
35 | + public $xTreeNamedRootXpath = '//ul[contains(concat(" ",normalize-space(@class)," ")," x-tree-root-ct ")]/div/li[contains(concat(" ",normalize-space(@class)," ")," x-tree-node ")]/div/a[contains(concat("---",normalize-space(.)), "---{{%s}} (")]'; |
|
36 | 36 | public $xTreeChildXpath = 'ul/li[contains(concat(" ",normalize-space(@class)," ")," x-tree-node ")]/div/a/span[contains(concat("---",normalize-space(.)), "---{{%s}} (")]/..'; |
37 | 37 | public $xTreeChildNodePrefixXpath = '/../..'; |
38 | 38 | public $xTreeChildNodeExpandPrefixXpath = '/../img[contains(concat(" ",normalize-space(@class)," ")," x-tree-ec-icon ")]'; |
@@ -41,12 +41,12 @@ discard block |
||
41 | 41 | |
42 | 42 | public $systemConfigSaveSuccessfulXpath = '//li[@class="success-msg"]/descendant::span[.="{{The configuration has been saved}}."]'; |
43 | 43 | |
44 | - public $testLoggedInAtBaseUrl = '//a[@class="active"]/span[.="{{Dashboard}}"]'; |
|
44 | + public $testLoggedInAtBaseUrl = '//a[@class="active"]/span[.="{{Dashboard}}"]'; |
|
45 | 45 | |
46 | 46 | public $tableButtonXpath = '//table[@class="actions"]/descendant::span[.="{{%s}}"]'; |
47 | 47 | |
48 | 48 | public $selectOrderXpath = '//table[@id="sales_order_grid_table"]/descendant::td[concat(" ",normalize-space(.)," ") = " %s "]/../td/a[.="{{View}}"]'; |
49 | - public $selectCustomerXpath = '//table[@id="customerGrid_table"]/descendant::td[concat(" ",normalize-space(.)," ") = " %s "]/../td/a[.="{{Edit}}"]'; |
|
49 | + public $selectCustomerXpath = '//table[@id="customerGrid_table"]/descendant::td[concat(" ",normalize-space(.)," ") = " %s "]/../td/a[.="{{Edit}}"]'; |
|
50 | 50 | |
51 | 51 | public $systemConfigSettingLabelXpath = '//td[@class="label"]/label[.=" {{%s}}"]'; |
52 | 52 | |
@@ -57,12 +57,12 @@ discard block |
||
57 | 57 | |
58 | 58 | public $guaranteedPageLoadedElementDisplayedXpath = '//div[@class="footer"]'; |
59 | 59 | |
60 | - public $successfulActionXpath = '//li[@class="success-msg"]'; |
|
60 | + public $successfulActionXpath = '//li[@class="success-msg"]'; |
|
61 | 61 | public $errorActionXpath = '//li[@class="error-msg"]'; |
62 | 62 | |
63 | 63 | public $shippingCarrierXpath = '//select[@name="tracking[%d][carrier_code]"]'; |
64 | - public $shippingTitleXpath = '//input[@name="tracking[%d][title]"]'; |
|
65 | - public $shippingTrackingNumberXpath = '//input[@name="tracking[%d][number]"]'; |
|
64 | + public $shippingTitleXpath = '//input[@name="tracking[%d][title]"]'; |
|
65 | + public $shippingTrackingNumberXpath = '//input[@name="tracking[%d][number]"]'; |
|
66 | 66 | |
67 | 67 | public $formButtonXpath = '//div[@class="content-header"]/p[@class="form-buttons"]/descendant::span[.="{{%s}}"]'; |
68 | 68 | |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | * @var string |
244 | 244 | */ |
245 | 245 | |
246 | - public $searchButtonText = '{{Search}}'; |
|
246 | + public $searchButtonText = '{{Search}}'; |
|
247 | 247 | |
248 | 248 | /** |
249 | 249 | * @return Translator |
@@ -569,7 +569,7 @@ discard block |
||
569 | 569 | */ |
570 | 570 | public function getBillingAddressXpath() |
571 | 571 | { |
572 | - return$this->translatePlaceholders( $this->billingAddressXpath); |
|
572 | + return$this->translatePlaceholders($this->billingAddressXpath); |
|
573 | 573 | } |
574 | 574 | |
575 | 575 | /** |
@@ -677,7 +677,7 @@ discard block |
||
677 | 677 | */ |
678 | 678 | public function getCartSummaryCheckoutProductLoopPriceXpath($itemCount) |
679 | 679 | { |
680 | - $return = sprintf($this->cartSummaryCheckoutProductLoopPriceXpath , $itemCount); |
|
680 | + $return = sprintf($this->cartSummaryCheckoutProductLoopPriceXpath, $itemCount); |
|
681 | 681 | return $this->translatePlaceholders($return); |
682 | 682 | } |
683 | 683 | |
@@ -686,7 +686,7 @@ discard block |
||
686 | 686 | */ |
687 | 687 | public function getCartSummaryCheckoutProductLoopNameXpath($itemCount) |
688 | 688 | { |
689 | - $return = sprintf($this->cartSummaryCheckoutProductLoopNameXpath , $itemCount); |
|
689 | + $return = sprintf($this->cartSummaryCheckoutProductLoopNameXpath, $itemCount); |
|
690 | 690 | return $this->translatePlaceholders($return); |
691 | 691 | } |
692 | 692 | |
@@ -695,7 +695,7 @@ discard block |
||
695 | 695 | */ |
696 | 696 | public function getCartSummaryCheckoutProductLoopQtyXpath($itemCount) |
697 | 697 | { |
698 | - $return = sprintf($this->cartSummaryCheckoutProductLoopQtyXpath , $itemCount); |
|
698 | + $return = sprintf($this->cartSummaryCheckoutProductLoopQtyXpath, $itemCount); |
|
699 | 699 | return $this->translatePlaceholders($return); |
700 | 700 | } |
701 | 701 | |
@@ -704,7 +704,7 @@ discard block |
||
704 | 704 | */ |
705 | 705 | public function getCartSummaryCheckoutProductLoopSubtotalXpath($itemCount) |
706 | 706 | { |
707 | - $return = sprintf($this->cartSummaryCheckoutProductLoopSubtotalXpath , $itemCount); |
|
707 | + $return = sprintf($this->cartSummaryCheckoutProductLoopSubtotalXpath, $itemCount); |
|
708 | 708 | return $this->translatePlaceholders($return); |
709 | 709 | } |
710 | 710 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | |
6 | 6 | use Magium\AbstractConfigurableElement; |
7 | -use Magium\Themes\ThemeConfigurationInterface; |
|
8 | 7 | |
9 | 8 | abstract class AbstractThemeConfiguration extends AbstractConfigurableElement |
10 | 9 | { |