diff --git a/py/test/selenium/webdriver/common/webdriverwait_tests.py b/py/test/selenium/webdriver/common/webdriverwait_tests.py index 6f3a5db69e2d0..faecf4f984a76 100644 --- a/py/test/selenium/webdriver/common/webdriverwait_tests.py +++ b/py/test/selenium/webdriver/common/webdriverwait_tests.py @@ -19,7 +19,7 @@ import pytest -from selenium.common.exceptions import TimeoutException +from selenium.common.exceptions import NoSuchWindowException, TimeoutException from selenium.common.exceptions import StaleElementReferenceException from selenium.common.exceptions import WebDriverException from selenium.common.exceptions import InvalidElementStateException @@ -206,6 +206,8 @@ def testExpectedConditionTextToBePresentInElementValue(driver, pages): assert 'Example Expected text' == driver.find_element(By.ID, 'inputRequired').get_attribute('value') +# xfail can be removed after 23 March 2021 +@pytest.mark.xfail_firefox(reason="https://bugzilla.mozilla.org/show_bug.cgi?id=1691348") def testExpectedConditionFrameToBeAvailableAndSwitchToItByLocator(driver, pages): pages.load("blank.html") with pytest.raises(TimeoutException):