@@ -19,9 +19,18 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public function hasValidationErrorWith(string $message): bool; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return void |
|
| 24 | + */ |
|
| 22 | 25 | public function logIn(): void; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function specifyPassword(string $password): void; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 26 | 35 | public function specifyUsername(string $username): void; |
| 27 | 36 | } |
@@ -19,7 +19,13 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public function checkValidationMessageFor(string $element, string $message): bool; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return void |
|
| 24 | + */ |
|
| 22 | 25 | public function reset(): void; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function specifyEmail(?string $email): void; |
| 25 | 31 | } |
@@ -24,6 +24,9 @@ discard block |
||
| 24 | 24 | |
| 25 | 25 | public function hasLogoutButton(): bool; |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 27 | 30 | public function logOut(); |
| 28 | 31 | |
| 29 | 32 | /** |
@@ -43,6 +46,7 @@ discard block |
||
| 43 | 46 | |
| 44 | 47 | /** |
| 45 | 48 | * @param string $currencyCode |
| 49 | + * @return void |
|
| 46 | 50 | */ |
| 47 | 51 | public function switchCurrency($currencyCode); |
| 48 | 52 | |
@@ -58,6 +62,7 @@ discard block |
||
| 58 | 62 | |
| 59 | 63 | /** |
| 60 | 64 | * @param string $localeCode |
| 65 | + * @return void |
|
| 61 | 66 | */ |
| 62 | 67 | public function switchLocale($localeCode); |
| 63 | 68 | |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | 'sylius_test_form_attribute', |
| 37 | 37 | function (string $name, ?string $value = null): array { |
| 38 | 38 | if (strpos($this->env, 'test') === 0) { |
| 39 | - return ['attr' => ['data-test-'.$name => (string) $value]]; |
|
| 39 | + return ['attr' => ['data-test-' . $name => (string) $value]]; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | return []; |