| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../../../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
| 5 <script src="../../../../../fast/forms/resources/picker-common.js"></script> | 5 <script src="../../forms/resources/picker-common.js"></script> |
| 6 <script src="resources/calendar-picker-common.js"></script> | 6 <script src="resources/calendar-picker-common.js"></script> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <p id="description"></p> | 9 <p id="description"></p> |
| 10 <div id="console"></div> | 10 <div id="console"></div> |
| 11 <input type="datetime-local" id="datetimelocal1" value=""> | 11 <input type="datetime-local" id="datetimelocal1" value=""> |
| 12 | 12 |
| 13 <script> | 13 <script> |
| 14 description('Tests if value selection by calendar picker dispatches correct even
ts.'); | 14 description('Tests if value selection by calendar picker dispatches correct even
ts.'); |
| 15 | 15 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 debug('Choosing a new value from the calendar picker. "Input" and "change" e
vents should be dispatched in this order.'); | 47 debug('Choosing a new value from the calendar picker. "Input" and "change" e
vents should be dispatched in this order.'); |
| 48 eventSender.keyDown('rightArrow'); | 48 eventSender.keyDown('rightArrow'); |
| 49 eventSender.keyDown('\n'); | 49 eventSender.keyDown('\n'); |
| 50 shouldBeEqualToString('datetimelocal1.value', '2013-01-22T17:49'); | 50 shouldBeEqualToString('datetimelocal1.value', '2013-01-22T17:49'); |
| 51 shouldBe('eventsCounter.input', '1'); | 51 shouldBe('eventsCounter.input', '1'); |
| 52 shouldBe('eventsCounter.change', '1'); | 52 shouldBe('eventsCounter.change', '1'); |
| 53 | 53 |
| 54 finishJSTest(); | 54 finishJSTest(); |
| 55 } | 55 } |
| 56 </script> | 56 </script> |
| 57 <script src="../../../../../fast/js/resources/js-test-post.js"></script> | 57 <script src="../../js/resources/js-test-post.js"></script> |
| 58 </body> | 58 </body> |
| 59 </html> | 59 </html> |
| OLD | NEW |