Closed
Bug 1021034
Opened 11 years ago
Closed 11 years ago
[flame] Investigate failure in test_camera_flash_modes.py
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: viorela, Assigned: dwong)
Details
Attachments
(1 file)
This test failed in the latest v2.0 build. I was able to reproduce the failure by running the automated test.
I did a little investigation and it looks like a locator has changed.
We should update it and fix the issue
Traceback (most recent call last):
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette_test.py", line 163, in run
testMethod()
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/camera/test_camera_flash_modes.py", line 24, in test_camera_flash_modes
self.camera.tap_toggle_flash_button()
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 92, in tap_toggle_flash_button
self.marionette.find_element(*self._toggle_flash_button_locator).tap()
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette.py", line 1204, in find_element
response = self._send_message('findElement', 'value', **kwargs)
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/decorators.py", line 35, in _
return func(*args, **kwargs)
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette.py", line 624, in _send_message
self._handle_error(response)
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette.py", line 655, in _handle_error
raise NoSuchElementException(message=message, status=status, stacktrace=stacktrace)
NoSuchElementException: NoSuchElementException: Unable to locate element: .test-toggle-flash
#Env:
Gaia d2cfef555dabab415085e548ed44c48a99be5c32
Gecko https://hg.mozilla.org/mozilla-central/rev/51b428be6213
BuildID 20140605040202
Version 32.0a1
ro.build.version.incremental=94
ro.build.date=Tue May 20 09:29:20 CST 2014
Reporter | ||
Updated•11 years ago
|
Priority: -- → P1
![]() |
Assignee | |
Updated•11 years ago
|
Assignee: nobody → dwong
![]() |
Assignee | |
Comment 1•11 years ago
|
||
Attachment #8435314 -
Flags: review?(viorela.ioia)
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 8435314 [details] [review]
Fixed locator for flash toggle as well as unused camera toggle.
r+
Attachment #8435314 -
Flags: review?(viorela.ioia) → review+
Reporter | ||
Comment 3•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•