| OLD | NEW |
| (Empty) |
| 1 Tests if month picker key bindings 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 Check that page popup exists. | |
| 9 PASS popupWindow.pagePopupController.toString() is "[object PagePopupController]
" | |
| 10 PASS isCalendarTableScrollingWithAnimation() is false | |
| 11 PASS currentMonth() is "2000-01" | |
| 12 PASS selectedValue() is "2000-W01" | |
| 13 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 14 PASS highlightedValue() is "2000-W01" | |
| 15 PASS highlightedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-
01-07,2000-01-08,2000-01-09" | |
| 16 Check that arrow keys work properly. | |
| 17 press up | |
| 18 PASS currentMonth() is "2000-01" | |
| 19 PASS selectedValue() is "2000-W01" | |
| 20 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 21 PASS highlightedValue() is "1999-W52" | |
| 22 PASS highlightedDayCells() is "1999-12-27,1999-12-28,1999-12-29,1999-12-30,1999-
12-31,2000-01-01,2000-01-02" | |
| 23 press up | |
| 24 PASS isCalendarTableScrollingWithAnimation() is true | |
| 25 PASS currentMonth() is "1999-12" | |
| 26 PASS selectedValue() is "2000-W01" | |
| 27 PASS selectedDayCells() is "" | |
| 28 PASS highlightedValue() is "1999-W51" | |
| 29 PASS highlightedDayCells() is "1999-12-20,1999-12-21,1999-12-22,1999-12-23,1999-
12-24,1999-12-25,1999-12-26" | |
| 30 press down | |
| 31 PASS currentMonth() is "1999-12" | |
| 32 PASS selectedValue() is "2000-W01" | |
| 33 PASS selectedDayCells() is "" | |
| 34 PASS highlightedValue() is "1999-W52" | |
| 35 PASS highlightedDayCells() is "1999-12-27,1999-12-28,1999-12-29,1999-12-30,1999-
12-31,2000-01-01" | |
| 36 press down | |
| 37 PASS isCalendarTableScrollingWithAnimation() is true | |
| 38 PASS currentMonth() is "2000-01" | |
| 39 PASS selectedValue() is "2000-W01" | |
| 40 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 41 PASS highlightedValue() is "2000-W01" | |
| 42 PASS highlightedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-
01-07,2000-01-08,2000-01-09" | |
| 43 press down | |
| 44 PASS currentMonth() is "2000-01" | |
| 45 PASS selectedValue() is "2000-W01" | |
| 46 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 47 PASS highlightedValue() is "2000-W02" | |
| 48 PASS highlightedDayCells() is "2000-01-10,2000-01-11,2000-01-12,2000-01-13,2000-
01-14,2000-01-15,2000-01-16" | |
| 49 press left | |
| 50 PASS currentMonth() is "2000-01" | |
| 51 PASS selectedValue() is "2000-W01" | |
| 52 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 53 PASS highlightedValue() is "2000-W01" | |
| 54 PASS highlightedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-
01-07,2000-01-08,2000-01-09" | |
| 55 press right | |
| 56 PASS currentMonth() is "2000-01" | |
| 57 PASS selectedValue() is "2000-W01" | |
| 58 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 59 PASS highlightedValue() is "2000-W02" | |
| 60 PASS highlightedDayCells() is "2000-01-10,2000-01-11,2000-01-12,2000-01-13,2000-
01-14,2000-01-15,2000-01-16" | |
| 61 press pageDown | |
| 62 PASS currentMonth() is "2000-02" | |
| 63 PASS selectedValue() is "2000-W01" | |
| 64 PASS selectedDayCells() is "" | |
| 65 PASS highlightedValue() is "2000-W02" | |
| 66 PASS highlightedDayCells() is "" | |
| 67 press pageUp | |
| 68 PASS currentMonth() is "2000-01" | |
| 69 PASS selectedValue() is "2000-W01" | |
| 70 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 71 PASS highlightedValue() is "2000-W02" | |
| 72 PASS highlightedDayCells() is "2000-01-10,2000-01-11,2000-01-12,2000-01-13,2000-
01-14,2000-01-15,2000-01-16" | |
| 73 press m | |
| 74 PASS isCalendarTableScrollingWithAnimation() is true | |
| 75 PASS currentMonth() is "2000-02" | |
| 76 PASS selectedValue() is "2000-W01" | |
| 77 PASS selectedDayCells() is "" | |
| 78 PASS highlightedValue() is "2000-W07" | |
| 79 PASS highlightedDayCells() is "2000-02-14,2000-02-15,2000-02-16,2000-02-17,2000-
02-18,2000-02-19,2000-02-20" | |
| 80 press shift + m | |
| 81 PASS isCalendarTableScrollingWithAnimation() is true | |
| 82 PASS currentMonth() is "2000-01" | |
| 83 PASS selectedValue() is "2000-W01" | |
| 84 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 85 PASS highlightedValue() is "2000-W02" | |
| 86 PASS highlightedDayCells() is "2000-01-10,2000-01-11,2000-01-12,2000-01-13,2000-
01-14,2000-01-15,2000-01-16" | |
| 87 press y | |
| 88 PASS isCalendarTableScrollingWithAnimation() is true | |
| 89 PASS currentMonth() is "2001-01" | |
| 90 PASS selectedValue() is "2000-W01" | |
| 91 PASS selectedDayCells() is "" | |
| 92 PASS highlightedValue() is "2001-W03" | |
| 93 PASS highlightedDayCells() is "2001-01-15,2001-01-16,2001-01-17,2001-01-18,2001-
01-19,2001-01-20,2001-01-21" | |
| 94 press shift + y | |
| 95 PASS isCalendarTableScrollingWithAnimation() is true | |
| 96 PASS currentMonth() is "2000-01" | |
| 97 PASS selectedValue() is "2000-W01" | |
| 98 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 99 PASS highlightedValue() is "2000-W02" | |
| 100 PASS highlightedDayCells() is "2000-01-10,2000-01-11,2000-01-12,2000-01-13,2000-
01-14,2000-01-15,2000-01-16" | |
| 101 press d | |
| 102 PASS isCalendarTableScrollingWithAnimation() is true | |
| 103 PASS currentMonth() is "2010-01" | |
| 104 PASS selectedValue() is "2000-W01" | |
| 105 PASS selectedDayCells() is "" | |
| 106 PASS highlightedValue() is "2010-W02" | |
| 107 PASS highlightedDayCells() is "2010-01-11,2010-01-12,2010-01-13,2010-01-14,2010-
01-15,2010-01-16,2010-01-17" | |
| 108 press shift + d | |
| 109 PASS isCalendarTableScrollingWithAnimation() is true | |
| 110 PASS currentMonth() is "2000-01" | |
| 111 PASS selectedValue() is "2000-W01" | |
| 112 PASS selectedDayCells() is "2000-01-03,2000-01-04,2000-01-05,2000-01-06,2000-01-
07,2000-01-08,2000-01-09" | |
| 113 PASS highlightedValue() is "2000-W02" | |
| 114 PASS highlightedDayCells() is "2000-01-10,2000-01-11,2000-01-12,2000-01-13,2000-
01-14,2000-01-15,2000-01-16" | |
| 115 press enter | |
| 116 PASS currentMonth() is "2000-01" | |
| 117 PASS selectedValue() is "2000-W02" | |
| 118 PASS selectedDayCells() is "2000-01-10,2000-01-11,2000-01-12,2000-01-13,2000-01-
14,2000-01-15,2000-01-16" | |
| 119 PASS highlightedValue() is "2000-W02" | |
| 120 PASS highlightedDayCells() is "2000-01-10,2000-01-11,2000-01-12,2000-01-13,2000-
01-14,2000-01-15,2000-01-16" | |
| 121 PASS document.getElementById("week").value is "2000-W02" | |
| 122 Check if tabbing works. | |
| 123 PASS focusedElement() is ".list-view calendar-table-view" | |
| 124 PASS focusedElement() is ".calendar-navigation-button" | |
| 125 PASS focusedElement() is ".calendar-navigation-button today-button" | |
| 126 PASS focusedElement() is ".calendar-navigation-button" | |
| 127 PASS focusedElement() is ".month-popup-button" | |
| 128 open the month popup | |
| 129 PASS popupWindow.global.picker.monthPopupView.isVisible is true | |
| 130 PASS highlightedMonthButton() is "2000-01" | |
| 131 press down | |
| 132 PASS highlightedMonthButton() is "2000-05" | |
| 133 press right | |
| 134 PASS highlightedMonthButton() is "2000-06" | |
| 135 press right | |
| 136 PASS highlightedMonthButton() is "2000-07" | |
| 137 press right | |
| 138 PASS highlightedMonthButton() is "2000-08" | |
| 139 press right | |
| 140 PASS highlightedMonthButton() is "2000-09" | |
| 141 press right | |
| 142 PASS highlightedMonthButton() is "2000-10" | |
| 143 press left | |
| 144 PASS highlightedMonthButton() is "2000-09" | |
| 145 press up | |
| 146 PASS highlightedMonthButton() is "2000-05" | |
| 147 press pageDown | |
| 148 PASS highlightedMonthButton() is "2001-05" | |
| 149 press pageUp | |
| 150 PASS highlightedMonthButton() is "2000-05" | |
| 151 select month in the month popup | |
| 152 PASS popupWindow.global.picker.monthPopupView.isVisible is false | |
| 153 PASS currentMonth() is "2000-05" | |
| 154 PASS selectedValue() is "2000-W02" | |
| 155 PASS selectedDayCells() is "" | |
| 156 PASS highlightedValue() is "2000-W02" | |
| 157 PASS highlightedDayCells() is "" | |
| 158 focus calendar table | |
| 159 press t | |
| 160 PASS isCalendarTableScrollingWithAnimation() is true | |
| 161 PASS testToday() || testToday() is true | |
| 162 press esc | |
| 163 PASS document.getElementById("mock-page-popup") is null | |
| 164 PASS successfullyParsed is true | |
| 165 | |
| 166 TEST COMPLETE | |
| 167 | |
| OLD | NEW |