Closed Bug 1219665 Opened 9 years ago Closed 9 years ago

Implement *test_homescreen_column_layout.py* as an integration test in JavaScript

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.6+)

RESOLVED FIXED
feature-b2g 2.6+

People

(Reporter: whsu, Assigned: cwiiis)

References

Details

(Whiteboard: [gip-to-gij])

Attachments

(1 file)

Component: Gaia::UI Tests → Gaia::Homescreen
feature-b2g: --- → 2.6+
Test exists: https://github.com/mozilla-b2g/gaia/blob/master/apps/homescreen/test/marionette/layout_test.js
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
I'm not sure these the scenario in the Python test is covered in JavaScript. Is there a test where we verify we can switch to the 4-column-layout?
Flags: needinfo?(chrislord.net)
(In reply to Johan Lorenzo [:jlorenzo] (QA) from comment #2)
> I'm not sure these the scenario in the Python test is covered in JavaScript.
> Is there a test where we verify we can switch to the 4-column-layout?

Good call, this is missing - this would involve both settings and homescreen (the setting change UI is in settings only). If it's not important to test that bit of UI (or if it can be separated from testing the result), we could synthesise the pref change and just test the layout in a homescreen-only test.
Flags: needinfo?(chrislord.net)
Having a test that covers the flow like a user does, would be a good end-to-end test. We can add this test one MJS runs on device. 

For Gij, testing the pref change seems a good approach to me. Reopening as one more test is necessary.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Assignee: nobody → chrislord.net
Status: REOPENED → ASSIGNED
Attachment #8695852 - Flags: review?(gmarty)
Comment on attachment 8695852 [details] [review]
[gaia] Cwiiis:bug1219665-homescreen-test-4col-layout > mozilla-b2g:master

Excellent!
Attachment #8695852 - Flags: review?(gmarty) → review+
Merged: https://github.com/mozilla-b2g/gaia/commit/5164eb2326993c1c34efa4288f87e33272258ae4
Status: ASSIGNED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: