Completed
Push — 1.3-make-js-behat-faster ( 85e122 )
by Kamil
09:41
created
src/Sylius/Behat/Page/Admin/Promotion/CreatePageInterface.php 1 patch
Doc Comments   +50 added lines patch added patch discarded remove patch
@@ -18,41 +18,90 @@  discard block
 block discarded – undo
18 18
 
19 19
 interface CreatePageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function specifyCode(string $code): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function nameIt(string $name): void;
24 30
 
31
+    /**
32
+     * @return void
33
+     */
25 34
     public function addRule(string $ruleName): void;
26 35
 
36
+    /**
37
+     * @return void
38
+     */
27 39
     public function selectRuleOption(string $option, string $value, bool $multiple = false): void;
28 40
 
29 41
     /**
30 42
      * @param string|string[] $value
43
+     * @return void
31 44
      */
32 45
     public function selectAutocompleteRuleOption(string $option, $value, bool $multiple = false): void;
33 46
 
47
+    /**
48
+     * @return void
49
+     */
34 50
     public function fillRuleOption(string $option, string $value): void;
35 51
 
52
+    /**
53
+     * @return void
54
+     */
36 55
     public function fillRuleOptionForChannel(string $channelName, string $option, string $value): void;
37 56
 
57
+    /**
58
+     * @return void
59
+     */
38 60
     public function addAction(string $actionName): void;
39 61
 
62
+    /**
63
+     * @return void
64
+     */
40 65
     public function selectActionOption(string $option, string $value, bool $multiple = false): void;
41 66
 
67
+    /**
68
+     * @return void
69
+     */
42 70
     public function fillActionOption(string $option, string $value): void;
43 71
 
72
+    /**
73
+     * @return void
74
+     */
44 75
     public function fillActionOptionForChannel(string $channelName, string $option, string $value): void;
45 76
 
77
+    /**
78
+     * @return void
79
+     */
46 80
     public function fillUsageLimit(string $limit): void;
47 81
 
82
+    /**
83
+     * @return void
84
+     */
48 85
     public function makeExclusive(): void;
49 86
 
87
+    /**
88
+     * @return void
89
+     */
50 90
     public function checkCouponBased(): void;
51 91
 
92
+    /**
93
+     * @return void
94
+     */
52 95
     public function checkChannel(string $name): void;
53 96
 
97
+    /**
98
+     * @return void
99
+     */
54 100
     public function setStartsAt(\DateTimeInterface $dateTime): void;
55 101
 
102
+    /**
103
+     * @return void
104
+     */
56 105
     public function setEndsAt(\DateTimeInterface $dateTime): void;
57 106
 
58 107
     /**
@@ -62,6 +111,7 @@  discard block
 block discarded – undo
62 111
 
63 112
     /**
64 113
      * @param string|string[] $value
114
+     * @return void
65 115
      */
66 116
     public function selectAutoCompleteFilterOption(string $option, $value, bool $multiple = false): void;
67 117
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Promotion/UpdatePageInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -17,26 +17,50 @@
 block discarded – undo
17 17
 
18 18
 interface UpdatePageInterface extends BaseUpdatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setPriority(?int $priority): void;
21 24
 
22 25
     public function getPriority(): int;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function nameIt(string $name): void;
25 31
 
26 32
     public function checkChannelsState(string $channelName): bool;
27 33
 
28 34
     public function isCodeDisabled(): bool;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function fillUsageLimit(string $limit): void;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function makeExclusive(): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function checkCouponBased(): void;
35 50
 
51
+    /**
52
+     * @return void
53
+     */
36 54
     public function checkChannel(string $name): void;
37 55
 
56
+    /**
57
+     * @return void
58
+     */
38 59
     public function setStartsAt(\DateTimeInterface $dateTime): void;
39 60
 
61
+    /**
62
+     * @return void
63
+     */
40 64
     public function setEndsAt(\DateTimeInterface $dateTime): void;
41 65
 
42 66
     public function hasStartsAt(\DateTimeInterface $dateTime): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/CreatePageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -17,11 +17,23 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setCustomerUsageLimit(int $limit): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setExpiresAt(\DateTimeInterface $date): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function specifyCode(string $code): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function setUsageLimit(int $limit): void;
27 39
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/GeneratePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -23,13 +23,28 @@
 block discarded – undo
23 23
 
24 24
     public function checkGenerationValidation(string $message): bool;
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function generate(): void;
27 30
 
31
+    /**
32
+     * @return void
33
+     */
28 34
     public function specifyAmount(string $amount): void;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function specifyCodeLength(string $codeLength): void;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function setExpiresAt(\DateTimeInterface $date): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function setUsageLimit(int $limit): void;
35 50
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/UpdatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -19,9 +19,18 @@
 block discarded – undo
19 19
 {
20 20
     public function isCodeDisabled(): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function setCustomerUsageLimit(int $limit): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setExpiresAt(\DateTimeInterface $date): void;
25 31
 
32
+    /**
33
+     * @return void
34
+     */
26 35
     public function setUsageLimit(string $limit): void;
27 36
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingCategory/CreatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -17,9 +17,18 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInteface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function specifyCode(string $code): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function nameIt(string $name): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function specifyDescription(string $description): void;
25 34
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingMethod/CreatePageInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -18,20 +18,46 @@
 block discarded – undo
18 18
 
19 19
 interface CreatePageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function specifyCode(string $code): void;
22 25
 
26
+    /**
27
+     * @param null|integer $position
28
+     *
29
+     * @return void
30
+     */
23 31
     public function specifyPosition(?int $position): void;
24 32
 
33
+    /**
34
+     * @return void
35
+     */
25 36
     public function nameIt(string $name, string $language): void;
26 37
 
38
+    /**
39
+     * @return void
40
+     */
27 41
     public function describeIt(string $description, string $languageCode): void;
28 42
 
43
+    /**
44
+     * @return void
45
+     */
29 46
     public function specifyAmountForChannel(string $channelCode, string $amount): void;
30 47
 
48
+    /**
49
+     * @return void
50
+     */
31 51
     public function chooseZone(string $name): void;
32 52
 
53
+    /**
54
+     * @return void
55
+     */
33 56
     public function chooseCalculator(string $name): void;
34 57
 
58
+    /**
59
+     * @return void
60
+     */
35 61
     public function checkChannel($channelName): void;
36 62
 
37 63
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingMethod/IndexPageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function chooseArchival(string $isArchival): void;
21 24
 
22 25
     public function isArchivalFilterEnabled(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingMethod/UpdatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -22,10 +22,19 @@
 block discarded – undo
22 22
 
23 23
     public function isAvailableInChannel(string $channelName): bool;
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function enable(): void;
26 29
 
30
+    /**
31
+     * @return void
32
+     */
27 33
     public function disable(): void;
28 34
 
35
+    /**
36
+     * @return void
37
+     */
29 38
     public function removeZone(): void;
30 39
 
31 40
     /**
Please login to merge, or discard this patch.