| @@ -65,7 +65,7 @@ | ||
| 65 | 65 |          $objects = $this->loadFixturesFromFile('books.yml'); | 
| 66 | 66 | |
| 67 | 67 | $data = | 
| 68 | - <<<EOT | |
| 68 | + <<<EOT | |
| 69 | 69 |          { | 
| 70 | 70 | "title": "Star Wars: Dark Disciple" | 
| 71 | 71 | } | 
| @@ -82,7 +82,7 @@ | ||
| 82 | 82 | $this->summaryPage->open(); | 
| 83 | 83 | |
| 84 | 84 | Assert::true( | 
| 85 | - $this->summaryPage->isEmpty(), | |
| 85 | + $this->summaryPage->isEmpty(), | |
| 86 | 86 | 'There should appear information about empty cart, but it does not.' | 
| 87 | 87 | ); | 
| 88 | 88 | } | 
| @@ -19,17 +19,25 @@ discard block | ||
| 19 | 19 | */ | 
| 20 | 20 | interface UpdatePageInterface extends BaseUpdatePageInterface | 
| 21 | 21 |  { | 
| 22 | + /** | |
| 23 | + * @return void | |
| 24 | + */ | |
| 22 | 25 | public function enable(); | 
| 23 | 26 | |
| 27 | + /** | |
| 28 | + * @return void | |
| 29 | + */ | |
| 24 | 30 | public function disable(); | 
| 25 | 31 | |
| 26 | 32 | /** | 
| 27 | 33 | * @param string $themeName | 
| 34 | + * @return void | |
| 28 | 35 | */ | 
| 29 | 36 | public function setTheme($themeName); | 
| 30 | 37 | |
| 31 | 38 | /** | 
| 32 | 39 | * @throws ElementNotFoundException | 
| 40 | + * @return void | |
| 33 | 41 | */ | 
| 34 | 42 | public function unsetTheme(); | 
| 35 | 43 | |
| @@ -40,6 +48,7 @@ discard block | ||
| 40 | 48 | |
| 41 | 49 | /** | 
| 42 | 50 | * @param string $language | 
| 51 | + * @return void | |
| 43 | 52 | */ | 
| 44 | 53 | public function chooseLocale($language); | 
| 45 | 54 | |
| @@ -52,6 +61,7 @@ discard block | ||
| 52 | 61 | |
| 53 | 62 | /** | 
| 54 | 63 | * @param string $currencyCode | 
| 64 | + * @return void | |
| 55 | 65 | */ | 
| 56 | 66 | public function chooseCurrency($currencyCode); | 
| 57 | 67 | |
| @@ -64,6 +74,7 @@ discard block | ||
| 64 | 74 | |
| 65 | 75 | /** | 
| 66 | 76 | * @param string $shippingMethod | 
| 77 | + * @return void | |
| 67 | 78 | */ | 
| 68 | 79 | public function chooseShippingMethod($shippingMethod); | 
| 69 | 80 | |
| @@ -76,6 +87,7 @@ discard block | ||
| 76 | 87 | |
| 77 | 88 | /** | 
| 78 | 89 | * @param string $paymentMethod | 
| 90 | + * @return void | |
| 79 | 91 | */ | 
| 80 | 92 | public function choosePaymentMethod($paymentMethod); | 
| 81 | 93 | |
| @@ -18,7 +18,14 @@ discard block | ||
| 18 | 18 | */ | 
| 19 | 19 | interface UpdatePageInterface extends BaseUpdatePageInterface | 
| 20 | 20 |  { | 
| 21 | + /** | |
| 22 | + * @return void | |
| 23 | + */ | |
| 21 | 24 | public function enable(); | 
| 25 | + | |
| 26 | + /** | |
| 27 | + * @return void | |
| 28 | + */ | |
| 22 | 29 | public function disable(); | 
| 23 | 30 | |
| 24 | 31 | /** | 
| @@ -44,28 +51,36 @@ discard block | ||
| 44 | 51 | * @param string $name | 
| 45 | 52 | * @param string $code | 
| 46 | 53 | * @param string|null $abbreviation | 
| 54 | + * @return void | |
| 47 | 55 | */ | 
| 48 | 56 | public function addProvince($name, $code, $abbreviation = null); | 
| 49 | 57 | |
| 50 | 58 | /** | 
| 51 | 59 | * @param string $provinceName | 
| 60 | + * @return void | |
| 52 | 61 | */ | 
| 53 | 62 | public function removeProvince($provinceName); | 
| 54 | 63 | |
| 64 | + /** | |
| 65 | + * @return void | |
| 66 | + */ | |
| 55 | 67 | public function clickAddProvinceButton(); | 
| 56 | 68 | |
| 57 | 69 | /** | 
| 58 | 70 | * @param string $provinceName | 
| 71 | + * @return void | |
| 59 | 72 | */ | 
| 60 | 73 | public function nameProvince($provinceName); | 
| 61 | 74 | |
| 62 | 75 | /** | 
| 63 | 76 | * @param string $provinceName | 
| 77 | + * @return void | |
| 64 | 78 | */ | 
| 65 | 79 | public function removeProvinceName($provinceName); | 
| 66 | 80 | |
| 67 | 81 | /** | 
| 68 | 82 | * @param string $provinceCode | 
| 83 | + * @return void | |
| 69 | 84 | */ | 
| 70 | 85 | public function specifyProvinceCode($provinceCode); | 
| 71 | 86 | } | 
| @@ -18,11 +18,19 @@ | ||
| 18 | 18 | */ | 
| 19 | 19 | interface UpdatePageInterface extends BaseUpdatePageInterface | 
| 20 | 20 |  { | 
| 21 | + /** | |
| 22 | + * @return void | |
| 23 | + */ | |
| 21 | 24 | public function enable(); | 
| 25 | + | |
| 26 | + /** | |
| 27 | + * @return void | |
| 28 | + */ | |
| 22 | 29 | public function disable(); | 
| 23 | 30 | |
| 24 | 31 | /** | 
| 25 | 32 | * @param string $exchangeRate | 
| 33 | + * @return void | |
| 26 | 34 | */ | 
| 27 | 35 | public function changeExchangeRate($exchangeRate); | 
| 28 | 36 | |
| @@ -18,6 +18,13 @@ | ||
| 18 | 18 | */ | 
| 19 | 19 | interface UpdatePageInterface extends BaseUpdatePageInterface | 
| 20 | 20 |  { | 
| 21 | + /** | |
| 22 | + * @return void | |
| 23 | + */ | |
| 21 | 24 | public function enable(); | 
| 25 | + | |
| 26 | + /** | |
| 27 | + * @return void | |
| 28 | + */ | |
| 22 | 29 | public function disable(); | 
| 23 | 30 | } | 
| @@ -18,11 +18,19 @@ discard block | ||
| 18 | 18 | */ | 
| 19 | 19 | interface UpdatePageInterface extends BaseUpdatePageInterface | 
| 20 | 20 |  { | 
| 21 | + /** | |
| 22 | + * @return void | |
| 23 | + */ | |
| 21 | 24 | public function enable(); | 
| 25 | + | |
| 26 | + /** | |
| 27 | + * @return void | |
| 28 | + */ | |
| 22 | 29 | public function disable(); | 
| 23 | 30 | |
| 24 | 31 | /** | 
| 25 | 32 | * @param string $gateway | 
| 33 | + * @return void | |
| 26 | 34 | */ | 
| 27 | 35 | public function chooseGateway($gateway); | 
| 28 | 36 | |
| @@ -39,6 +47,7 @@ discard block | ||
| 39 | 47 | /** | 
| 40 | 48 | * @param string $name | 
| 41 | 49 | * @param string $languageCode | 
| 50 | + * @return void | |
| 42 | 51 | */ | 
| 43 | 52 | public function nameIt($name, $languageCode); | 
| 44 | 53 | } | 
| @@ -20,23 +20,27 @@ | ||
| 20 | 20 |  { | 
| 21 | 21 | /** | 
| 22 | 22 | * @param string $code | 
| 23 | + * @return void | |
| 23 | 24 | */ | 
| 24 | 25 | public function specifyCode($code); | 
| 25 | 26 | |
| 26 | 27 | /** | 
| 27 | 28 | * @param string $name | 
| 28 | 29 | * @param string $language | 
| 30 | + * @return void | |
| 29 | 31 | */ | 
| 30 | 32 | public function nameItIn($name, $language); | 
| 31 | 33 | |
| 32 | 34 | /** | 
| 33 | 35 | * @param string $code | 
| 34 | 36 | * @param string $value | 
| 37 | + * @return void | |
| 35 | 38 | */ | 
| 36 | 39 | public function addOptionValue($code, $value); | 
| 37 | 40 | |
| 38 | 41 | /** | 
| 39 | 42 | * @param string $message | 
| 43 | + * @return boolean | |
| 40 | 44 | */ | 
| 41 | 45 | public function checkValidationMessageForOptionValues($message); | 
| 42 | 46 | } | 
| @@ -26,22 +26,26 @@ | ||
| 26 | 26 | /** | 
| 27 | 27 | * @param string $name | 
| 28 | 28 | * @param string $languageCode | 
| 29 | + * @return void | |
| 29 | 30 | */ | 
| 30 | 31 | public function nameItIn($name, $languageCode); | 
| 31 | 32 | |
| 32 | 33 | /** | 
| 33 | 34 | * @param string $optionValue | 
| 35 | + * @return boolean | |
| 34 | 36 | */ | 
| 35 | 37 | public function isThereOptionValue($optionValue); | 
| 36 | 38 | |
| 37 | 39 | /** | 
| 38 | 40 | * @param string $code | 
| 39 | 41 | * @param string $value | 
| 42 | + * @return void | |
| 40 | 43 | */ | 
| 41 | 44 | public function addOptionValue($code, $value); | 
| 42 | 45 | |
| 43 | 46 | /** | 
| 44 | 47 | * @param string $optionValue | 
| 48 | + * @return void | |
| 45 | 49 | */ | 
| 46 | 50 | public function removeOptionValue($optionValue); | 
| 47 | 51 | } |