Closed Bug 1127702 Opened 9 years ago Closed 9 years ago

test_camera_capture_video.py and test_camera_delete_captured_video.py fail due to cannot switch camera mode

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1125798

People

(Reporter: ashiue, Unassigned)

Details

Hi, 

I tried gaia ui test with the latest build and found the test cases related to switch camera mode all are fail.
=======================================================
TEST-UNEXPECTED-ERROR | test_camera_capture_video.py TestCamera.test_capture_a_video | TimeoutException: TimeoutException: Timed out after 10.0 seconds


Traceback (most recent call last):
  File "/home/alison/workspace/Gaia-UI-Test/gaia/tests/python/gaia-ui-tests/test/local/lib/python2.7/site-packages/marionette_client-0.8.6-py2.7.egg/marionette/marionette_test.py", line 268, in run
    testMethod()
  File "/home/alison/workspace/Gaia-UI-Test/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/camera/test_camera_capture_video.py", line 27, in test_capture_a_video
    self.camera.tap_switch_source()
  File "/home/alison/workspace/Gaia-UI-Test/gaia/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 125, in tap_switch_source
    Wait(self.marionette).until(lambda m: not current_camera_mode == self.camera_mode)
  File "/home/alison/workspace/Gaia-UI-Test/gaia/tests/python/gaia-ui-tests/test/local/lib/python2.7/site-packages/marionette_client-0.8.6-py2.7.egg/marionette/wait.py", line 143, in until
    cause=last_exc)
TEST-INFO took 65680ms
=======================================================

But these test cases would pass when I tried with yesterday's build:
Gaia-Rev        46b590648007d51a0406b21b1d6f98eba8e3898e
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/b03afde7e699
Build-ID        20150128162504
Version         37.0a2
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20150128.201416
FW-Date         Wed Jan 28 20:14:27 EST 2015
Bootloader      L1TC000118D0

And I could not find any change on camera app between build 20150128162504 and build 20150129003432.


[Test build information]
Gaia-Rev        6e494f1d2676d231abba7dcc2e2822d1170d2d02
Gecko-Rev        https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/5e6fac01a72f
Build-ID        20150129003432
Version         37.0a2
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20150129.042943
FW-Date         Thu-Jan-29-04:29:53-EST-2015
Bootloader      L1TC000118D0

[Gaiatest version] 
0.32

[Marionette_client]
0.8.6
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.