Closed
Bug 985341
Opened 10 years ago
Closed 10 years ago
Fix uitest-privileged for test_video_capture_prompt failure
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: askeing, Assigned: gasolin)
References
Details
Attachments
(3 files)
Buri master build Gaia c03a6af9028c4b74a84b5a98085bbb0c07261175 Gecko https://hg.mozilla.org/mozilla-central/rev/082761b7bc54 BuildID 20140318160201 Version 31.0a1 ro.build.version.incremental=eng.archermind.20131114.105818 ro.build.date=Thu Nov 14 10:58:33 CST 2013 TEST-START test_privileged_app_audio_capture_prompt.py test_audio_capture_prompt (test_privileged_app_audio_capture_prompt.TestPrivilegedAppAudioCapturePrompt) ... ok test_video_capture_prompt (test_privileged_app_audio_capture_prompt.TestPrivilegedAppAudioCapturePrompt) ... ERROR ====================================================================== ERROR: None ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette_test.py", line 163, in run testMethod() File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/system/test_privileged_app_audio_capture_prompt.py", line 45, in test_video_capture_prompt permission.wait_for_permission_dialog_displayed() File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/gaiatest/apps/homescreen/regions/permission_dialog.py", line 17, in wait_for_permission_dialog_displayed self.wait_for_element_displayed(*self._permission_dialog_locator) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 42, in wait_for_element_displayed lambda m: m.find_element(by, locator).is_displayed()) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/wait.py", line 143, in until cause=last_exc) TimeoutException: TimeoutException: Timed out after 30.1082799435 seconds TEST-UNEXPECTED-FAIL | test_privileged_app_audio_capture_prompt.py test_privileged_app_audio_capture_prompt.TestPrivilegedAppAudioCapturePrompt.test_video_capture_prompt | ---------------------------------------------------------------------- Ran 2 tests in 117.159s FAILED (errors=1)
Reporter | ||
Comment 1•10 years ago
|
||
There is "Permission Denied" message on the screen.
Reporter | ||
Comment 2•10 years ago
|
||
### STR 1. launch UI Test-Privileged 2. "getUserMedia > Video1" ### Expected 1. show permission dialog ### Actual 1. Permission Denied, no permission dialog
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8393403 -
Flags: review?(zcampbell)
Comment 4•10 years ago
|
||
Comment on attachment 8393403 [details] [review] pull request redirect to github Adding the test in a separate file looking good. But the test still fails with "Permision Denied"
Attachment #8393403 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gasolin
Assignee | ||
Comment 5•10 years ago
|
||
I think 'The gUM is not complete yet' message was removed in bug 983572 though. Test it in real device and works fine.
Comment 6•10 years ago
|
||
Comment on attachment 8393403 [details] [review] pull request redirect to github If we split in 2 files can you also add a xfail with the appropriate bug please
Attachment #8393403 -
Flags: review-
Comment 7•10 years ago
|
||
Comment on attachment 8393403 [details] [review] pull request redirect to github r-, looks like this either fails on device or is intermittent.
Attachment #8393403 -
Flags: review?(zcampbell) → review-
Assignee | ||
Comment 8•10 years ago
|
||
travis green, push to try server https://tbpl.mozilla.org/?tree=Try&rev=71cddc01f52e with following options https://gist.github.com/gasolin/9679032
Flags: needinfo?(kgrandon)
Assignee | ||
Comment 9•10 years ago
|
||
new PR https://github.com/mozilla-b2g/gaia/pull/17416
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(kgrandon)
Comment 10•10 years ago
|
||
Forgot about this.. Still want to take this patch because it separates the test into separate files. gasolin, can you rebase? thanks!
Flags: needinfo?(gasolin)
Assignee | ||
Comment 11•10 years ago
|
||
rebased and push to try https://tbpl.mozilla.org/?tree=Try&rev=85a056044ba8
Attachment #8411535 -
Flags: review?(zcampbell)
Flags: needinfo?(gasolin)
Comment 12•10 years ago
|
||
Comment on attachment 8411535 [details] [review] pull request redirect to github 2 r+ The manifest file tag is wrong but I will fix that in a follow up commit.
Attachment #8411535 -
Flags: review?(zcampbell) → review+
Comment 13•10 years ago
|
||
Merged: https://github.com/mozilla-b2g/gaia/commit/a257fd81311991dd404ca749b3d5790850806f59 Manifest fix: https://github.com/mozilla-b2g/gaia/commit/9d0bc2ec3b504a2ce815c48a49335fad33af754b
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 14•10 years ago
|
||
thanks!
You need to log in
before you can comment on or make changes to this bug.
Description
•