Skip to content

Commit

Permalink
Remove duplicate test definition for testShouldHandleAlertOnPageLoadU…
Browse files Browse the repository at this point in the history
…singGet
  • Loading branch information
davehunt committed Oct 6, 2016
1 parent ac78247 commit 8e9fb5a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions py/test/selenium/webdriver/common/alerts_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@ def testShouldHandleAlertOnPageLoad(self, driver, pages):
alert.accept()
assert "onload" == value

def testShouldHandleAlertOnPageLoadUsingGet(self):
if self.driver.capabilities['browserName'] == 'phantomjs':
pytest.xfail("phantomjs driver does not support alerts")
self.driver.get(self._pageURL("pageWithOnLoad"))

def testShouldHandleAlertOnPageLoadUsingGet(self, driver, pages):
if driver.capabilities['browserName'] == 'phantomjs':
pytest.xfail("phantomjs driver does not support alerts")
Expand Down

0 comments on commit 8e9fb5a

Please sign in to comment.