diff --git a/py/test/selenium/webdriver/common/api_example_tests.py b/py/test/selenium/webdriver/common/api_example_tests.py index 478b4d457e3bb..679c9be24938a 100644 --- a/py/test/selenium/webdriver/common/api_example_tests.py +++ b/py/test/selenium/webdriver/common/api_example_tests.py @@ -285,15 +285,15 @@ def testChangeWindowSize(driver, pages): assert size['height'] == newSize[1] -@pytest.mark.xfail_marionette( - raises=WebDriverException) +@pytest.mark.xfail_chrome(raises=WebDriverException) +@pytest.mark.xfail_marionette(raises=WebDriverException) def testGetLogTypes(driver, pages): pages.load("blank.html") assert isinstance(driver.log_types, list) -@pytest.mark.xfail_marionette( - raises=WebDriverException) +@pytest.mark.xfail_chrome(raises=WebDriverException) +@pytest.mark.xfail_marionette(raises=WebDriverException) def testGetLog(driver, pages): pages.load("blank.html") for log_type in driver.log_types: diff --git a/py/test/selenium/webdriver/common/position_and_size_tests.py b/py/test/selenium/webdriver/common/position_and_size_tests.py index 3167e59e8c643..07252414322f7 100644 --- a/py/test/selenium/webdriver/common/position_and_size_tests.py +++ b/py/test/selenium/webdriver/common/position_and_size_tests.py @@ -56,6 +56,7 @@ def testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort(driver, _check_location(element.location, x=10, y=5010) +@pytest.mark.xfail_chrome @pytest.mark.xfail_marionette @pytest.mark.xfail_remote def testShouldGetCoordinatesOfAnElementInAFrame(driver, pages): @@ -66,6 +67,7 @@ def testShouldGetCoordinatesOfAnElementInAFrame(driver, pages): _check_location(element.location, x=10, y=10) +@pytest.mark.xfail_chrome @pytest.mark.xfail_marionette @pytest.mark.xfail_remote def testShouldGetCoordinatesOfAnElementInANestedFrame(driver, pages):