Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
Bug 1173700 - test_matching_text fails due to match groups. r=davehunt
Browse files Browse the repository at this point in the history
(cherry picked from commit ab8a405)
  • Loading branch information
whimboo committed Jun 19, 2015
1 parent dd31762 commit 94ccf66
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions firefox_puppeteer/tests/test_toolbars.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,11 @@ def test_force_close(self):

@skip_under_xvfb
def test_matching_text(self):
# TODO: This test is not very robust because it relies on the history
# in the default profile.
# The default profile always has links to mozilla.org. So multiple results
# will be found with 'moz'.
input_text = 'moz'

autocompleteresults = self.browser.navbar.locationbar.autocomplete_results
input_text = 'a'
self.browser.navbar.locationbar.urlbar.send_keys(input_text)
self.wait_for_condition(lambda _: autocompleteresults.is_open)
visible_results = autocompleteresults.visible_results
Expand Down

0 comments on commit 94ccf66

Please sign in to comment.