Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#10448 closed defect (fixed)

TextBox: add robot test for selectOnClick feature

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

Description

Should be testing:

  1. Click once, click again - the first time a TextBox is clicked all the text is selected, and the second time it's clicked should get a plain caret (aka empty selection). Need to make sure that the second click doesn't reselect all the text.
  1. Tab into TextBox, then click it - the click should not reselect all the text, same principle as above.

3 Tab into TextBox, out of TextBox, shift-back in, then click it - this is to make sure that the event handler (which fires on focus) get cleared on blur

  1. Mouse-down, mouse-move to select some text, mouse-up - it should just select the text that the user indicated, not select all the text. IE, a user specifically selecting some text should cancel the selectOnClick feature.

Change History (3)

comment:1 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [21032]) Fixes #10448. Add automated tests for selectOnClick function.

comment:2 Changed 9 years ago by Douglas Hays

(In [21033]) Refs #10448. Tweak automated tests for selectOnClick function.

comment:3 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.