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

Unified Diff: functional/search_engines.py

Issue 6354004: Fixing search_engines.SearchEnginesTest.testDiscoverSearchEngine (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/test/
Patch Set: '' 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 | « functional/downloads.py ('k') | functional/test_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: functional/search_engines.py
===================================================================
--- functional/search_engines.py (revision 71393)
+++ functional/search_engines.py (working copy)
@@ -8,6 +8,7 @@
import pyauto_functional # Must be imported before pyauto
import pyauto
+import test_utils
class SearchEnginesTest(pyauto.PyUITest):
@@ -50,7 +51,10 @@
# Use omnibox to invoke search engine discovery.
# Navigating using NavigateToURL does not currently invoke this logic.
self.SetOmniboxText('http://www.youtube.com')
- self.OmniboxAcceptInput()
+ # Due to slow navigation to youtube.com on Leopard test machines, waiting
+ # here 1 min (max).
+ test_utils.CallFunctionWithNewTimeout(self, 1 * 60 * 1000,
+ self.OmniboxAcceptInput)
def InfoUpdated(old_info):
new_info = self.GetSearchEngineInfo()
if len(new_info) > len(old_info):
« no previous file with comments | « functional/downloads.py ('k') | functional/test_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698