Skip to content

Commit 603eb5e

Browse files
XFail failing alerts tests
1 parent f47ad3d commit 603eb5e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

py/test/selenium/webdriver/common/alerts_tests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ def testShouldAllowAUserToDismissAPrompt(self, driver, pages):
119119
def testShouldAllowAUserToSetTheValueOfAPrompt(self, driver, pages):
120120
if driver.capabilities['browserName'] == 'phantomjs':
121121
pytest.xfail("phantomjs driver does not support alerts")
122+
if driver.capabilities['browserName'] == 'chrome':
123+
pytest.xfail("Chrome issue: https://bugs.chromium.org/p/chromedriver/issues/detail?id=1543")
122124
pages.load("alerts.html")
123125
driver.find_element(by=By.ID, value="prompt").click()
124126
alert = self._waitForAlert(driver)
@@ -293,6 +295,8 @@ def testShouldAllowTheUserToGetTheTextOfAnAlert(self, driver, pages):
293295
def testShouldAllowTheUserToGetTheTextOfAPrompt(self, driver, pages):
294296
if driver.capabilities['browserName'] == 'phantomjs':
295297
pytest.xfail("phantomjs driver does not support alerts")
298+
if driver.capabilities['browserName'] == 'chrome':
299+
pytest.xfail("Chrome issue: https://bugs.chromium.org/p/chromedriver/issues/detail?id=1545")
296300
pages.load("alerts.html")
297301
driver.find_element(By.ID, "prompt").click()
298302

0 commit comments

Comments
 (0)