Closed Bug 1193844 Opened 10 years ago Closed 10 years ago

test_settings_change_ring_tone.py: "NoSuchElementException: Unable to locate element: label.pack-radio"

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: onelson, Assigned: martijn.martijn)

References

Details

Attachments

(1 file)

Description: test_settings_change_ring_tone is failing consistently when attempting to access radio controls. This appears similar to the issue discussed in bug 1191023. * http://jenkins1.qa.scl3.mozilla.com/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/394/HTML_Report/ * http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc/855/HTML_Report/ Repro Steps: 1) Update device to 20150812030210 2) Open the Settings app 3) Tap 'Sound' 4) Tap 'Ringtones' within 'Tones' to modify set Ringtone 5) Select new 'Tone' from radio list Actual: Test cannot access radio buttons Expected: Test selects radio button to change phone tone, continues with test Traceback (most recent call last): File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_client-0.16-py2.7.egg/marionette/marionette_test.py", line 296, in run testMethod() File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_change_ring_tone.py", line 28, in test_settings_change_ring_tone ring_tones_app.ring_tones[10].select_ring_tone() File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2/tests/python/gaia-ui-tests/gaiatest/apps/ring_tone/app.py", line 57, in select_ring_tone self.root_element.find_element(*self._radio_button_locator).tap() File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/marionette.py", line 49, in find_element return self.marionette.find_element(method, target, self.id) File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/marionette.py", line 1589, in find_element response = self._send_message('findElement', 'value', **kwargs) File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/decorators.py", line 36, in _ return func(*args, **kwargs) File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/marionette.py", line 715, in _send_message self._handle_error(response) File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/marionette.py", line 751, in _handle_error raise errors.lookup(status)(message, stacktrace=stacktrace) NoSuchElementException: NoSuchElementException: Unable to locate element: label.pack-radio Environmental Variables: Device firmware (base) L1TC000118D0 Device firmware (date) 12 Aug 2015 10:24:21 Device firmware (incremental) eng.cltbld.20150812.062410 Device firmware (release) 4.4.2 Device identifier flame Device memory 219772 kB Device serial e47cd89b Device uptime 0 days 0 hours 2 minutes 11 seconds Gaia date 11 Aug 2015 18:18:36 Gaia revision c7875bbc8b32 Gecko build 20150812030210 Gecko revision d4f3a8a75577e4af2914a4e899ca2e724f9715c4 Gecko version 43.0a1 Reproducible manually: No Repro frequency: 5/5
Assignee: nobody → martijn.martijn
This started failing with the patch from bug 1186279.
Blocks: 1186279
Attachment #8647607 - Flags: review?(npark)
Attachment #8647607 - Flags: review?(jlorenzo)
Comment on attachment 8647607 [details] [review] [gaia] mwargers:1193844 > mozilla-b2g:master Nice, the script is simpler now. r+
Attachment #8647607 - Flags: review?(npark) → review+
Comment on attachment 8647607 [details] [review] [gaia] mwargers:1193844 > mozilla-b2g:master I looked for a downfall of the use of a custom element here, but the RingToneItem page region is simple enough. LGTM!
Attachment #8647607 - Flags: review?(jlorenzo) → review+
Status: NEW → RESOLVED
Closed: 10 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: