Skip to content

Commit

Permalink
Fix netflix and accessibility tests
Browse files Browse the repository at this point in the history
Fix netflix and accessibility tests to account for OOBE changes in test images.

R=rohitbm@chromium.org
BUG=
TEST=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147359 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
nirnimesh@chromium.org committed Jul 19, 2012
1 parent 3072d07 commit e19d265
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions chrome/test/functional/chromeos_accessibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def setUp(self):
cryptohome.remove_all_vaults()
cros_ui.start(wait_for_login_prompt=False)
pyauto.PyUITest.setUp(self)
self.SkipToLogin()

def tearDown(self):
self._DisableSpokenFeedback()
Expand Down
2 changes: 2 additions & 0 deletions chrome/test/functional/netflix.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def __init__(self, methodName='runTest', **kwargs):

def _Login(self):
"""Perform login"""
self.SkipToLogin()
credentials = self.GetPrivateInfo()['test_google_account']
self.Login(credentials['username'], credentials['password'])
logging.info('Logged in as %s' % credentials['username'])
Expand Down Expand Up @@ -213,6 +214,7 @@ def setUp(self):
pyauto.PyUITest.setUp(self)
if self.GetLoginInfo()['is_logged_in']:
self.Logout()
self.SkipToLogin()
self.LoginAsGuest()
login_info = self.GetLoginInfo()
self.assertTrue(login_info['is_logged_in'], msg='Not logged in at all.')
Expand Down

0 comments on commit e19d265

Please sign in to comment.