Fix testNeverSavePasswords

Fix incorrect tab_index in the test.

R=dyu@chromium.org
BUG=119602
TEST=

Review URL: https://chromiumcodereview.appspot.com/10207002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133581 0039d316-1c4b-4281-b951-d872f2087c98
parent ecd1e9fe
...@@ -188,8 +188,6 @@ ...@@ -188,8 +188,6 @@
'-pyauto_webdriver.PyAutoWebDriverTest.testTypeIntoTextBox', '-pyauto_webdriver.PyAutoWebDriverTest.testTypeIntoTextBox',
# crbug.com/95031 # crbug.com/95031
'-notifications.NotificationsTest.testOriginPrefsNotSavedInIncognito', '-notifications.NotificationsTest.testOriginPrefsNotSavedInIncognito',
# crbug.com/119602
'-passwords.PasswordTest.testNeverSavePasswords',
], ],
'mac': [ 'mac': [
......
...@@ -156,7 +156,7 @@ class PasswordTest(pyauto.PyUITest): ...@@ -156,7 +156,7 @@ class PasswordTest(pyauto.PyUITest):
# Selecting 'Never for this site' option on password infobar. # Selecting 'Never for this site' option on password infobar.
self.PerformActionOnInfobar( self.PerformActionOnInfobar(
'cancel', infobar_index=test_utils.WaitForInfobarTypeAndGetIndex( 'cancel', infobar_index=test_utils.WaitForInfobarTypeAndGetIndex(
self, self.INFOBAR_TYPE, tab_index=1)) self, self.INFOBAR_TYPE, tab_index=1), tab_index=1)
# TODO: GetSavedPasswords() doesn't return anything when empty. # TODO: GetSavedPasswords() doesn't return anything when empty.
# http://crbug.com/64603 # http://crbug.com/64603
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment