Skip to content

Acceptance test using amOnRoute leads to conflicts when using in combination WebDriver - improvement request #111

@Proficoach

Description

@Proficoach

When using WebDriver and Yii2 in acceptence.suite.yml without Yii2 part selection the AcceptanceTester ends in a conflict.
The amOnRoute is not assigned to a part and cannot be included when using this combination.

Suggestion: Add "@part route" with the amOnRoute method, and add to the part's list.
This enables the method when using in combination with WebDriver.

background

Codeception PHP Testing Framework v4.2.2 https://helpukrainewin.org/
Powered by PHPUnit 9.6.22 by Sebastian Bergmann and contributors.

In ModuleContainer.php line 543:

[Codeception\Exception\ModuleConflictException]
WebDriver module conflicts with Yii2

--
This usually happens when you enable two modules with the same actions but
with different backends.
For instance, you can't run PhpBrowser, WebDriver, Laravel5 modules in one
suite,
as they implement similar methods but use different drivers to execute them
.
You can load a part of module (like: ORM) to avoid conflict.

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