From fa962ad2dd1789df15e776915436da4713fb3ab6 Mon Sep 17 00:00:00 2001 From: AutomatedTester Date: Thu, 18 Mar 2021 14:25:11 +0000 Subject: [PATCH] [py] Disable wait on frame test due to bug in Firefox See https://bugzilla.mozilla.org/show_bug.cgi?id=1691348 --- py/test/selenium/webdriver/common/webdriverwait_tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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):