Imagecompare: test_settings_PS_RTL.py fails

RESOLVED FIXED

Status

Firefox OS
Gaia::UI Tests
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: njpark, Assigned: njpark)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
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)

Updated

3 years ago
Assignee: nobody → npark
Created attachment 8678882 [details] [review]
[gaia] npark-mozilla:1218411 > mozilla-b2g:master
(Assignee)

Comment 2

3 years ago
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.
(Assignee)

Updated

3 years ago
Attachment #8678882 - Flags: review?(martijn.martijn)
Attachment #8678882 - Flags: review?(martijn.martijn) → review+
(Assignee)

Comment 3

3 years ago
Merged:

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