@@ -57,7 +57,7 @@ |
||
57 | 57 | * * Tab/Section::name=Text Of Setting (will ensure that the correct section is navigated to, uses setting name (exact), not ID) |
58 | 58 | * * name=Text Of Setting (will not navigate, uses setting name (exact) not ID) |
59 | 59 | * |
60 | - * @param $identifier |
|
60 | + * @param string $identifier |
|
61 | 61 | * @param $value |
62 | 62 | * @throws \Magium\InvalidInstructionException |
63 | 63 | */ |
@@ -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; |
@@ -2,10 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Magium\Magento\Actions\Cart; |
4 | 4 | |
5 | -use Magium\Actions\WaitForPageLoaded; |
|
6 | 5 | use Magium\Magento\Extractors\Catalog\Cart\AddToCart; |
7 | 6 | use Magium\Magento\Extractors\Catalog\Product\ConfigurableProductOptions; |
8 | -use Magium\Magento\Extractors\Catalog\Product\Swatch; |
|
9 | 7 | use Magium\Magento\Extractors\Catalog\Product\Option; |
10 | 8 | use Magium\Magento\Extractors\Catalog\Product\SwatchValue; |
11 | 9 | use Magium\Magento\Extractors\Catalog\Product\Value; |
@@ -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 | { |
@@ -43,6 +43,9 @@ |
||
43 | 43 | return $this->messages; |
44 | 44 | } |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $message |
|
48 | + */ |
|
46 | 49 | public function addMessage($message) |
47 | 50 | { |
48 | 51 | $this->messages[] = $message; |
@@ -27,7 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param $nodePath |
30 | - * @return WebDriverElement |
|
30 | + * @return null|\Facebook\WebDriver\Remote\RemoteWebElement |
|
31 | 31 | */ |
32 | 32 | |
33 | 33 | public function getNode($nodePath) |
@@ -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 |
@@ -80,6 +80,9 @@ |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | |
83 | + /** |
|
84 | + * @param string $type |
|
85 | + */ |
|
83 | 86 | public function addFilterType($type) |
84 | 87 | { |
85 | 88 | $type = $this->filterTypeName($type); |