Closed
Bug 1116456
Opened 9 years ago
Closed 9 years ago
[v2.2] Investigate test_marketplace_packaged_app.py failure
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: RobertC, Assigned: martijn.martijn)
References
Details
Attachments
(1 file)
test_marketplace_packaged_app.py has failed in the last Jenkins run. http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk-319.mozilla-central.ui.functional.smoke/226/HTML_Report/ I was able to reproduce the error locally and it looks like the installed app is not the expected one. The issue can also be reproduced manually since after we input the search term the app we are expecting is not returned at all. Repro rate 5/5 expected title = Privileged App Test the first app returned (the one we install) has the title mozLauncher Test
Reporter | ||
Updated•9 years ago
|
QA Whiteboard: [fxosqa-auto-backlog+]
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Assignee | ||
Comment 1•9 years ago
|
||
There is now an "Show All apps/Apps for My Device" option. The default is set for "Apps for My Device", which makes it not find the app that we're looking for.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → martijn.martijn
Assignee | ||
Comment 2•9 years ago
|
||
This fixes it. I had to add a small time.sleep(0.5) call to get this test working on b2g desktop. While trying to get this fixed, I had the typical troubles with the switching contexts, knowing in which context I was and webIDE not really helping (in this case, "Pick an element from the page" didn't work for the select dialog popup).
Attachment #8542549 -
Flags: review?(robert.chira)
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8542549 [details] [review] marketplace_fix Johan was already accidentally looking at this code, so adding him as a reviewer.
Attachment #8542549 -
Flags: review?(jlorenzo)
Assignee | ||
Comment 4•9 years ago
|
||
Johan had a problem with timing out this test on: Wait(self.marionette).until( expected.element_not_present(*self._search_results_loading_locator)) in __init__ of SearchResults. Replacing it with this: self.wait_for_element_not_present(*self._search_results_loading_locator) fixed it for him, so I've now used that in the pull request.
Comment 5•9 years ago
|
||
This was originally reported as being manually reproducible but from the additional comments it looks like it is a test error? For that reason I'm not going to report this as breaking Automation Smoke Tests, please let me know if this is correct.
Assignee | ||
Comment 6•9 years ago
|
||
That is correct. The Marketplace site was updated with this "Show All apps/Apps for My Device" option. It has the "Apps for My Device" option set by default, which causes the "test-webapi-permissions" app not to be found, which is apparently not an "App for My Device".
Reporter | ||
Comment 7•9 years ago
|
||
Comment on attachment 8542549 [details] [review] marketplace_fix Comments in the PR
Attachment #8542549 -
Flags: review?(robert.chira) → review-
Assignee | ||
Comment 8•9 years ago
|
||
I had to tweak def select in base.py a little bit to get it working for this marketplace packaged app test, because in there, the select popup is immediately closed after selecting something (I wonder how that is done). Adhoc run: http://jenkins1.qa.scl3.mozilla.com/job/flame-kk.ui.adhoc/530/
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8542549 [details] [review] marketplace_fix Jenkins adhoc run all green.
Attachment #8542549 -
Flags: review- → review?(robert.chira)
Comment 10•9 years ago
|
||
Comment on attachment 8542549 [details] [review] marketplace_fix LGTM!
Attachment #8542549 -
Flags: review?(jlorenzo) → review+
Reporter | ||
Comment 11•9 years ago
|
||
Comment on attachment 8542549 [details] [review] marketplace_fix Merged in master: https://github.com/mozilla-b2g/gaia/commit/2ad8157515fbc1be956940325b28ef5090e43ce5
Attachment #8542549 -
Flags: review?(robert.chira) → review+
Reporter | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•9 years ago
|
QA Whiteboard: [fxosqa-auto-backlog+] → [fxosqa-auto-s7][fxosqa-auto-points=4]
Flags: in-qa-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•