Skip to content

Commit 5cf3950

Browse files
committed
Skip python Mariontte tests that stall due to Firefox bug
1 parent adb251b commit 5cf3950

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

py/test/selenium/webdriver/common/frame_switching_tests.py

+2
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ def testShouldBeAbleToSwitchToTheTopIfTheFrameIsDeletedFromUnderUsWithWebelement
383383
@pytest.mark.xfail_marionette(raises=WebDriverException,
384384
reason='https://github.com/mozilla/geckodriver/issues/614')
385385
def testShouldNotBeAbleToDoAnythingTheFrameIsDeletedFromUnderUs(driver, pages):
386+
if driver.name == 'firefox' and driver.w3c:
387+
pytest.skip('Stalls tests, https://bugzilla.mozilla.org/show_bug.cgi?id=1410799')
386388
pages.load("frame_switching_tests/deletingFrame.html")
387389
driver.switch_to.frame(driver.find_element_by_id("iframe1"))
388390

py/test/selenium/webdriver/common/stale_reference_tests.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
from selenium.common.exceptions import StaleElementReferenceException
2222

2323

24-
@pytest.mark.skip(reason='Stalls tests, https://bugzilla.mozilla.org/show_bug.cgi?id=1410799')
2524
def testOldPage(driver, pages):
25+
if driver.name == 'firefox' and driver.w3c:
26+
pytest.skip('Stalls tests, https://bugzilla.mozilla.org/show_bug.cgi?id=1410799')
2627
pages.load("simpleTest.html")
2728
elem = driver.find_element(by=By.ID, value="links")
2829
pages.load("xhtmlTest.html")

0 commit comments

Comments
 (0)