-
Notifications
You must be signed in to change notification settings - Fork 119
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
Problem reading --variables
from pytest.ini if --driver-path
specified
#105
Comments
That sounds more like a pytest issue. Could you paste your pytest header (showing rootdir, inifile, etc). Also, do you get the same when you use |
This is it. If I use |
So there was pytest-dev/pytest#1471, pytest-dev/pytest#1435, pytest-dev/pytest#1594, which were all addressed by pytest-dev/pytest#1621. It seems like there's still an issue when the test paths are omitted, or the last argument is a path (but not a test path). It's possible this would be addressed by pytest-dev/pytest#1642 but that would still require a user to know about that option. There is a note about this in the documentation, but it's easy to miss. |
Closing this, as it's not a plugin issue. |
Not sure how best to investigate this or if this is even a pytest selenium problem.
On Windows 10.
I have a pytest.ini file
If I run the following (with chromedriver available on the path):
Then the
variables.json
is picked up correctly.However, if I run the following:
Then
variables.json
is not picked up for the variables option.Finally though, if I add
--variables variables.json
into the call then it does work:The text was updated successfully, but these errors were encountered: