diff options
author | dyu@chromium.org <dyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-29 01:32:20 +0000 |
---|---|---|
committer | dyu@chromium.org <dyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-29 01:32:20 +0000 |
commit | c7c0d4c99bbac6bb7b1d410ae7d70cbfa30d2313 (patch) | |
tree | ec3e8c17bccac9ae9e8e1969d3b7b0fda9553ea4 | |
parent | 989e601105af8788c9004673454b993e5c4b5a79 (diff) | |
download | chromium_src-c7c0d4c99bbac6bb7b1d410ae7d70cbfa30d2313.zip chromium_src-c7c0d4c99bbac6bb7b1d410ae7d70cbfa30d2313.tar.gz chromium_src-c7c0d4c99bbac6bb7b1d410ae7d70cbfa30d2313.tar.bz2 |
Fix global name constants for failing password tests.
TEST=none
BUG=none
Review URL: https://chromiumcodereview.appspot.com/9909006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129548 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-x | chrome/test/functional/passwords.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/test/functional/passwords.py b/chrome/test/functional/passwords.py index b21e3bb..a0991ad 100755 --- a/chrome/test/functional/passwords.py +++ b/chrome/test/functional/passwords.py @@ -131,8 +131,8 @@ class PasswordTest(pyauto.PyUITest): self.PerformActionOnInfobar( 'accept', infobar_index=test_utils.WaitForInfobarTypeAndGetIndex( self, self.INFOBAR_TYPE)) - self.NavigateToURL(URL_LOGOUT) - self.NavigateToURL(URL_HTTPS) + self.NavigateToURL(self.URL_LOGOUT) + self.NavigateToURL(self.URL_HTTPS) self._ClickOnLoginPage(0, 0) test_utils.VerifyGoogleAccountCredsFilled(self, username, password, tab_index=0, windex=0) @@ -175,12 +175,12 @@ class PasswordTest(pyauto.PyUITest): self.PerformActionOnInfobar( 'accept', infobar_index=test_utils.WaitForInfobarTypeAndGetIndex( self, self.INFOBAR_TYPE)) - self.NavigateToURL(URL_LOGOUT) - self.NavigateToURL(URL) + self.NavigateToURL(self.URL_LOGOUT) + self.NavigateToURL(self.URL) self._ClickOnLoginPage(0, 0) test_utils.VerifyGoogleAccountCredsFilled(self, username, password, tab_index=0, windex=0) - self.AppendTab(pyauto.GURL(URL)) + self.AppendTab(pyauto.GURL(self.URL)) self._ClickOnLoginPage(0, 1) test_utils.VerifyGoogleAccountCredsFilled(self, username, password, tab_index=1, windex=0) @@ -198,9 +198,9 @@ class PasswordTest(pyauto.PyUITest): self.PerformActionOnInfobar( 'accept', infobar_index=test_utils.WaitForInfobarTypeAndGetIndex( self, self.INFOBAR_TYPE)) - self.NavigateToURL(URL_LOGOUT) + self.NavigateToURL(self.URL_LOGOUT) self.RunCommand(pyauto.IDC_NEW_INCOGNITO_WINDOW) - self.NavigateToURL(URL, 1, 0) + self.NavigateToURL(self.URL, 1, 0) email_value = self.GetDOMValue('document.getElementById("Email").value', tab_index=0, windex=1) passwd_value = self.GetDOMValue('document.getElementById("Passwd").value', @@ -291,8 +291,8 @@ class PasswordTest(pyauto.PyUITest): self.PerformActionOnInfobar( 'accept', infobar_index=test_utils.WaitForInfobarTypeAndGetIndex( self, self.INFOBAR_TYPE)) - self.NavigateToURL(URL_LOGOUT) - self.NavigateToURL(URL) + self.NavigateToURL(self.URL_LOGOUT) + self.NavigateToURL(self.URL) self._ClickOnLoginPage(0, 0) test_utils.VerifyGoogleAccountCredsFilled(self, username, password, tab_index=0, windex=0) |