Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3575)

Unified Diff: chrome/test/functional/instant.py

Issue 6146004: Fix testInstantNavigation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: replace msn with yahoo Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/instant.py
diff --git a/chrome/test/functional/instant.py b/chrome/test/functional/instant.py
index a787d819582b004c5138e64907b94ae74241730a..68243dec7cc4a2d8120eda26a541a8ecded5cd0e 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('bing.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('instant')
+ 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__':
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698