-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Parallel test with selenium fails #1926
Comments
Thanks for the report. I assume it works if you execute without |
Btw, that means that the test somehow crashed when executed in parallel, does pytest-selenium support xdist? cc @davehunt |
We're using pytest-selenium with pytest-xdist without any issues, and have been in one form or another for over 4 years. One difference I note is that the reporter is using python 3.5, which we have yet to switch to. Also, we don't use the pytest-allure-adapter, and use a later version of pytest. |
I'm seeing something pretty similar in certain circumstances when using xdist and flaky. I'm also using Python 3.5, I haven't yet tried another version. The circumstance is described in a ticket I filed with flaky: box/flaky#117 It's interesting that in my example I'm not using selenium, and in your example you're not using flaky. |
I saw the same thing (cross-posted/related: box/flaky#117). My env: |
@davehunt should we move this discussion over pytest-dev/pytest-selenium? |
@nicoddemus I've not seen anything that convinces me this is a pytest-selenium issue. The latest comment shows pytest-selenium is not installed, ditto for the comment before it. |
Oh OK, thanks Dave! |
@m3nthal can you post a reproducible example? Unfortunately that error is quite generic and means that an internal error has occurred. If you do find a minimal example, could you post a new issue in https://github.com/pytest-dev/pytest-xdist/issues? Thanks! |
closing due to lack of further input |
The following code was run with
-n 2 --browser Chrome
:Two browser windows are opened and the the pages were loaded. Then the execution was terminated:
pip list
:apipkg (1.4)
beautifulsoup4 (4.5.1)
enum34 (1.1.6)
execnet (1.4.1)
lxml (3.6.4)
namedlist (1.7)
pip (8.1.2)
py (1.4.31)
pyrsistent (0.11.13)
pytest (2.9.0)
pytest-allure-adaptor (1.7.5)
pytest-base-url (1.1.0)
pytest-html (1.10.0)
pytest-selenium (1.3.1)
pytest-variables (1.4)
pytest-xdist (1.15.0)
PyYAML (3.11)
requests (2.10.0)
selenium (2.53.5)
setuptools (18.2)
six (1.10.0)
The text was updated successfully, but these errors were encountered: