| OLD | NEW |
| (Empty) |
| 1 Tests if calendar picker mouse opearations work as expected. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 Check that page popup doesn't exist at first. | |
| 7 PASS document.getElementById("mock-page-popup") is null | |
| 8 PASS currentMonth() is "2000-01" | |
| 9 PASS selectedValue() is "2000-01-02" | |
| 10 PASS selectedDayCells() is "2000-01-02" | |
| 11 PASS highlightedValue() is "2000-01-02" | |
| 12 PASS highlightedDayCells() is "2000-01-02" | |
| 13 Check that hovering over an entry highlights it. | |
| 14 PASS currentMonth() is "2000-01" | |
| 15 PASS selectedValue() is "2000-01-02" | |
| 16 PASS selectedDayCells() is "2000-01-02" | |
| 17 PASS highlightedValue() is "1999-12-31" | |
| 18 PASS highlightedDayCells() is "1999-12-31" | |
| 19 PASS currentMonth() is "2000-01" | |
| 20 PASS selectedValue() is "2000-01-02" | |
| 21 PASS selectedDayCells() is "2000-01-02" | |
| 22 PASS highlightedValue() is "2000-01-04" | |
| 23 PASS highlightedDayCells() is "2000-01-04" | |
| 24 Check that navigating between months maintains highlighted position. | |
| 25 PASS currentMonth() is "2000-02" | |
| 26 PASS selectedValue() is "2000-01-02" | |
| 27 PASS selectedDayCells() is "" | |
| 28 PASS highlightedValue() is "2000-02-08" | |
| 29 PASS highlightedDayCells() is "2000-02-08" | |
| 30 Check that mouse click sets the value. | |
| 31 PASS currentMonth() is "2000-02" | |
| 32 PASS selectedValue() is "2000-02-05" | |
| 33 PASS selectedDayCells() is "2000-02-05" | |
| 34 PASS highlightedValue() is "2000-02-05" | |
| 35 PASS highlightedDayCells() is "2000-02-05" | |
| 36 PASS document.getElementById("date").value is "2000-02-05" | |
| 37 Check that clicking the month popup button opens the month popup. | |
| 38 PASS popupWindow.global.picker.monthPopupView.isVisible is false | |
| 39 PASS popupWindow.global.picker.monthPopupView.isVisible is true | |
| 40 PASS highlightedMonthButton() is "2000-02" | |
| 41 Check that hovering over a month button highlights it. | |
| 42 PASS highlightedMonthButton() is "2000-10" | |
| 43 Check that month wheel scrolls the list in the month popup. | |
| 44 PASS checkYearListViewScrollOffset() > 0 is true | |
| 45 PASS checkYearListViewScrollOffset() < 0 is true | |
| 46 Check that clicking an year list cell opens it. | |
| 47 PASS checkYearListViewScrollOffset() > 0 is true | |
| 48 PASS highlightedMonthButton() is "1999-10" | |
| 49 Check that clicking the month popup sets the month. | |
| 50 PASS popupWindow.global.picker.monthPopupView.isVisible is false | |
| 51 PASS currentMonth() is "1999-06" | |
| 52 PASS successfullyParsed is true | |
| 53 | |
| 54 TEST COMPLETE | |
| 55 | |
| OLD | NEW |