New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override options does not work when a suite is specified #4102
Comments
Why so complicated? Why don't you just use
? |
I can confirm the original issue. On version 2.5.2, when I run a specific suite, the '-o' flag does nothing. With
Works as expected.
No change. |
We are now at 4.1 and soon 5.0. |
What are you trying to achieve?
Run codeception with a different port for Phantomjs, overriden on the command line.
What do you get instead?
The override made by -o does not work if the suite is specified.
This should replace the ports from
4555
to4556
.exact same command, but suite
acceptance
is not specified. Notice it works correctly:Details
This is _envs/phantom.yml
This is codeception.yml
and finally tests/acceptance.suite.yml
I found #3740 in which @DavertMik says "Unfortunately it works for global config only. Suite configs are overriding global configs." Is it the same issue? If so, what is a possible fix or workaround? How can I change the phantomjs port on the command line?
The text was updated successfully, but these errors were encountered: