Select: add tests
Add tests for the dijit.form.Select widget including:
- api (may already be tested in test_Select.html?)
- get/set value
- adding/removing elements
- destroy removes menu too
- selecting element via mouse
- click, move, click
- mouse down, mouse move, mouse up (simple menu only)
- on a very large list that covers the Select itself, mouse down followed by mouse up shouldn't select anything, need to click (again)
- click arrow then click blank part of screen to close the Select
- a11y
- selecting item via keyboard
- ESC to close list
- tab index (including skipping over disabled widgets)
- display
- width of drop down matches width of element, or the widest item in the list, whichever is greater
- currently selected item is highlighted in drop down list
- s8 max height throttled at 200px, and using arrow keys scrolls the list
- drop down with 0 entries appears as empty box (with non-0 height)
- required select will flag itself with yellow icon (or tooltip?) if skipped over
Change History (9)
Description: |
modified (diff)
|
Description: |
modified (diff)
|
Milestone: |
1.6 →
1.5
|
Status: |
new →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Component: |
Dijit →
Dijit - Form
|
(In [22468]) Various cleanup of Select tests:
Refs #10343