зеркало из https://github.com/mozilla/gecko-dev.git
Bug 769524 - Add sleep to testSearchSuggestions to workaround blocked event queue. r=gbrown
This commit is contained in:
Родитель
29df615c5e
Коммит
a5a3571659
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче