Closed
Bug 1216084
Opened 9 years ago
Closed 9 years ago
Fix the Gaia UI tests that are failing because of the new Homescreen
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: martijn.martijn, Unassigned)
References
Details
Attachments
(1 file, 2 obsolete files)
It looks like the new homescreen landed, this means a lot of the Gaia UI tests will fail.
We need to fix that.
Reporter | ||
Comment 1•9 years ago
|
||
The setting to the new homescreen is: "homescreen.manifestURL": "app://homescreen.gaiamobile.org/manifest.webapp", btw.
Reporter | ||
Comment 2•9 years ago
|
||
These are the failures I see in the homescreen tests.
Comment 3•9 years ago
|
||
I wonder how many of these tests actually make sense given the marionettejs coverage - is there any advantage (other than possibly more thorough testing) by testing the same thing twice in both python tests and marionettejs tests?
Flags: needinfo?(martijn.martijn)
Reporter | ||
Comment 4•9 years ago
|
||
Marionettejs tests aren't running on device.
Flags: needinfo?(martijn.martijn)
Comment 5•9 years ago
|
||
(In reply to Martijn Wargers [:mwargers] (QA) from comment #4)
> Marionettejs tests aren't running on device.
ah, fair.
So looking at the tests, you'll want to remove
test_homescreen_change_wallpaper.py (there's no settings menu anymore)
test_homescreen_divider.py (there are no dividers)
test_homescreen_edit_mode.py (there's no edit mode)
and the rest should be easily fixable (the DOM is different to verticalhome, but similar - and there are some changes that make tests easier to write, like the fact that DOM order is always in sync with app order now). The marionettejs tests/library should make it obvious how to fix the tests.
Reporter | ||
Comment 6•9 years ago
|
||
Failures with rocketbar
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
(In reply to Martijn Wargers [:mwargers] (QA) from comment #6)
> Created attachment 8675615 [details]
> rocketbarresults.txt
>
> Failures with rocketbar
Rocketbar failures should be even easier to fix - new homescreen now works like a normal application with respect to the rocketbar - it no longer has its own in-line search bar, the system one remains visible.
Comment 9•9 years ago
|
||
Let's break down the fixes in many small ones. See the dependencies for details.
Reporter | ||
Updated•9 years ago
|
Attachment #8675620 -
Flags: review?(npark)
Attachment #8675620 -
Flags: review?(jlorenzo)
Comment 10•9 years ago
|
||
Comment on attachment 8675620 [details] [review]
[gaia] mwargers:1216084 > mozilla-b2g:master
There are some things that we can improve in apps/system/regions/search_panel.py
, but due to the fact that no test is passing, I won't block on them.
Attachment #8675620 -
Flags: review?(jlorenzo) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8675620 [details] [review]
[gaia] mwargers:1216084 > mozilla-b2g:master
locale issues are a carryover from previous version, and i don't see other issues.
Attachment #8675620 -
Flags: review?(npark) → review+
Reporter | ||
Comment 12•9 years ago
|
||
Reporter | ||
Updated•9 years ago
|
Attachment #8675610 -
Attachment is obsolete: true
Reporter | ||
Updated•9 years ago
|
Attachment #8675615 -
Attachment is obsolete: true
Comment 13•9 years ago
|
||
A heads-up, bug 1218805 changes how home screen icon editing works a bit, in case there are any tests around this functionality. The changes required in marionette tests were minimal.
Reporter | ||
Comment 14•9 years ago
|
||
Hah, we already removed the edit functionality testing. I guess we need to add some of these tests back.
Reporter | ||
Comment 15•9 years ago
|
||
I guess homescreen edit is something that can be handled by the Gij tests.
Reporter | ||
Updated•9 years ago
|
Assignee: martijn.martijn → nobody
Reporter | ||
Comment 16•9 years ago
|
||
Marking WONTFIX, sorry for the bug spam. If somebody still wants to work on this, please file a new bug for it.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•