This PR was merged into the 2.0 branch.
Discussion
----------
With definition, that has been used instead of reference, container has used to created 2 instances of initializer: one with service id, and one "anonymous", described by spl_object_hash in a container, it broke stateful initializers: in my case initializer was also used to reset state before next scenario/example, and initializing and resetting happened with different instances of initializer.
If the fix and test are OK, let me know if you want me to cherry-pick the fix onto master and created additional pull request for master.
Commits
-------
06104478cc Fix referencing context initializers
With definition, that has been used instead of reference, container has
used to created 2 instances of initializer: one with service id, and one
"anonymous", described by spl_object_hash in a container, it breaked
stateful initializers: in my case initializer was also used to reset
state before next scenario/example, and initializing and resetting happened
with different instances of initializer
This PR was merged into the 2.0 branch.
Discussion
----------
Commits
-------
15f70c0a14 Fix the build & add tests for Symfony 4.3 and 4.4
5519b92883 Add conflict with symfony/stopwatch ^5.0
This PR was merged into the 2.0 branch.
Discussion
----------
Couldn't reproduce it, removing that lazy setting fixes the issue though.
There's a quite random error:
```
LogicException: The page history is empty. in vendor/symfony/browser-kit/History.php:95
```
It happens when sending a form or clicking a link, but not always. Ex. when running the whole directory of features, one scenario in a subdirectory fails. When running that scenario only, it passes. When running that scenario in between of other scenarios in that directory, it still passes.
https://travis-ci.org/Sylius/Sylius/jobs/507555578#L1787
Commits
-------
69d150b3dc Hotfix for weird bug in Sylius
This PR was merged into the 2.0 branch.
Discussion
----------
Fixes#73.
Commits
-------
01fe9425a1 Fix bug preventing changes of Mink default session service
This PR was merged into the 2.0 branch.
Discussion
----------
Fixes#56.
If passed context identifier is a Symfony service, it's handled by our custom logic. If it's not, it's handled by default Behat logic.
Commits
-------
cd792704fa Add support for class resolvers
9e9529c320 Add tests for context initializers
d74cd251d5 Add more sanity checks
c54c581e74 Refactor our environment handler to decorate the original one
8a972b5b48 Apply suggestions from code review
This PR was merged into the 2.0 branch.
Discussion
----------
According to #63 and #54, it looks like the way we used autoconfiguration to bind `$minkParameters` variable was abusing the Symfony's Dependency Injection API and is not officially supported. I'm removing that possibility, because it's very unstable and prevents library adoption.
Commits
-------
717c869ad6 Revert mink parameters autoconfiguration