Closed 7118path closed 3 years ago
I think that you had this issue because of path: .
setting in acceptance.suite.yaml file.
You had path: .
in configuration because you created a "single suite" setup by running `codecept init acceptance"
Thank you for your answer! I removed the path: .
entry from the acceptance.suite.yaml file and everything now works as expected!
What are you trying to achieve?
I am trying to use selenium and phpbrowser in on project. To achive this I use two suites with different suite configs and Actor Instances. They share code in form of a static function in a Helper Module, but the problem also exits when this is not the case.
This is the codeception.yml:
This is the config of the first suite 'Acceptance':
This is the config of the second suite 'Metadata':
All of this reside with the
codeception.yml
in a dirTests
. I now expect to run the test from the first suite only when I do this command:What do you get instead?
If I run this command to run the tests from the first suite 'Acceptance'
also the tests from the suite
Metadata
are run. They fail with errors like this:As
seeResponseCodeIs
is an action provided by the module phpbrowser I is not available in the suiteAcceptance
.Interessting though: If I run this command to run the tests from the second suite 'Metadata'
only the tests from the suite
Metadata
are run.Details