test_settings_passcode.py: " TimeoutException: Timed out after 10.6 seconds "

RESOLVED WORKSFORME

Status

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

People

(Reporter: oliverthor, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Description:
Test is consistently timing out at the same UI screen when attempting to access the lockscreen checkbox in settings.
- expected.element_present(*self._lockscreen_checkbox_locator))
Performing this via local automation does not encounter the same timeout error. Perhaps reaching the screen before the button is active.

* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc.bitbar/105/HTML_Report/
* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1.bitbar/109/HTML_Report/

Repro Steps:
1) Update phone to 20150616010205
2) Open the Settings app
3) Navigate to 'Screen Lock'
4) Enable 'Lockscreen'
5) Enable 'Passcode'
6) Enter new code and confirm

Actual:
Test fails at step 4), unable to tap on lockscreen checkbox

Expected: 
Test succesfully navigates all steps


Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@2/.env/lib/python2.7/site-packages/marionette_client-0.13-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@2/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_passcode.py", line 19, in test_set_passcode_by_settings
screen_lock_settings.enable_lockscreen()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@2/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/screen_lock.py", line 20, in enable_lockscreen
expected.element_present(*self._lockscreen_checkbox_locator))
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@2/.env/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 10.6 seconds


Environmental Variables:
Device firmware (base) 	L1TC100118D0
Device firmware (date) 	16 Jun 2015 10:09:36
Device firmware (incremental) 	eng.cltbld.20150616.060924
Device firmware (release) 	4.4.2
Device identifier 	flame
Device memory 	219772 kB
Device serial 	94fdce95
Device uptime 	0 days 0 hours 2 minutes 40 seconds
Gaia date 	15 Jun 2015 19:09:24
Gaia revision 	62ba52866f4e
Gecko build 	20150616010205
Gecko revision 	ce863f9d8864
Gecko version 	41.0a1

Reproducible manually: No
Sorry I never looked into this.

It seems to run now just fine on bitbar, no?
http://jenkins1.qa.scl3.mozilla.com/view/Bitbar/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1.bitbar/198/HTML_Report/

In case there is still an issue, please reopen.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.