| 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__':
|
|
|