1 Multiple fields UI of datetime-local 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-19T10:00"
17 PASS input.value is "2345-09-19T10:00"
18 PASS input.value is "2345-08-19T10:00"
19 PASS window.getSelection().rangeCount is 0
21 ==> Focus on the day field.
22 PASS input.value is "2345-08-20T10:00"
23 PASS input.value is "2345-08-21T10:00"
24 PASS input.value is "2345-08-20T10:00"
25 PASS window.getSelection().rangeCount is 0
27 ==> Focus on the year field.
28 PASS input.value is "2346-08-20T10:00"
29 PASS input.value is "2347-08-20T10:00"
30 PASS input.value is "2346-08-20T10:00"
31 PASS window.getSelection().rangeCount is 0
33 ==> Focus on the hour field.
34 PASS input.value is "2346-08-20T11:00"
35 PASS input.value is "2346-08-20T00:00"
36 PASS input.value is "2346-08-20T11:00"
37 PASS window.getSelection().rangeCount is 0
39 ==> Focus on the minute field.
40 PASS input.value is "2346-08-20T11:01"
41 PASS input.value is "2346-08-20T11:02"
42 PASS input.value is "2346-08-20T11:01"
43 PASS window.getSelection().rangeCount is 0
45 ==> Click on a disabled field.
46 PASS input.value is "2346-08-20T11:01"
48 ==> Click on a read-only field.
49 PASS input.value is "2346-08-20T11:01"
51 ==> Click on clear button.
52 PASS input.value is "2346-08-20T11:01"
53 PASS input.value is "2346-08-20T11:01"
54 PASS input.value is ""