Commit graph

4038 commits

Author SHA1 Message Date
Jacob Tobiasz
d6cc9388af Cover seeing_order_shipping_taxes.feature scenarios 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
f79bcbe1ad Cover seeing_order_shipping_fees.feature scenarios 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
75ef2ec63c Cover seeing_order_shipment_state_as_shipped_if_there_is_not_shipments_to_deliver.feature scenarios 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
3e418b3c1e Cover seeing_order_shipment_state_after_checkout.feature scenarios 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
93a19edb68 Cover seeing_order_payment_state_as_completed_if_order_total_is_zero.feature scenarios 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
99177c90d7 Cover seeing_order_payment_state_as_completed_if_free_order_coupon_was_applied.feature scenarios 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
ed791979f5 [WIP] Cover seeing_order_currency_on_show.feature scenarios 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
4bc7507e91 Cover seeing_order_aggregated_taxes.feature scenarios 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
83ec73fb52 Cover seeing_order_aggregated_discounts.feature scenarios 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
4fd3594435 Cover seeing_order_discount.feature scenarios 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
f8afcb4328 Cover seeing_shipment_shipping_date.feature scenario 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
0091e3a903 Cover seeing_province_created_manually_on_order_page.feature scenario 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
aa35e5304e Cover seeing_order_without_shipping_address.feature scenario 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
5eba66bf45 Cover seeing_order_with_items.feature scenario 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
2caee8b16e Cover seeing_order.feature scenario 2023-12-04 16:02:57 +01:00
Jacob Tobiasz
c861cc51bc
[UPMERGE] 1.12 -> 1.13 (#15594) 2023-12-04 15:48:51 +01:00
Jacob Tobiasz
eb5218b574
Fix product name's casing in the Behat scenario 2023-12-04 15:19:44 +01:00
Jacob Tobiasz
1310d4eea8
minor #15516 [Maintenance][Behat] Add suite isolation (NoResponseMate)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 |
| Bug fix?        | kinda                                                       |
| New feature?    | kinda                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | -                      |
| License         | MIT                                                          |

Commits
-------
  [Maintenance][Behat] Add suite isolation
  [Maintenance] Fix postgres behats
2023-12-04 13:08:29 +01:00
Grzegorz Sadowski
079766a2c2
feature #15539 [API][Admin] Promotion coupons management(CRUD) (NoResponseMate, Wojdylak)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 |
| Bug fix?        | no                                                       |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | -                      |
| License         | MIT                                                          |

Commits
-------

47153967eb [API][Admin] Browsing coupons
41efb5f437 [API][Admin] Sorting coupons
cb3770b564 [API][Admin] Deleting coupons
9b884466f4 [API][Admin] Creating coupons
54b87d0913 [API][Admin] Updating coupons
ae13ab3969 [API][Admin] Validating coupons
854393e293 Add coupons to payload in PromotionCouponsTest
6d33557dc9 Add api test for coupon_unique_code_validation.feature
440a75ab83 Resolve phpstan issues
e6f4b2b344 Add PromotionCouponCannotBeRemoved to code mapping
c0ac149d0e [ApiBundle] Add promotion coupon endpoint as a subresource
41ed0f33d5 [ApiBundle] Add PromotionCouponPromotionFilter class
08251e45c3 [ApiBundle] Resolve phpstan issues
e82780e1c0 [ApiBundle] Add to test information abut PromotionCouponPromotionFilter
2023-12-01 13:23:42 +01:00
Rafikooo
62f787d307
[Behat] Introduce the proper format in the rest of the prices 2023-12-01 03:48:01 +01:00
Rafikooo
8a523e43f9
[Behat] Apply the decimal part of the price in every scenario 2023-12-01 03:48:01 +01:00
Rafikooo
7bcf3f0b33
[Behat] Improve the dashboard scenarios 2023-12-01 03:48:01 +01:00
Rafikooo
78b8ddb456
[Behat] Unify the money format across scenarios 2023-12-01 03:48:00 +01:00
Grzegorz Sadowski
b450f1daf9
feature #15566 Cover 'order filtration' scenarios in API (TheMilek)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                     |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

f648e8d9c4 Cover 'order filtration' scenarios in API
0fd9270ae8 Add necessary filters
9e9ea63578 Adjust constract test response after changes
2023-11-30 15:23:18 +01:00
Jan Goralski
194b591335
[Maintenance] Fix postgres behats 2023-11-30 12:28:55 +01:00
Wojdylak
c0ac149d0e [ApiBundle] Add promotion coupon endpoint as a subresource 2023-11-30 10:38:40 +01:00
Wojdylak
6d33557dc9 Add api test for coupon_unique_code_validation.feature 2023-11-30 10:38:40 +01:00
Jan Goralski
ae13ab3969 [API][Admin] Validating coupons 2023-11-30 10:38:40 +01:00
Jan Goralski
54b87d0913 [API][Admin] Updating coupons 2023-11-30 10:38:40 +01:00
Jan Goralski
9b884466f4 [API][Admin] Creating coupons 2023-11-30 10:38:40 +01:00
Jan Goralski
cb3770b564 [API][Admin] Deleting coupons 2023-11-30 10:38:40 +01:00
Jan Goralski
41efb5f437 [API][Admin] Sorting coupons 2023-11-30 10:38:40 +01:00
Jan Goralski
47153967eb [API][Admin] Browsing coupons 2023-11-30 10:38:40 +01:00
Jan Góralski
098e18b5ad
feature #15509 [API][Admin] Managing product images (GSadee)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13|
| Bug fix?        | no                                                      |
| New feature?    | yes                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no|
| Related tickets | based on #15504  |
| License         | MIT                                                          |

<img width="910" alt="image" src="https://github.com/Sylius/Sylius/assets/40125720/ff02d8be-c365-4845-9bea-1e48dd07abde">


<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  [API][Admin] Add GET endpoints for product image resource
  [Behat][API][Admin] Cover viewing images of product
  [API][Shop] Adjust contract tests for product images
  [API][Admin] Add POST endpoint for product image resource
  [Behat][API][Admin] Cover adding images to existing product
  [API][Admin] Add DELETE endpoint for product image resource
  [Behat][API][Admin] Cover removing images of product
  [API][Admin] Add PUT endpoint for product image resource
  [API][Admin] Add missing owner field to contract tests responses of product images
  [Behat][API][Admin] Cover changing images of product
  [API] Fixes to managing product images according to the changes on managing taxon images
  [API][Admin] Add managing product variants on product images
  [API][Admin] Validate product variants on product images
  [Behat][API][Admin] Add scenarios for managing product variants on product images
  [API][Admin] Add filtering product images by product variant
  Fix static analysis
  [API][Admin] Add missing product variants of images to product response
  [API][Admin] Fix problem with getting non-scalar value from parameter bag
  [API][Admin] Improve request body schema for product image POST endpoint
  [API] Extract controllers definitions to a separate file
  [API] Fixes after PR review
  [Core] Fix service id of validator for checking product images variants
2023-11-30 10:30:56 +01:00
Grzegorz Sadowski
bc7d625baf
Merge branch '1.12' into 1.13
* 1.12:
  [CS][DX] Refactor
  Resolve phpstan issues
  Resolve psalm issues
  Fix Spec tests
  Update src/Sylius/Component/Product/Resolver/DefaultProductVariantResolver.php
  Using findBy to avoid PSALM error
  Add Scenario to test default variant
  Add orderBy position and id to get the same sets used on ->getEnabledVariants()
  mention about service new argument
  Add deprecation notice mention by @diimpp
2023-11-30 07:46:32 +01:00
Grzegorz Sadowski
430fdcfaa6
[Behat][API][Admin] Add scenarios for managing product variants on product images 2023-11-28 14:43:59 +01:00
Grzegorz Sadowski
9b9cb4bb45
[Behat][API][Admin] Cover changing images of product 2023-11-28 14:42:11 +01:00
Grzegorz Sadowski
dadb855edb
[Behat][API][Admin] Cover removing images of product 2023-11-28 14:42:10 +01:00
Grzegorz Sadowski
26cb059b03
[Behat][API][Admin] Cover adding images to existing product 2023-11-28 14:42:10 +01:00
Grzegorz Sadowski
ba0521aef5
[Behat][API][Admin] Cover viewing images of product 2023-11-28 14:42:09 +01:00
Kamil Grygierzec
75fd302e60
feature #15551 Resolve actions and rules configuration validation (Wojdylak)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | N/A
| License         | MIT


Commits
-------
  [PromotionBundle] Add PromotionActionValidator class
  [PromotionBundle] Add PromotionRuleValidator class
  [CoreBundle] Add ChannelCodeCollectionValidator class
  [CoreBundle] Add validators
  [PromotionBundle] Add tests of PromotionActionValidator and PromotionRuleValidator
  [ApiBundle] Add validation for PromotionAction
  [ApiBundle] Add validation for PromotionRule
  [CoreBundle] Add ProductCodeExistsValidator class
  Add contract test for Promotion
  Resolve psalm issues
  Resolve phpstan issues
  Add behat tests for Promotion
  Resolve phpstan issues
  Change check at PromotionActionGroupValidatorSpec
  Add validation filters of PromotionAction
  Change type at PromotionActionValidatorSpec
  Resolve phpstan isssues
  [ApiBundle][Promotion] Enable auto-increment of priority via API when set to -1
  [CoreBundle] Rename no_exist to not_exist
  [Behat][Api] Change default value to -1
  Remove unnecessary comments
  [Behat][Promotion] Add setting promotion to the lowest priority scenario.
2023-11-28 12:38:31 +01:00
Kamil Grygierzec
f648e8d9c4
Cover 'order filtration' scenarios in API 2023-11-28 08:58:38 +01:00
Wojdylak
02cc8129e7 [Behat][Promotion] Add setting promotion to the lowest priority scenario. 2023-11-27 11:56:27 +01:00
Jan Goralski
81b7bfd119
[Addressing] Remove Country code regex validation 2023-11-24 12:01:49 +01:00
Jan Goralski
164a2d7066
[API][Addressing] Enhance Country code validation 2023-11-24 12:01:31 +01:00
Grzegorz Sadowski
52c4c1e34f
feature #15552 Cover "Browsing order" scenarios in API (jakubtobiasz)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13
| Bug fix?        | no
| New feature?    | 
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT



Commits
-------

79de1fcc17 Cover seeing_orders_currency_on_index.feature scenario in API
b9b1217e13 Cover seeing_orders_with_different_currency_on_index.feature scenario in API
0a5878f745 Cover sequential_order_number_generation.feature scenario in API
2023-11-23 07:29:02 +01:00
Rafikooo
da27211d02
[Behat][API] Add the billing and shipping addresses validation 2023-11-22 15:36:21 +01:00
Rafikooo
3d48a074dc
[Behat][UI] Improve the billing and shipping addresses validation scenarios 2023-11-22 13:38:38 +01:00
Rafikooo
e78eee149b
Apply minor improvements 2023-11-22 13:38:38 +01:00
Rafikooo
af803644df
[Behat] Introduce the modifying_placed_order_address suite 2023-11-22 13:38:38 +01:00