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 #19633 from viorelaioia/bug_1011469_v2.0
Browse files Browse the repository at this point in the history
Bug 1011469 - Intermittent in cost control tests, tapping Next button ha...
  • Loading branch information
AndreiH committed May 26, 2014
2 parents 6a39127 + d83922b commit 4c5f402
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -2,6 +2,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

import time
from marionette.by import By
from gaiatest.apps.base import Base
from gaiatest.apps.cost_control.regions.ftu_step2 import FTUStep2
Expand All @@ -17,6 +18,9 @@ def __init__(self, marionette):
self.wait_for_condition(lambda m: m.find_element(*self._welcome_title_locator).location['x'] == 0)

def tap_next(self):
# TODO Remove the sleep when Bug 1013249 is fixed
time.sleep(2)

self.wait_for_element_displayed(*self._next_button_locator)
self.marionette.find_element(*self._next_button_locator).tap()
return FTUStep2(self.marionette)

0 comments on commit 4c5f402

Please sign in to comment.