Closed Bug 1218411 Opened 9 years ago Closed 9 years ago

Imagecompare: test_settings_PS_RTL.py fails

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: njpark, Assigned: njpark)

Details

Attachments

(1 file)

The button is tapped too fast, after exiting from the confirm dialog

TEST-START | test_settings_PS_RTL.py TestSettingsRTLPS.test_settings_app
TEST-UNEXPECTED-ERROR | test_settings_PS_RTL.py TestSettingsRTLPS.test_settings_app | TimeoutException: TimeoutException: Timed out after 10.0 seconds


Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/marionette_client-1.0.0-py2.7.egg/marionette/marionette_test.py", line 296, in run
    testMethod()
  File "/Users/g5njpark/GitRepo/gaia/tests/python/gaia-ui-tests/gaiatest/tests/graphics/RTL/test_settings_PS_RTL.py", line 50, in test_settings_app
    confirm_dialog = browsingprivacy_page.clear_private_data()
  File "/Users/g5njpark/GitRepo/gaia/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/browsing_privacy.py", line 37, in clear_private_data
    return ClearHistoryDialog(self.marionette)
  File "/Users/g5njpark/GitRepo/gaia/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/browsing_privacy.py", line 49, in __init__
    Wait(self.marionette).until(lambda m: element.is_displayed())
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/wait.py", line 143, in until
    cause=last_exc)
TEST-INFO took 87325ms
Assignee: nobody → npark
Tapping the button immediately after exiting the dialog caused timing-related errors. The fact that it was not visible on the screen did not help either.  It now scrolls to where the button is, and checks for the button to be displayed.
Attachment #8678882 - Flags: review?(martijn.martijn)
Attachment #8678882 - Flags: review?(martijn.martijn) → review+
Merged:

https://github.com/mozilla-b2g/gaia/commit/a23dae70ad01f310f7437a471a8563c35230f25f
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: