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
SymfonyExtension
This Behat extension provides an integration with Symfony (both ^3.4 and ^4.1) and Mink driver for Symfony application.
It allows for:
-
defining your contexts as regular Symfony services
-
autowiring and autoconfiguring your contexts
-
testing your Symfony application without having to set up a server
Documentation
Versioning
This package follows semantic versioning - public API is defined as configuration and behaviour
defined in form of testable scenarios in the features directory. This means once your application is
configured to use Behat with SymfonyExtension, it shall continue to work flawlessly within the same major version.
PHP classes, apart from FriendsOfBehat\SymfonyExtension\Bundle\FriendsOfBehatSymfonyExtensionBundle, are not covered
by this backwards compatibility promise.
License
This extension is completely free and released under permissive MIT license.
Authors
It is originally created by Kamil Kokot. See the list of all contributors.