diff --git a/py/test/selenium/webdriver/common/api_example_tests.py b/py/test/selenium/webdriver/common/api_example_tests.py index 40b3d2b7a2f01..803c67acadc8e 100644 --- a/py/test/selenium/webdriver/common/api_example_tests.py +++ b/py/test/selenium/webdriver/common/api_example_tests.py @@ -239,7 +239,8 @@ def test_is_element_displayed(driver, pages): assert not not_visible -@pytest.mark.xfail_chrome +@pytest.mark.xfail_edge +@pytest.mark.xfail_firefox(reason="https://github.com/mozilla/geckodriver/issues/2224") @pytest.mark.xfail_safari def test_move_window_position(driver, pages): pages.load("blank.html") diff --git a/py/test/selenium/webdriver/common/window_tests.py b/py/test/selenium/webdriver/common/window_tests.py index 8b2774262603c..ee79b8e581393 100644 --- a/py/test/selenium/webdriver/common/window_tests.py +++ b/py/test/selenium/webdriver/common/window_tests.py @@ -45,6 +45,7 @@ def test_should_get_the_size_of_the_current_window(driver): assert size.get("height") > 0 +@pytest.mark.xfail_edge def test_should_set_the_size_of_the_current_window(driver): size = driver.get_window_size() @@ -57,13 +58,15 @@ def test_should_set_the_size_of_the_current_window(driver): assert new_size.get("height") == target_height -@pytest.mark.xfail_chrome def test_should_get_the_position_of_the_current_window(driver): position = driver.get_window_position() assert position.get("x") >= 0 assert position.get("y") >= 0 +@pytest.mark.xfail_chrome +@pytest.mark.xfail_edge +@pytest.mark.xfail_firefox(reason="https://github.com/mozilla/geckodriver/issues/2224") def test_should_set_the_position_of_the_current_window(driver): position = driver.get_window_position() @@ -81,7 +84,6 @@ def test_should_set_the_position_of_the_current_window(driver): @pytest.mark.xfail_safari(raises=WebDriverException, reason="Get Window Rect command not implemented") -@pytest.mark.xfail_chrome def test_should_get_the_rect_of_the_current_window(driver): rect = driver.get_window_rect() assert rect.get("x") >= 0 @@ -90,6 +92,8 @@ def test_should_get_the_rect_of_the_current_window(driver): assert rect.get("height") >= 0 +@pytest.mark.xfail_edge +@pytest.mark.xfail_firefox(reason="https://github.com/mozilla/geckodriver/issues/2224") @pytest.mark.xfail_safari(raises=WebDriverException, reason="Get Window Rect command not implemented") def test_should_set_the_rect_of_the_current_window(driver): rect = driver.get_window_rect()