Bug 1243884 - Fix test_suggest_bookmarks.py to use is_complete for auto-complete results. r=maja_zf DONTBUILD

This commit is contained in:
Henrik Skupin 2016-02-01 11:27:05 +01:00
Родитель 0aaab2259c
Коммит 79d9376197
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -83,7 +83,7 @@ class TestStarInAutocomplete(FirefoxTestCase):
# Wait for the search string to be present, for the autocomplete results to appear # Wait for the search string to be present, for the autocomplete results to appear
# and for there to be exactly one autocomplete result # and for there to be exactly one autocomplete result
Wait(self.marionette).until(lambda mn: locationbar.value == search_string) Wait(self.marionette).until(lambda mn: locationbar.value == search_string)
Wait(self.marionette).until(lambda mn: autocomplete_results.is_open) Wait(self.marionette).until(lambda mn: autocomplete_results.is_complete)
Wait(self.marionette).until(lambda mn: len(autocomplete_results.visible_results) == 2) Wait(self.marionette).until(lambda mn: len(autocomplete_results.visible_results) == 2)
# Compare the highlighted text in the autocomplete result to the search string # Compare the highlighted text in the autocomplete result to the search string