Closed
Bug 1018207
Opened 10 years ago
Closed 10 years ago
Wait for loading screen icon in camera tests
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zcampbell, Assigned: AndreiH)
Details
Attachments
(2 files)
The test is failing! Not sure if the test is failing because it's missing a test patch from master or whether the apps are different. Needs some investigation :) test_camera_flash_modes (test_camera_flash_modes.TestCameraFlashModes) ... FAIL ====================================================================== FAIL: None ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/zac/.virtualenvs/gaiatest_v1.4/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette_test.py", line 163, in run testMethod() File "/home/zac/Mozilla/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/camera/test_camera_flash_modes.py", line 26, in test_camera_flash_modes self.assertEqual(self.camera.current_flash_mode, 'on') TEST-UNEXPECTED-FAIL | test_camera_flash_modes.py test_camera_flash_modes.TestCameraFlashModes.test_camera_flash_modes | AssertionError: None != 'on' ---------------------------------------------------------------------- Ran 1 test in 30.332s
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → andrei.hutusoru
Assignee | ||
Comment 1•10 years ago
|
||
I don't know how this is passing on master because the change flash button is disabled at first, it is displayed but disabled, until the loader finishes.
Reporter | ||
Comment 2•10 years ago
|
||
Sounds like we need to fix up the master test too?
Assignee | ||
Comment 3•10 years ago
|
||
just flashed my phone with master, and it seems that on master the flash button is not disabled until the camera loader disappears
Assignee | ||
Comment 4•10 years ago
|
||
I am working to find a suitable wait for this, we already have the self.wait_for_capture_ready() method in the launch, but there are other elements that are not loaded/enabled at the same time as capture is ready. This would be a good fix for master also.
Assignee | ||
Comment 5•10 years ago
|
||
I think we can help ourselves by using this: https://github.com/mozilla-b2g/gaia/commit/e7da079f399dd8780c85f695405cd8bc9f47fca8 Also for master.
Assignee | ||
Comment 6•10 years ago
|
||
Master will benefit from this also
Attachment #8433210 -
Flags: review?(zcampbell)
Attachment #8433210 -
Flags: review?(florin.strugariu)
Assignee | ||
Updated•10 years ago
|
Summary: [v1.4] Test camera flash modes is failing on v1.4 → Wait for loading screen icon in camera tests
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8433214 -
Flags: review?(zcampbell)
Attachment #8433214 -
Flags: review?(florin.strugariu)
Reporter | ||
Comment 8•10 years ago
|
||
Comment on attachment 8433210 [details] [review] PR https://github.com/mozilla-b2g/gaia/pull/19928 r+
Attachment #8433210 -
Flags: review?(zcampbell) → review+
Updated•10 years ago
|
Attachment #8433210 -
Flags: review+
Comment 9•10 years ago
|
||
Comment on attachment 8433214 [details] [review] v1.4 PR https://github.com/mozilla-b2g/gaia/pull/19929 r+
Attachment #8433214 -
Flags: review+
Updated•10 years ago
|
Attachment #8433210 -
Flags: review?(florin.strugariu) → review+
Comment 10•10 years ago
|
||
Master: https://github.com/mozilla-b2g/gaia/commit/0dc730a71fdd83563a866b5abf3988e4671a9564
Assignee | ||
Comment 11•10 years ago
|
||
v1.4: https://github.com/mozilla-b2g/gaia/commit/01aca16421e37c1156e10d93a12a592a5af5946d
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•10 years ago
|
Attachment #8433214 -
Flags: review?(zcampbell)
Attachment #8433214 -
Flags: review?(florin.strugariu)
You need to log in
before you can comment on or make changes to this bug.
Description
•