diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-07 23:33:30 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-07 23:33:30 +0000 |
commit | a4342f2f7ebdf0b9388f0f2a2c7c12f082c97946 (patch) | |
tree | 17ef00b6d592646ef4fab8fed1715a4c1c64c77f /chrome/test/functional | |
parent | 4b3f704c687651dd50327fb0911cdd1bd21aeb93 (diff) | |
download | chromium_src-a4342f2f7ebdf0b9388f0f2a2c7c12f082c97946.zip chromium_src-a4342f2f7ebdf0b9388f0f2a2c7c12f082c97946.tar.gz chromium_src-a4342f2f7ebdf0b9388f0f2a2c7c12f082c97946.tar.bz2 |
Fix testInstantNavigation
Review URL: http://codereview.chromium.org/6146004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70804 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/functional')
-rw-r--r-- | chrome/test/functional/instant.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/test/functional/instant.py b/chrome/test/functional/instant.py index a5cfdb5..68243de 100644 --- a/chrome/test/functional/instant.py +++ b/chrome/test/functional/instant.py @@ -24,18 +24,21 @@ class InstantTest(pyauto.PyUITest): self.SetOmniboxText('google.com') self.assertTrue(self.WaitUntil(self._DoneLoading)) location = self.GetInstantInfo()['location'] - self.assertTrue('google.com' in location) + self.assertTrue('google.com' in location, + msg='No google.com in %s' % location) - self.SetOmniboxText('search.msn.com') + self.SetOmniboxText('search.yahoo.com') self.assertTrue(self.WaitUntil(self._DoneLoading)) location = self.GetInstantInfo()['location'] - self.assertTrue('bing.com' in location) + self.assertTrue('search.yahoo.com' in location, + msg='No search.yahoo.com in %s' % location) # Initiate instant search (at default google.com). self.SetOmniboxText('chrome instant') self.assertTrue(self.WaitUntil(self._DoneLoading)) location = self.GetInstantInfo()['location'] - self.assertTrue('google.com' in location) + self.assertTrue('google.com' in location, + msg='No google.com in %s' % location) if __name__ == '__main__': |