Opened 12 years ago

Last modified 11 years ago

#10343 closed task

Select: add tests — at Version 1

Reported by: bill Owned by:
Priority: high Milestone: 1.5
Component: Dijit - Form Version: 1.4.0b
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Add tests for the dijit.form.Select widget including:

  • api
    • 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
    • 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 (1)

comment:1 Changed 12 years ago by bill

Description: modified (diff)
Note: See TracTickets for help on using tickets.