When you have error like this:
Fatal error: Call to a member function waitForLoad() on null (Behat\Testwork\Call\Exception\FatalThrowableError
Add this into your context:
if ($this->getSession()->isStarted() === false) {
$minkSession->start();
}
When you have error like this:
Fatal error: Call to a member function waitForLoad() on null (Behat\Testwork\Call\Exception\FatalThrowableError
Add this into your context:
if ($this->getSession()->isStarted() === false) {
$minkSession->start();
}
When you trying to login in Test env, and it does not show any error (you was returned on login form again), and you does not have anything in logs, except Guard authenticator does not support the request. {"firewall_key":"main","authenticator":"App\\Security\\AppAuthenticator"}, you can try this.
I removed lines:
session:
storage_id: session.storage.mock_file
in config/packages/test/framework.yaml and it worked
[Symfony\Component\DependencyInjection\Exception\RuntimeException]If you recieve this error, try to move your app.behat.page.create_book service from services.yml to contexts.yml.
Service "app.behat.page.create_book": Parent definition "sylius.behat.page.admin.crud.create" does not exist.