1 Multiple fields UI of date input type with mouse events
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Please run this with DRT or WTR.
8 Test following mouse actions:
9 Mouse click to focus each of sub-fields
10 Mouse click on the spin button to update each of sub-fields
12 PASS successfullyParsed is true
15 ==> Focus on the month field.
16 PASS input.value is "2345-08-19"
17 PASS input.value is "2345-09-19"
18 PASS input.value is "2345-08-19"
19 PASS window.getSelection().rangeCount is 0
21 ==> Focus on the day field.
22 PASS input.value is "2345-08-20"
23 PASS input.value is "2345-08-21"
24 PASS input.value is "2345-08-20"
25 PASS window.getSelection().rangeCount is 0
27 ==> Focus on the year field.
28 PASS input.value is "2346-08-20"
29 PASS input.value is "2347-08-20"
30 PASS input.value is "2346-08-20"
31 PASS window.getSelection().rangeCount is 0
33 ==> Click on a disabled field.
34 PASS input.value is "2346-08-20"
36 ==> Click on a read-only field.
37 PASS input.value is "2346-08-20"
39 ==> Click on clear button.
40 PASS input.value is "2346-08-20"
41 PASS input.value is "2346-08-20"
42 PASS input.value is ""