| OLD | NEW |
| (Empty) |
| 1 Tests if week picker mouse operations 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-W01" | |
| 10 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 11 PASS highlightedValue() is "2000-W01" | |
| 12 PASS highlightedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-
01-07,2000-01-08,2000-01-09" | |
| 13 Check that hovering over an entry highlights it. | |
| 14 PASS currentMonth() is "2000-01" | |
| 15 PASS selectedValue() is "2000-W01" | |
| 16 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 17 PASS highlightedValue() is "1999-W51" | |
| 18 PASS highlightedDayCells() is "1999-12-26" | |
| 19 PASS currentMonth() is "2000-01" | |
| 20 PASS selectedValue() is "2000-W01" | |
| 21 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 22 PASS highlightedValue() is "1999-W52" | |
| 23 PASS highlightedDayCells() is "1999-12-27,1999-12-28,1999-12-29,1999-12-30,1999-
12-31,2000-01-01,2000-01-02" | |
| 24 PASS currentMonth() is "2000-01" | |
| 25 PASS selectedValue() is "2000-W01" | |
| 26 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 27 PASS highlightedValue() is "2000-W01" | |
| 28 PASS highlightedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-
01-07,2000-01-08,2000-01-09" | |
| 29 PASS currentMonth() is "2000-01" | |
| 30 PASS selectedValue() is "2000-W01" | |
| 31 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 32 PASS highlightedValue() is "2000-W05" | |
| 33 PASS highlightedDayCells() is "2000-01-31,2000-02-01,2000-02-02,2000-02-03,2000-
02-04,2000-02-05" | |
| 34 Check that mouse click sets the value. | |
| 35 PASS currentMonth() is "2000-01" | |
| 36 PASS selectedValue() is "1999-W52" | |
| 37 PASS selectedDayCells() is "1999-12-27,1999-12-28,1999-12-29,1999-12-30,1999-12-
31,2000-01-01,2000-01-02" | |
| 38 PASS highlightedValue() is "1999-W52" | |
| 39 PASS highlightedDayCells() is "1999-12-27,1999-12-28,1999-12-29,1999-12-30,1999-
12-31,2000-01-01,2000-01-02" | |
| 40 PASS document.getElementById("week").value is "1999-W52" | |
| 41 Check that clicking the month popup button opens the month popup. | |
| 42 PASS popupWindow.global.picker.monthPopupView.isVisible is false | |
| 43 PASS popupWindow.global.picker.monthPopupView.isVisible is true | |
| 44 PASS highlightedMonthButton() is "2000-01" | |
| 45 Check that hovering over a month button highlights it. | |
| 46 PASS highlightedMonthButton() is "2000-10" | |
| 47 Check that month wheel scrolls the list in the month popup. | |
| 48 PASS checkYearListViewScrollOffset() > 0 is true | |
| 49 PASS checkYearListViewScrollOffset() < 0 is true | |
| 50 Check that clicking the month popup sets the month. | |
| 51 PASS popupWindow.global.picker.monthPopupView.isVisible is false | |
| 52 PASS currentMonth() is "2000-06" | |
| 53 Check that clicking the month popup button opens the month popup. | |
| 54 PASS popupWindow.global.picker.monthPopupView.isVisible is false | |
| 55 PASS popupWindow.global.picker.monthPopupView.isVisible is true | |
| 56 PASS highlightedMonthButton() is "2000-06" | |
| 57 Check that hovering over a month button highlights it. | |
| 58 PASS highlightedMonthButton() is "2000-10" | |
| 59 Check that month wheel scrolls the list in the month popup. | |
| 60 PASS checkYearListViewScrollOffset() > 0 is true | |
| 61 PASS checkYearListViewScrollOffset() < 0 is true | |
| 62 Check that clicking an year list cell opens it. | |
| 63 PASS checkYearListViewScrollOffset() > 0 is true | |
| 64 PASS highlightedMonthButton() is "1999-10" | |
| 65 Check that clicking the month popup sets the month. | |
| 66 PASS popupWindow.global.picker.monthPopupView.isVisible is false | |
| 67 PASS currentMonth() is "1999-06" | |
| 68 PASS successfullyParsed is true | |
| 69 | |
| 70 TEST COMPLETE | |
| 71 | |
| OLD | NEW |