Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #20293 from chirarobert/v2.0_tap_icon
Browse files Browse the repository at this point in the history
Bug 1023208 - [v2.0][v2.1] Fix test_marketplace_launch failure
  • Loading branch information
Zac committed Jun 11, 2014
2 parents b368142 + 25229f5 commit 6025d64
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/python/gaia-ui-tests/gaiatest/apps/homescreen/app.py
Expand Up @@ -120,6 +120,11 @@ def name(self):

def tap_icon(self):
expected_name = self.name

#TODO remove scroll after Bug 937053 is resolved
self.marionette.execute_script(
'arguments[0].scrollIntoView(false);', [self.root_element])

self.root_element.tap()
self.wait_for_condition(lambda m: self.apps.displayed_app.name.lower() == expected_name.lower())
self.apps.switch_to_displayed_app()
Expand Down

0 comments on commit 6025d64

Please sign in to comment.