Skip to content

Commit

Permalink
[py] Mark test as expected to fail due to about:blank causing a timeout
Browse files Browse the repository at this point in the history
Firefox 50 has a bug where attempting to open about:blank in a new window will cause a timeout. This is already fixed for Firefox 51. See https://bugzilla.mozilla.org/show_bug.cgi?id=1312674 for more details.
  • Loading branch information
davehunt committed Jan 13, 2017
1 parent 0e5b18a commit 5ed8ffc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,9 @@ def test_Should_Be_Able_To_Find_AHidden_Elements_By_Name(driver, pages):
assert element.get_attribute("name") == "hidden"


@pytest.mark.xfail_marionette(
reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1312674',
run=False)
def test_Should_Not_Be_Able_To_Find_An_Element_On_ABlank_Page(driver, pages):
driver.get("about:blank")
with pytest.raises(NoSuchElementException):
Expand Down

0 comments on commit 5ed8ffc

Please sign in to comment.