Skip to content

Commit 702724c

Browse files
authored
[py] Only skip WebKit tests on Windows (#15470)
* [py] Only skip WebKit tests on Windows
1 parent 5bf0aab commit 702724c

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
@@ -123,8 +123,8 @@ def driver(request):
123123
pytest.skip("Safari tests can only run on an Apple OS")
124124
if (driver_class == "Ie") and _platform != "Windows":
125125
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")
126+
if "WebKit" in driver_class and _platform == "Windows":
127+
pytest.skip("WebKit tests cannot be run on Windows")
128128

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

0 commit comments

Comments
 (0)