Closed
Bug 877611
Opened 12 years ago
Closed 7 years ago
Make "Select time/date" picker in the System app more test friendly
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Firefox OS Graveyard
Gaia::System
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: AlinT, Unassigned)
References
Details
Attachments
(1 file)
|
72.52 KB,
image/png
|
Details |
Calendar app -> New event -> Start time -> Select time popup
The issue is we don't currently have and ID or a class property for the highlighted values in "Select time" popup.
Without an ID or a class property, testing that part of gaia is really tricky and time consuming.
Can you please add "selected", "current" or whatever you think is more suitable here? Thanks.
| Reporter | ||
Updated•12 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Comment 2•12 years ago
|
||
I believe this is going to end up as a bug for the System application. System listens for focus events on certain types of input elements and creates the specialized input UI:
https://github.com/mozilla-b2g/gaia/blob/2d870100a945272824f8e42a8c52aac095fe907e/apps/system/js/value_selector/value_selector.js#L26-L75
Comment 3•12 years ago
|
||
As mike stated this is part of the system app... We have plans https://github.com/mozilla-b2g/marionette-plugin-forms to abstract this for the js tests so individual tests don't need to be aware of our implementation details.
needinfo'ing Rudy who worked on most of the pieces here at one point.
Flags: needinfo?(jlal) → needinfo?(rlu)
Comment 4•12 years ago
|
||
Sorry that I might not get the point here.
Is this testing about system value selector, especially the time picker or about the calendar app?
If this is for Calendar app and we want abstract the time picker part out, I think we can regard that "time" input field as a general text input, and we can set value to it directly.
Flags: needinfo?(rlu)
Comment 5•12 years ago
|
||
Rudy I've re-titled the bug. Alin definitely means "System" level.
Summary: Make "Select time" popup, in Calendar app, more test friendly → Make "Select time/date" picker in the System app more test friendly
Updated•12 years ago
|
Whiteboard: [xfail]
Comment 6•12 years ago
|
||
Alive - Could you look into this? We need help getting this fixed to get the two tests mentioned below turned back on in gaia ui test automation.
- test_calendar_new_event_appears_on_all_calendar_views
- test_select_album_play
Flags: needinfo?(alive)
Comment 9•12 years ago
|
||
Sure, I am going to look into this.
However, right now I am also loaded with some koi+ bugs, so won't get into this right now.
Please feel free to take it if anyone is interested.
Flags: needinfo?(rlu)
Updated•12 years ago
|
Whiteboard: [xfail]
Comment 10•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•