* 2.0: (30 commits)
[CS][DX] Refactor
[CS][DX] Refactor
Fix taxon tree dropdown
[Behat] Remove unnecessary step
[Behat][Product] Fix and enable adding product with multiple attributes scenario
[Admin][Product] Various scenarios fixes
More fixes
Minor fixes
[Admin] Add validation for ratio value
[Admin] Twig hooks, refactor
[Admin] Refactor context
[Admin] Enable behats
[ProductOption][Behat] Use product option from sharedStorage
Fix behats step
Remove unnecessary lines
[ProductOption][Behat] minor improvements
[Admin][ProductOption][Behat] Change localeCode to locale_code
[Admin][ProductOption] Add behat's test for "apply to all" functionality
[Admin][Product] Change using live action to new way
[Admin][ProductOption] Add apply to all button
...
This PR was merged into the 1.13 branch.
Discussion
----------
This PR has been generated automatically.
For more details see [refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
Commits
-------
3135b91fe3 [CS][DX] Refactor
| Q | A
|-----------------|-----
| Branch? | 2.0
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | n/a
| License | MIT
I always didn't like behat errors like:
Given I have product "Xxxx" in the cart
(FriendsOfBehat\PageObjectExtension\Page\UnexpectedPageException)
Not informative. Is it unexpected page (i.e. wrong page opened)? Or is
it unexpected exception?
Now it shows:
Is not open: Could not open the page:
"http://localhost:8080/en_US/products/xxx". Received an error status
code: 500 {"slug":"xxx"}
(FriendsOfBehat\PageObjectExtension\Page\UnexpectedPageException)
Feel free to improve or change this commit.
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 (1.12 would be nice too) |
| Bug fix? | no |
| New feature? | no |
| BC breaks? | ? |
| Deprecations? | no? |
| Related tickets | none |
| 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
-->
This PR was merged into the 2.0 branch.
Discussion
----------
| Q | A
|-----------------|-----
| Branch? | 2.0
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | n/a
| License | MIT
Commits
-------
Remove unnecessary classes