We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bf0aab commit 702724cCopy full SHA for 702724c
py/conftest.py
@@ -123,8 +123,8 @@ def driver(request):
123
pytest.skip("Safari tests can only run on an Apple OS")
124
if (driver_class == "Ie") and _platform != "Windows":
125
pytest.skip("IE and EdgeHTML Tests can only run on Windows")
126
- if "WebKit" in driver_class and _platform != "Linux":
127
- pytest.skip("Webkit tests can only run on Linux")
+ if "WebKit" in driver_class and _platform == "Windows":
+ pytest.skip("WebKit tests cannot be run on Windows")
128
129
# conditionally mark tests as expected to fail based on driver
130
marker = request.node.get_closest_marker(f"xfail_{driver_class.lower()}")
0 commit comments