diff --git a/py/conftest.py b/py/conftest.py index 47088ed71d77b..dbc3910c1e57b 100644 --- a/py/conftest.py +++ b/py/conftest.py @@ -123,8 +123,8 @@ def driver(request): pytest.skip("Safari tests can only run on an Apple OS") if (driver_class == "Ie") and _platform != "Windows": pytest.skip("IE and EdgeHTML Tests can only run on Windows") - if "WebKit" in driver_class and _platform != "Linux": - 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") # conditionally mark tests as expected to fail based on driver marker = request.node.get_closest_marker(f"xfail_{driver_class.lower()}")