Skip to content

Commit 9d78c50

Browse files
committed
[py] Only skip WebKit tests on Windows
1 parent dada4fb commit 9d78c50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ def driver(request):
113113
pytest.skip("Safari tests can only run on an Apple OS")
114114
if (driver_class == "Ie") and _platform != "Windows":
115115
pytest.skip("IE and EdgeHTML Tests can only run on Windows")
116-
if "WebKit" in driver_class and _platform != "Linux":
117-
pytest.skip("Webkit tests can only run on Linux")
116+
if "WebKit" in driver_class and _platform == "Windows":
117+
pytest.skip("WebKit tests can not be run on Windows")
118118

119119
# conditionally mark tests as expected to fail based on driver
120120
marker = request.node.get_closest_marker(f"xfail_{driver_class.lower()}")

0 commit comments

Comments
 (0)