Skip to content

Commit 2bf6fde

Browse files
committed
[py] Fix testShouldReturnWhenGettingAUrlThatDoesNotResolve so it does not expect an exception
1 parent f67a7cc commit 2bf6fde

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

py/test/selenium/webdriver/common/page_loading_tests.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,9 @@ def testShouldBeAbleToGetAFragmentOnTheCurrentPage(self, driver, pages):
4343
driver.get(location + "#text")
4444
driver.find_element(by=By.ID, value="id1")
4545

46-
@pytest.mark.ignore_firefox
47-
@pytest.mark.ignore_phantomjs
48-
@pytest.mark.ignore_safari
4946
def testShouldReturnWhenGettingAUrlThatDoesNotResolve(self, driver):
50-
if driver.capabilities['browserName'] == 'chrome':
51-
pytest.xfail("Chrome Issue: https://bugs.chromium.org/p/chromedriver/issues/detail?id=1538")
52-
with pytest.raises(ValueError):
53-
# Of course, we're up the creek if this ever does get registered
54-
driver.get("http://www.thisurldoesnotexist.comx/")
47+
# Of course, we're up the creek if this ever does get registered
48+
driver.get("http://www.thisurldoesnotexist.comx/")
5549

5650
@pytest.mark.ignore_safari
5751
def testShouldReturnWhenGettingAUrlThatDoesNotConnect(self, driver):

0 commit comments

Comments
 (0)