Closed
Bug 968686
Opened 10 years ago
Closed 6 years ago
[settings] add marionette test for Date & Time panel
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(tracking-b2g:backlog)
People
(Reporter: gasolin, Unassigned)
References
Details
(Whiteboard: [ft:system-platform])
Attachments
(1 file)
Overview Description: Add marionette test for Date & Time panel Steps to Reproduce: 1) run make test-perf APP=settings 2) run make test-integration APP=settings Actual Results: No such integration test for Date & Time panel Expected Results: Write that integration test and make test pass Reproducibility: 100% Additional Information: Please refer to bug 956210 for more information.
Updated•10 years ago
|
Assignee: nobody → gduan
Comment 1•10 years ago
|
||
Notice: There is no automatic item for changing the date and time on b2g desktop-client, so please make sure the below test code can run on device in the future. Test case spec for the Date & Time panel: Change the "Region" item. >> Make sure the "City" item render correctly. Test case: Change the "Region" and "City" item. >> Make sure the mozSettings value is correct. Test case: Change the "Date" and "Time" item. >> Make sure the mozSettings value is correct. If have any question, please discuss here. Thanks. :)
Updated•10 years ago
|
Whiteboard: [ft:system-platform]
Target Milestone: --- → 1.4 S2 (28feb)
Comment 2•10 years ago
|
||
Hi Evan, would you mind to recommend how to mock |mozTime| of navigator? This api doesn't work on b2g-desktop , so I'd like to mock it and check if the function really has tried to modify its value. I already tried injecting a mock file, which is just like what email app did, but it doesn't work, it always return me {set: null} when I execute console.log. Please kindly advise. Thanks.
Flags: needinfo?(evanxd)
Comment 3•10 years ago
|
||
Hi George, You should return ``` __exposedProps__: { get: 'r', set: 'r' } ``` in the `__defineGetter__`. Please refer to https://github.com/evanxd/gaia/commit/e9b6f7c780e502ebac740e44a9da2583bdf89e84. Thanks.
Flags: needinfo?(evanxd)
Updated•10 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 4•10 years ago
|
||
move out from 1.4
Updated•10 years ago
|
feature-b2g: --- → 2.0
Updated•10 years ago
|
feature-b2g: 2.0 → ---
Updated•9 years ago
|
Assignee: georgeiscoming → nobody
Status: ASSIGNED → NEW
Comment 6•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•