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
Родитель 29df615c5e
Коммит a5a3571659
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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();