| Index: chrome/test/chromedriver/run_py_tests.py
|
| diff --git a/chrome/test/chromedriver/run_py_tests.py b/chrome/test/chromedriver/run_py_tests.py
|
| index 90e553e9269dcd9723896b36050b35793b6085c3..64732b3b67ce67f45c3425039782206806d2c070 100755
|
| --- a/chrome/test/chromedriver/run_py_tests.py
|
| +++ b/chrome/test/chromedriver/run_py_tests.py
|
| @@ -26,6 +26,10 @@ from common import chrome_paths
|
| from common import unittest_util
|
|
|
|
|
| +def Skip(func):
|
| + pass
|
| +
|
| +
|
| class ChromeDriverBaseTest(unittest.TestCase):
|
| """Base class for testing chromedriver functionalities."""
|
|
|
| @@ -343,9 +347,11 @@ class ChromeDriverTest(ChromeDriverBaseTest):
|
| self._driver.MouseDoubleClick()
|
| self.assertEquals(1, len(self._driver.FindElements('tag name', 'br')))
|
|
|
| + # TODO(kkania): This test is flaky since it uses setTimeout.
|
| + # Re-enable once crbug.com/177511 is fixed and we can remove setTimeout.
|
| + @Skip
|
| def testAlert(self):
|
| self.assertFalse(self._driver.IsAlertOpen())
|
| - # TODO(kkania): Don't use setTimeout once crbug.com/177511 is fixed.
|
| div = self._driver.ExecuteScript(
|
| 'window.setTimeout('
|
| ' function() { window.confirmed = confirm(\'HI\'); },'
|
|
|