@@ -17,42 +17,98 @@ |
||
| 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): 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 describeItAs(string $description): void; |
| 29 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 30 | 48 | public function setHostname(string $hostname): void; |
| 31 | 49 | |
| 50 | + /** |
|
| 51 | + * @return void |
|
| 52 | + */ |
|
| 32 | 53 | public function setContactEmail(string $contactEmail): void; |
| 33 | 54 | |
| 55 | + /** |
|
| 56 | + * @return void |
|
| 57 | + */ |
|
| 34 | 58 | public function setContactPhoneNumber(string $contactPhoneNumber): void; |
| 35 | 59 | |
| 60 | + /** |
|
| 61 | + * @return void |
|
| 62 | + */ |
|
| 36 | 63 | public function defineColor(string $color): void; |
| 37 | 64 | |
| 65 | + /** |
|
| 66 | + * @return void |
|
| 67 | + */ |
|
| 38 | 68 | public function chooseLocale(string $language): void; |
| 39 | 69 | |
| 70 | + /** |
|
| 71 | + * @return void |
|
| 72 | + */ |
|
| 40 | 73 | public function chooseCurrency(string $currencyCode): void; |
| 41 | 74 | |
| 75 | + /** |
|
| 76 | + * @return void |
|
| 77 | + */ |
|
| 42 | 78 | public function chooseDefaultTaxZone(string $taxZone): void; |
| 43 | 79 | |
| 80 | + /** |
|
| 81 | + * @param null|string $locale |
|
| 82 | + * |
|
| 83 | + * @return void |
|
| 84 | + */ |
|
| 44 | 85 | public function chooseDefaultLocale(?string $locale): void; |
| 45 | 86 | |
| 46 | 87 | /** @param string[] $countries */ |
| 47 | 88 | public function chooseOperatingCountries(array $countries): void; |
| 48 | 89 | |
| 90 | + /** |
|
| 91 | + * @return void |
|
| 92 | + */ |
|
| 49 | 93 | public function chooseBaseCurrency(?string $currency): void; |
| 50 | 94 | |
| 95 | + /** |
|
| 96 | + * @return void |
|
| 97 | + */ |
|
| 51 | 98 | public function chooseTaxCalculationStrategy(string $taxCalculationStrategy): void; |
| 52 | 99 | |
| 100 | + /** |
|
| 101 | + * @return void |
|
| 102 | + */ |
|
| 53 | 103 | public function allowToSkipShippingStep(): void; |
| 54 | 104 | |
| 105 | + /** |
|
| 106 | + * @return void |
|
| 107 | + */ |
|
| 55 | 108 | public function allowToSkipPaymentStep(): void; |
| 56 | 109 | |
| 110 | + /** |
|
| 111 | + * @return void |
|
| 112 | + */ |
|
| 57 | 113 | public function specifyMenuTaxon(string $menuTaxon): void; |
| 58 | 114 | } |
@@ -17,31 +17,55 @@ |
||
| 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 | |
| 24 | 30 | public function getFullName(): string; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 26 | 35 | public function changeFirstName(string $firstName): void; |
| 27 | 36 | |
| 28 | 37 | public function getFirstName(): string; |
| 29 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 30 | 42 | public function changeLastName(string $lastName): void; |
| 31 | 43 | |
| 32 | 44 | public function getLastName(): string; |
| 33 | 45 | |
| 46 | + /** |
|
| 47 | + * @return void |
|
| 48 | + */ |
|
| 34 | 49 | public function changeEmail(string $email): void; |
| 35 | 50 | |
| 51 | + /** |
|
| 52 | + * @return void |
|
| 53 | + */ |
|
| 36 | 54 | public function changePassword(string $password): void; |
| 37 | 55 | |
| 38 | 56 | public function getPassword(): string; |
| 39 | 57 | |
| 58 | + /** |
|
| 59 | + * @return void |
|
| 60 | + */ |
|
| 40 | 61 | public function subscribeToTheNewsletter(): void; |
| 41 | 62 | |
| 42 | 63 | public function isSubscribedToTheNewsletter(): bool; |
| 43 | 64 | |
| 44 | 65 | public function getGroupName(): string; |
| 45 | 66 | |
| 67 | + /** |
|
| 68 | + * @return void |
|
| 69 | + */ |
|
| 46 | 70 | public function verifyUser(): void; |
| 47 | 71 | } |
@@ -17,17 +17,38 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function specifyFilterDateFrom(string $dateTime): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function specifyFilterDateTo(string $dateTime): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 24 | 33 | public function chooseChannelFilter(string $channelName): void; |
| 25 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 26 | 38 | public function chooseShippingMethodFilter(string $methodName): void; |
| 27 | 39 | |
| 40 | + /** |
|
| 41 | + * @return void |
|
| 42 | + */ |
|
| 28 | 43 | public function chooseCurrencyFilter(string $currencyName): void; |
| 29 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 30 | 48 | public function specifyFilterTotalGreaterThan(string $total): void; |
| 31 | 49 | |
| 50 | + /** |
|
| 51 | + * @return void |
|
| 52 | + */ |
|
| 32 | 53 | public function specifyFilterTotalLessThan(string $total): void; |
| 33 | 54 | } |
@@ -20,43 +20,91 @@ |
||
| 20 | 20 | |
| 21 | 21 | interface CreateSimpleProductPageInterface extends BaseCreatePageInterface |
| 22 | 22 | { |
| 23 | + /** |
|
| 24 | + * @return void |
|
| 25 | + */ |
|
| 23 | 26 | public function specifyPrice(ChannelInterface $channel, string $price): void; |
| 24 | 27 | |
| 28 | + /** |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 25 | 31 | public function specifyOriginalPrice(ChannelInterface $channel, int $originalPrice): void; |
| 26 | 32 | |
| 33 | + /** |
|
| 34 | + * @return void |
|
| 35 | + */ |
|
| 27 | 36 | public function choosePricingCalculator(string $name): void; |
| 28 | 37 | |
| 38 | + /** |
|
| 39 | + * @return void |
|
| 40 | + */ |
|
| 29 | 41 | public function checkChannel(string $channelName): void; |
| 30 | 42 | |
| 43 | + /** |
|
| 44 | + * @return void |
|
| 45 | + */ |
|
| 31 | 46 | public function specifyCode(string $code): void; |
| 32 | 47 | |
| 48 | + /** |
|
| 49 | + * @return void |
|
| 50 | + */ |
|
| 33 | 51 | public function nameItIn(string $name, string $localeCode): void; |
| 34 | 52 | |
| 53 | + /** |
|
| 54 | + * @return void |
|
| 55 | + */ |
|
| 35 | 56 | public function specifySlugIn(?string $slug, string $locale): void; |
| 36 | 57 | |
| 58 | + /** |
|
| 59 | + * @return void |
|
| 60 | + */ |
|
| 37 | 61 | public function addAttribute(string $attributeName, string $value, string $localeCode): void; |
| 38 | 62 | |
| 39 | 63 | public function getAttributeValidationErrors(string $attributeName, string $localeCode): string; |
| 40 | 64 | |
| 65 | + /** |
|
| 66 | + * @return void |
|
| 67 | + */ |
|
| 41 | 68 | public function removeAttribute(string $attributeName, string $localeCode): void; |
| 42 | 69 | |
| 43 | 70 | public function isMainTaxonChosen(string $taxonName): bool; |
| 44 | 71 | |
| 72 | + /** |
|
| 73 | + * @return void |
|
| 74 | + */ |
|
| 45 | 75 | public function selectMainTaxon(TaxonInterface $taxon): void; |
| 46 | 76 | |
| 77 | + /** |
|
| 78 | + * @param string $type |
|
| 79 | + * |
|
| 80 | + * @return void |
|
| 81 | + */ |
|
| 47 | 82 | public function attachImage(string $path, ?string $type = null): void; |
| 48 | 83 | |
| 49 | 84 | /** |
| 50 | 85 | * @param string[] $productsNames |
| 86 | + * @return void |
|
| 51 | 87 | */ |
| 52 | 88 | public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames): void; |
| 53 | 89 | |
| 90 | + /** |
|
| 91 | + * @return void |
|
| 92 | + */ |
|
| 54 | 93 | public function removeAssociatedProduct(string $productName, ProductAssociationTypeInterface $productAssociationType): void; |
| 55 | 94 | |
| 95 | + /** |
|
| 96 | + * @return void |
|
| 97 | + */ |
|
| 56 | 98 | public function activateLanguageTab(string $locale): void; |
| 57 | 99 | |
| 100 | + /** |
|
| 101 | + * @return void |
|
| 102 | + */ |
|
| 58 | 103 | public function selectShippingCategory(string $shippingCategoryName): void; |
| 59 | 104 | |
| 105 | + /** |
|
| 106 | + * @return void |
|
| 107 | + */ |
|
| 60 | 108 | public function setShippingRequired(bool $isShippingRequired): void; |
| 61 | 109 | |
| 62 | 110 | public function getChannelPricingValidationMessage(): string; |
@@ -17,13 +17,25 @@ |
||
| 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; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function showProductPage(string $productName): void; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 26 | 35 | public function chooseChannelFilter(string $channelName): void; |
| 27 | 36 | |
| 37 | + /** |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 28 | 40 | public function filter(): void; |
| 29 | 41 | } |
@@ -25,14 +25,29 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | public function isSlugReadonlyIn(string $locale): bool; |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 28 | 31 | public function specifyPrice(ChannelInterface $channel, string $price): void; |
| 29 | 32 | |
| 33 | + /** |
|
| 34 | + * @return void |
|
| 35 | + */ |
|
| 30 | 36 | public function specifyOriginalPrice(ChannelInterface $channel, 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 |
||
| 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(ChannelInterface $channel): string; |
@@ -95,24 +145,45 @@ discard block |
||
| 95 | 145 | |
| 96 | 146 | public function isShippingRequired(): bool; |
| 97 | 147 | |
| 148 | + /** |
|
| 149 | + * @return void |
|
| 150 | + */ |
|
| 98 | 151 | public function goToVariantsList(): void; |
| 99 | 152 | |
| 153 | + /** |
|
| 154 | + * @return void |
|
| 155 | + */ |
|
| 100 | 156 | public function goToVariantCreation(): void; |
| 101 | 157 | |
| 158 | + /** |
|
| 159 | + * @return void |
|
| 160 | + */ |
|
| 102 | 161 | public function goToVariantGeneration(): void; |
| 103 | 162 | |
| 104 | 163 | public function hasInventoryTab(): bool; |
| 105 | 164 | |
| 106 | 165 | public function isShowInShopButtonDisabled(): bool; |
| 107 | 166 | |
| 167 | + /** |
|
| 168 | + * @return void |
|
| 169 | + */ |
|
| 108 | 170 | public function showProductInChannel(string $channel): void; |
| 109 | 171 | |
| 172 | + /** |
|
| 173 | + * @return void |
|
| 174 | + */ |
|
| 110 | 175 | public function showProductInSingleChannel(): void; |
| 111 | 176 | |
| 177 | + /** |
|
| 178 | + * @return void |
|
| 179 | + */ |
|
| 112 | 180 | public function disable(): void; |
| 113 | 181 | |
| 114 | 182 | public function isEnabled(): bool; |
| 115 | 183 | |
| 184 | + /** |
|
| 185 | + * @return void |
|
| 186 | + */ |
|
| 116 | 187 | public function enable(): void; |
| 117 | 188 | |
| 118 | 189 | public function hasNoPriceForChannel(string $channelName): bool; |
@@ -18,27 +18,57 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface CreatePageInterface extends BaseCreatePageInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function specifyPrice(string $price, ChannelInterface $channelName): void; |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 23 | 29 | public function specifyOriginalPrice(string $originalPrice, ChannelInterface $channelName): void; |
| 24 | 30 | |
| 31 | + /** |
|
| 32 | + * @return void |
|
| 33 | + */ |
|
| 25 | 34 | public function specifyHeightWidthDepthAndWeight(string $height, string $width, string $depth, string $weight): void; |
| 26 | 35 | |
| 36 | + /** |
|
| 37 | + * @return void |
|
| 38 | + */ |
|
| 27 | 39 | public function specifyCode(string $code): void; |
| 28 | 40 | |
| 41 | + /** |
|
| 42 | + * @return void |
|
| 43 | + */ |
|
| 29 | 44 | public function specifyCurrentStock(string $currentStock): void; |
| 30 | 45 | |
| 46 | + /** |
|
| 47 | + * @return void |
|
| 48 | + */ |
|
| 31 | 49 | public function nameItIn(string $name, string $language): void; |
| 32 | 50 | |
| 51 | + /** |
|
| 52 | + * @return void |
|
| 53 | + */ |
|
| 33 | 54 | public function selectOption(string $optionName, string $optionValue): void; |
| 34 | 55 | |
| 56 | + /** |
|
| 57 | + * @return void |
|
| 58 | + */ |
|
| 35 | 59 | public function choosePricingCalculator(string $name): void; |
| 36 | 60 | |
| 37 | 61 | public function getValidationMessageForForm(): string; |
| 38 | 62 | |
| 63 | + /** |
|
| 64 | + * @return void |
|
| 65 | + */ |
|
| 39 | 66 | public function selectShippingCategory(string $shippingCategoryName): void; |
| 40 | 67 | |
| 41 | 68 | public function getPricesValidationMessage(): string; |
| 42 | 69 | |
| 70 | + /** |
|
| 71 | + * @return void |
|
| 72 | + */ |
|
| 43 | 73 | public function setShippingRequired(bool $isShippingRequired): void; |
| 44 | 74 | } |
@@ -18,12 +18,24 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface GeneratePageInterface extends SymfonyPageInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function generate(): void; |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 23 | 29 | public function specifyPrice(int $nth, int $price, ChannelInterface $channel): void; |
| 24 | 30 | |
| 31 | + /** |
|
| 32 | + * @return void |
|
| 33 | + */ |
|
| 25 | 34 | public function specifyCode(int $nth, string $code): void; |
| 26 | 35 | |
| 36 | + /** |
|
| 37 | + * @return void |
|
| 38 | + */ |
|
| 27 | 39 | public function removeVariant(int $nth): void; |
| 28 | 40 | |
| 29 | 41 | public function getValidationMessage(string $element, int $position): string; |
@@ -17,20 +17,38 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function chooseStateToFilter(string $shipmentState): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function chooseChannelFilter(string $channelName): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 24 | 33 | public function chooseShippingMethodFilter(string $shippingMethodName): void; |
| 25 | 34 | |
| 26 | 35 | public function isShipmentWithOrderNumberInPosition(string $orderNumber, int $position): bool; |
| 27 | 36 | |
| 37 | + /** |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 28 | 40 | public function shipShipmentOfOrderWithNumber(string $orderNumber): void; |
| 29 | 41 | |
| 30 | 42 | public function getShipmentStatusByOrderNumber(string $orderNumber): string; |
| 31 | 43 | |
| 44 | + /** |
|
| 45 | + * @return void |
|
| 46 | + */ |
|
| 32 | 47 | public function showOrderPageForNthShipment(int $position): void; |
| 33 | 48 | |
| 49 | + /** |
|
| 50 | + * @return void |
|
| 51 | + */ |
|
| 34 | 52 | public function shipShipmentOfOrderWithTrackingCode(string $orderNumber, string $trackingCode): void; |
| 35 | 53 | |
| 36 | 54 | public function getShippedAtDate(string $orderNumber): string; |