Closed Bug 956642 Opened 10 years ago Closed 10 years ago

[Settings] add marionette for language change

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.4 S2 (28feb)

People

(Reporter: eragonj, Assigned: eragonj)

References

Details

(Whiteboard: [ft:system-platform])

Attachments

(1 file)

We have to add a marionette test to make sure we can change language successfully.
it seems that this approach will make travis fail to run but it works on local. Have to check more details about testing environment.
Blocks: 969265
Target Milestone: --- → 1.4 S2 (28feb)
Test Description:
Change the "Language" item.

Expected Results:
Make sure the mozSettings value is correct.
Make sure the "Sample Format" is correct.
Make sure the label in the panel is translated.

If have any question, please discuss here.
Thanks. :)
Comment on attachment 8356957 [details] [review]
patch on github

Hi Evan & Arthur,

can you guys help me review this :D? I just implemented all necessary tests on language panel ! Thanks ;)
Attachment #8356957 - Flags: review?(evanxd)
Attachment #8356957 - Flags: review?(arthur.chen)
Depends on: 956668
Blocks: 973447
Comment on attachment 8356957 [details] [review]
patch on github

Hi EJ(小龍哥),

Sorry for the late reply.

There is a new rule for review process of marionette test:

Please make sure the `marionette_js_stable_check` action of the patch is passed on Travis
(https://travis-ci.org/mozilla-b2g/gaia/jobs/18937817), then you could set r? for your patch.

Thanks.
Attachment #8356957 - Flags: review?(evanxd)
Comment on attachment 8356957 [details] [review]
patch on github

https://travis-ci.org/mozilla-b2g/gaia/builds/19014043

Just passed 30 times tests ! Please take time to help me review code, thanks Evan :)
Attachment #8356957 - Flags: review?(evanxd)
Whiteboard: [ft:system-platform]
Comment on attachment 8356957 [details] [review]
patch on github

I left some comments on the select part, please check them, thanks!
Attachment #8356957 - Flags: review?(arthur.chen)
(In reply to Arthur Chen [:arthurcc] from comment #7)
> Comment on attachment 8356957 [details] [review]
> patch on github
> 
> I left some comments on the select part, please check them, thanks!

Yeah I replied on Github, can you check them later, Arthur ?!

Thanks !! :P
Comment on attachment 8356957 [details] [review]
patch on github

r=me with the "optionValue" naming replaced. Thanks!
Attachment #8356957 - Flags: review+
Comment on attachment 8356957 [details] [review]
patch on github

Nice work!
Just have some little nits need to fix before we land the patch.
Thanks.
Attachment #8356957 - Flags: review?(evanxd) → review+
Thanks all, 

this patch got merged in Gaia/master : 898a12a6c39710b3a5e848fed06ef93bbfd4f0f7
Status: NEW → RESOLVED
Closed: 10 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: