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