You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot autowire service "Emitter\Page\Admin\Login": argument "$factory" of method "SensioLabs\Behat\PageObjectExtension\PageObject\Page::__construct()" references interface "Sensi
oLabs\Behat\PageObjectExtension\PageObject\Factory" but no such service exists. Did you create a class that implements this interface?
The application has worked fine for years. I have upgraded it from Symfony 4 to 5 and now, with Symfony 6, I am hitting this error.
There is nothing online about it. Please help.
The text was updated successfully, but these errors were encountered:
It seems that Symfony's container tries to register your page objects as a service. That would mean they're located in a directory that's autowired. Have you tried excluding the directory with page objects?
I am seriously stumped!
The application has worked fine for years. I have upgraded it from Symfony 4 to 5 and now, with Symfony 6, I am hitting this error.
There is nothing online about it. Please help.
The text was updated successfully, but these errors were encountered: