OLD | NEW |
1 Tests if value selection by calendar picker dispatches correct events. | 1 Test if change event fires when the user selects the default value after the val
ue was changed by JS. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 Choosing a new value from the calendar picker. "input" and "change" events shoul
d be dispatched in this order. | 6 PASS input.value is "2000-W02" |
| 7 PASS eventsCounter.input is undefined. |
| 8 PASS eventsCounter.change is undefined. |
7 ==> "input" event was dispatched. | 9 ==> "input" event was dispatched. |
8 ==> "change" event was dispatched. | 10 ==> "change" event was dispatched. |
9 PASS date1.value is "2000-01-03" | 11 PASS input.value is "2000-W01" |
10 PASS eventsCounter.input is 1 | 12 PASS eventsCounter.input is 1 |
11 PASS eventsCounter.change is 1 | 13 PASS eventsCounter.change is 1 |
12 Choosing the same value from the calendar picker. No events should be dispatched
. | |
13 PASS date1.value is "2000-01-03" | |
14 PASS eventsCounter.input is undefined. | |
15 PASS eventsCounter.change is undefined. | |
16 PASS successfullyParsed is true | 14 PASS successfullyParsed is true |
17 | 15 |
18 TEST COMPLETE | 16 TEST COMPLETE |
19 | 17 |
OLD | NEW |