Skip to content

Commit

Permalink
[py] Disable wait on frame test due to bug in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Mar 18, 2021
1 parent 159b80e commit fa962ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py/test/selenium/webdriver/common/webdriverwait_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit fa962ad

Please sign in to comment.