Bug 769524 - Add sleep to testSearchSuggestions to workaround blocked event queue. r=gbrown

This commit is contained in:
Brian Nicholson 2012-07-09 23:38:36 -07:00
parent 994c586c3d
commit 5d9f9dff6c

View File

@ -42,6 +42,9 @@ public class testSearchSuggestions extends BaseTest {
final int suggestionLayoutId = mDriver.findElement(getActivity(), "suggestion_layout").getId();
final int suggestionTextId = mDriver.findElement(getActivity(), "suggestion_text").getId();
// workaround for bug 769524
mSolo.sleep(5000);
Actions.EventExpecter enginesEventExpecter = mActions.expectGeckoEvent("SearchEngines:Data");
final Activity awesomeBarActivity = clickOnAwesomeBar();
enginesEventExpecter.blockForEvent();