1 Tests if value selection by calendar picker dispatches correct events.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Choosing a new date value from the calendar picker. No events should be dispatched because the hour field and the minutes field are empty.
7 PASS datetimelocal1.value is ""
8 PASS eventsCounter.input is undefined.
9 PASS eventsCounter.change is undefined.
10 Choosing a new value from the calendar picker. "Input" and "change" events should be dispatched in this order.
11 ==> "input" event was dispatched.
12 ==> "change" event was dispatched.
13 PASS datetimelocal1.value is "2013-01-22T17:49"
14 PASS eventsCounter.input is 1
15 PASS eventsCounter.change is 1
16 PASS successfullyParsed is true