Closed Bug 1081470 Opened 10 years ago Closed 6 years ago

[Flame][v2.0][Camera] Need to modify function - "camera.tap_switch_source()" after patch of Bug 1066885 lands on v2.0

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: whsu, Unassigned)

Details

* Description:
   After patch of Bug 1066885 lands on v2.0, camera app cannot pass test(GU) below.
   - camera/test_camera_capture_video.py
   We need to check if camera app whether it is ready for use instead of waiting for element.(Toggle)
   
* Build information: (Can be reproduceed)
 - Gaia      6effca669c5baaf6cd7a63c91b71a02c6bd953b3
 - Gecko     https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/54ec9cb26b59
 - BuildID   20141010160207
 - Version   32.0

* ERROR MESSAGE:
15:41:54 TEST-START test_camera_capture_video.py
15:41:55 test_capture_a_video (test_camera_capture_video.TestCamera)
15:43:06 https://moztrap.mozilla.org/manage/case/2477/ ... ERROR
15:43:06 
15:43:06 ======================================================================
15:43:06 ERROR: None
15:43:06 ----------------------------------------------------------------------
15:43:06 Traceback (most recent call last):
15:43:06   File "/var/lib/jenkins/MozCI/B2G_Gaia_v2dot0/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g32_v2_0-0.1-py2.7.egg/marionette/marionette_test.py", line 170, in run
15:43:06     testMethod()
15:43:06   File "/var/lib/jenkins/MozCI/B2G_Gaia_v2dot0/tests/python/gaia-ui-tests/gaiatest/tests/functional/camera/test_camera_capture_video.py", line 30, in test_capture_a_video
15:43:06     self.camera.record_video(3)
15:43:06   File "/var/lib/jenkins/MozCI/B2G_Gaia_v2dot0/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 64, in record_video
15:43:06     self.wait_for_video_capturing()
15:43:06   File "/var/lib/jenkins/MozCI/B2G_Gaia_v2dot0/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 107, in wait_for_video_capturing
15:43:06     self.wait_for_condition(lambda m: self.marionette.find_element(
15:43:06   File "/var/lib/jenkins/MozCI/B2G_Gaia_v2dot0/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 54, in wait_for_condition
15:43:06     Wait(self.marionette, timeout).until(method, message=message)
15:43:06   File "/var/lib/jenkins/MozCI/B2G_Gaia_v2dot0/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g32_v2_0-0.1-py2.7.egg/marionette/wait.py", line 143, in until
15:43:06     cause=last_exc)
15:43:06 TEST-UNEXPECTED-FAIL | test_camera_capture_video.py test_camera_capture_video.TestCamera.test_capture_a_video | TimeoutException: TimeoutException: Timed out after 30.1 seconds
QA Whiteboard: [fxosqa-auto-backlog-]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.