Skip to content

Cannot autowire service ... "$factory" of method "SensioLabs\Behat\PageObjectExtension\PageObject\Page::__construct()" references interface "Sensi oLabs\Behat\PageObjectExtension\PageObject\Factory"  #144

@hopeseekr

Description

@hopeseekr

I am seriously stumped!

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions