summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 00:36:57 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 00:36:57 +0000
commitdd6d6f82aa2365aa70e82b2d3264792610989e10 (patch)
tree8d1c7fd638bae424024d4e4e35b9b6d66eb24fc9
parentc41e27d1d798f86b1d0cd52cbd62ee3684dc5ab6 (diff)
downloadchromium_src-dd6d6f82aa2365aa70e82b2d3264792610989e10.zip
chromium_src-dd6d6f82aa2365aa70e82b2d3264792610989e10.tar.gz
chromium_src-dd6d6f82aa2365aa70e82b2d3264792610989e10.tar.bz2
Disable testDisplayAndSavePasswordInfobar pyauto test
BUG=64269 Review URL: http://codereview.chromium.org/5369001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67186 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/functional/PYAUTO_TESTS2
-rw-r--r--chrome/test/functional/passwords.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/chrome/test/functional/PYAUTO_TESTS b/chrome/test/functional/PYAUTO_TESTS
index 4a2c0cc..191e245 100644
--- a/chrome/test/functional/PYAUTO_TESTS
+++ b/chrome/test/functional/PYAUTO_TESTS
@@ -44,6 +44,8 @@
'ntp',
'omnibox',
'passwords',
+ # crbug.com/64269
+ '-passwords.PasswordTest.testDisplayAndSavePasswordInfobar',
'pdf',
'plugins',
# 'popups', crbug.com/59208
diff --git a/chrome/test/functional/passwords.py b/chrome/test/functional/passwords.py
index 55e7d50..f344897 100644
--- a/chrome/test/functional/passwords.py
+++ b/chrome/test/functional/passwords.py
@@ -54,7 +54,8 @@ class PasswordTest(pyauto.PyUITest):
# Wait until page completes loading.
self.WaitUntil(
lambda: self.GetDOMValue('document.readyState'), 'complete')
- self.WaitForInfobarCount(1)
+ self.assertTrue(self.WaitForInfobarCount(1),
+ 'Did not get save password infobar')
infobar = self.GetBrowserInfo()['windows'][0]['tabs'][0]['infobars']
self.assertEqual(infobar[0]['type'], 'confirm_infobar')
self.PerformActionOnInfobar('accept', infobar_index=0)