Completed
Push — 1.3-make-js-behat-faster ( 85e122 )
by Kamil
09:41
created
src/Sylius/Behat/Page/Admin/Order/UpdatePageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,8 +18,14 @@
 block discarded – undo
18 18
 
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function specifyShippingAddress(AddressInterface $address): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function specifyBillingAddress(AddressInterface $address): void;
24 30
 
25 31
     public function checkValidationMessageFor(string $element, string $message): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PaymentMethod/CreatePageInterface.php 1 patch
Doc Comments   +36 added lines patch added patch discarded remove patch
@@ -17,28 +17,64 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function enable(): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function disable(): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function nameIt(string $name, string $languageCode): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function specifyCode(string $code): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function checkChannel(string $channelName): void;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function describeIt(string $description, string $languageCode): void;
31 49
 
50
+    /**
51
+     * @return void
52
+     */
32 53
     public function setInstructions(string $instructions, string $languageCode): void;
33 54
 
55
+    /**
56
+     * @return void
57
+     */
34 58
     public function setPaypalGatewayUsername(string $username): void;
35 59
 
60
+    /**
61
+     * @return void
62
+     */
36 63
     public function setPaypalGatewayPassword(string $password): void;
37 64
 
65
+    /**
66
+     * @return void
67
+     */
38 68
     public function setPaypalGatewaySignature(string $signature): void;
39 69
 
70
+    /**
71
+     * @return void
72
+     */
40 73
     public function setStripeSecretKey(string $secretKey): void;
41 74
 
75
+    /**
76
+     * @return void
77
+     */
42 78
     public function setStripePublishableKey(string $publishableKey): void;
43 79
 
44 80
     public function isCodeDisabled(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PaymentMethod/UpdatePageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -17,16 +17,34 @@
 block discarded – undo
17 17
 
18 18
 interface UpdatePageInterface extends BaseUpdatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function enable(): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function disable(): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function nameIt(string $name, string $languageCode): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function setPaypalGatewayUsername(string $username): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function setPaypalGatewayPassword(string $password): void;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function setPaypalGatewaySignature(string $signature): void;
31 49
 
32 50
     public function isCodeDisabled(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/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 CrudIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function filterByTaxon(string $taxonName): void;
21 24
 
22 25
     public function hasProductAccessibleImage(string $productCode): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPerTaxonPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,7 +19,13 @@
 block discarded – undo
19 19
 {
20 20
     public function hasProductsInOrder(array $productNames): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function setPositionOfProduct(string $productName, int $position): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function savePositions(): void;
25 31
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateConfigurableProductPage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -192,6 +192,9 @@
 block discarded – undo
192 192
         }
193 193
     }
194 194
 
195
+    /**
196
+     * @return string
197
+     */
195 198
     private function getImageElementByType(string $type): ?NodeElement
196 199
     {
197 200
         $images = $this->getElement('images');
Please login to merge, or discard this patch.
Sylius/Behat/Page/Admin/Product/UpdateConfigurableProductPageInterface.php 1 patch
Doc Comments   +22 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@  discard block
 block discarded – undo
20 20
 {
21 21
     public function isCodeDisabled(): bool;
22 22
 
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function nameItIn(string $name, string $localeCode): void;
24 27
 
25 28
     public function isProductOptionChosen(string $option): bool;
@@ -28,23 +31,42 @@  discard block
 block discarded – undo
28 31
 
29 32
     public function isMainTaxonChosen(string $taxonName): bool;
30 33
 
34
+    /**
35
+     * @return void
36
+     */
31 37
     public function selectMainTaxon(TaxonInterface $taxon): void;
32 38
 
39
+    /**
40
+     * @return void
41
+     */
33 42
     public function checkChannel(string $channelName): void;
34 43
 
35 44
     public function isImageWithTypeDisplayed(string $type): bool;
36 45
 
37 46
     /**
38 47
      * @param string $type
48
+     * @return void
39 49
      */
40 50
     public function attachImage(string $path, string $type = null): void;
41 51
 
52
+    /**
53
+     * @return void
54
+     */
42 55
     public function changeImageWithType(string $type, string $path): void;
43 56
 
57
+    /**
58
+     * @return void
59
+     */
44 60
     public function removeImageWithType(string $type): void;
45 61
 
62
+    /**
63
+     * @return void
64
+     */
46 65
     public function removeFirstImage(): void;
47 66
 
67
+    /**
68
+     * @return void
69
+     */
48 70
     public function modifyFirstImageType(string $type): void;
49 71
 
50 72
     public function countImages(): int;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateSimpleProductPageInterface.php 1 patch
Doc Comments   +50 added lines patch added patch discarded remove patch
@@ -25,14 +25,29 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function isSlugReadonlyIn(string $locale): bool;
27 27
 
28
+    /**
29
+     * @return void
30
+     */
28 31
     public function specifyPrice(string $channelName, string $price): void;
29 32
 
33
+    /**
34
+     * @return void
35
+     */
30 36
     public function specifyOriginalPrice(string $channelName, string $originalPrice): void;
31 37
 
38
+    /**
39
+     * @return void
40
+     */
32 41
     public function nameItIn(string $name, string $localeCode): void;
33 42
 
43
+    /**
44
+     * @return void
45
+     */
34 46
     public function addSelectedAttributes(): void;
35 47
 
48
+    /**
49
+     * @return void
50
+     */
36 51
     public function removeAttribute(string $attributeName, string $localeCode): void;
37 52
 
38 53
     public function getAttributeValue(string $attributeName, string $localeCode): string;
@@ -45,48 +60,83 @@  discard block
 block discarded – undo
45 60
 
46 61
     public function isMainTaxonChosen(string $taxonName): bool;
47 62
 
63
+    /**
64
+     * @return void
65
+     */
48 66
     public function selectMainTaxon(TaxonInterface $taxon): void;
49 67
 
68
+    /**
69
+     * @return void
70
+     */
50 71
     public function disableTracking(): void;
51 72
 
73
+    /**
74
+     * @return void
75
+     */
52 76
     public function enableTracking(): void;
53 77
 
54 78
     public function isTracked(): bool;
55 79
 
80
+    /**
81
+     * @return void
82
+     */
56 83
     public function enableSlugModification(string $locale): void;
57 84
 
58 85
     public function isImageWithTypeDisplayed(string $type): bool;
59 86
 
60 87
     /**
61 88
      * @param string $type
89
+     * @return void
62 90
      */
63 91
     public function attachImage(string $path, string $type = null): void;
64 92
 
93
+    /**
94
+     * @return void
95
+     */
65 96
     public function changeImageWithType(string $type, string $path): void;
66 97
 
98
+    /**
99
+     * @return void
100
+     */
67 101
     public function removeImageWithType(string $type): void;
68 102
 
103
+    /**
104
+     * @return void
105
+     */
69 106
     public function removeFirstImage(): void;
70 107
 
108
+    /**
109
+     * @return void
110
+     */
71 111
     public function modifyFirstImageType(string $type): void;
72 112
 
73 113
     public function countImages(): int;
74 114
 
75 115
     /**
76 116
      * @param string[] $productsNames
117
+     * @return void
77 118
      */
78 119
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames): void;
79 120
 
80 121
     public function hasAssociatedProduct(string $productName, ProductAssociationTypeInterface $productAssociationType): bool;
81 122
 
123
+    /**
124
+     * @return void
125
+     */
82 126
     public function removeAssociatedProduct(string $productName, ProductAssociationTypeInterface $productAssociationType): void;
83 127
 
84 128
     public function getPricingConfigurationForChannelAndCurrencyCalculator(ChannelInterface $channel, CurrencyInterface $currency): string;
85 129
 
130
+    /**
131
+     * @return void
132
+     */
86 133
     public function activateLanguageTab(string $locale): void;
87 134
 
88 135
     public function getSlug(string $locale): string;
89 136
 
137
+    /**
138
+     * @return void
139
+     */
90 140
     public function specifySlugIn(string $slug, string $locale): void;
91 141
 
92 142
     public function getPriceForChannel(string $channelName): string;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAssociationType/CreatePageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,7 +17,13 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
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 nameItIn(string $name, string $language): void;
23 29
 }
Please login to merge, or discard this patch.