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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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.
The setting to the new homescreen is: "homescreen.manifestURL": "app://homescreen.gaiamobile.org/manifest.webapp", btw.
Attached file homescreenresults.txt (obsolete) —
These are the failures I see in the homescreen tests.
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)
Marionettejs tests aren't running on device.
Flags: needinfo?(martijn.martijn)
(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.
Attached file rocketbarresults.txt (obsolete) —
Failures with rocketbar
(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.
Depends on: 1216559
Depends on: 1216560
Depends on: 1216562
Depends on: 1216564
Let's break down the fixes in many small ones. See the dependencies for details.
Attachment #8675620 - Flags: review?(npark)
Attachment #8675620 - Flags: review?(jlorenzo)
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 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+
Attachment #8675610 - Attachment is obsolete: true
Attachment #8675615 - Attachment is obsolete: true
Depends on: 1216960
Depends on: 1217205
No longer depends on: 1217205
Depends on: 1217870
Depends on: 1217404
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.
Hah, we already removed the edit functionality testing. I guess we need to add some of these tests back.
I guess homescreen edit is something that can be handled by the Gij tests.
Assignee: martijn.martijn → nobody
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.

Attachment

General

Created:
Updated:
Size: