Skip to content

Commit fa962ad

Browse files
1 parent 159b80e commit fa962ad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

py/test/selenium/webdriver/common/webdriverwait_tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import pytest
2121

22-
from selenium.common.exceptions import TimeoutException
22+
from selenium.common.exceptions import NoSuchWindowException, TimeoutException
2323
from selenium.common.exceptions import StaleElementReferenceException
2424
from selenium.common.exceptions import WebDriverException
2525
from selenium.common.exceptions import InvalidElementStateException
@@ -206,6 +206,8 @@ def testExpectedConditionTextToBePresentInElementValue(driver, pages):
206206
assert 'Example Expected text' == driver.find_element(By.ID, 'inputRequired').get_attribute('value')
207207

208208

209+
# xfail can be removed after 23 March 2021
210+
@pytest.mark.xfail_firefox(reason="https://bugzilla.mozilla.org/show_bug.cgi?id=1691348")
209211
def testExpectedConditionFrameToBeAvailableAndSwitchToItByLocator(driver, pages):
210212
pages.load("blank.html")
211213
with pytest.raises(TimeoutException):

0 commit comments

Comments
 (0)