| OLD | NEW |
| 1 Tests if calendar picker key bindings work as expected. | 1 Tests if calendar picker key bindings work as expected. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 Check that page popup doesn't exist at first. | 6 Check that page popup doesn't exist at first. |
| 7 PASS document.getElementById("mock-page-popup") is null | 7 PASS document.getElementById("mock-page-popup") is null |
| 8 Check that page popup exists. | 8 Check that page popup exists. |
| 9 PASS popupWindow.pagePopupController.toString() is "[object PagePopupController]
" | 9 PASS popupWindow.pagePopupController.toString() is "[object PagePopupController]
" |
| 10 PASS isCalendarTableScrollingWithAnimation() is false | 10 PASS isCalendarTableScrollingWithAnimation() is false |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 PASS selectedDayCells() is "" | 106 PASS selectedDayCells() is "" |
| 107 PASS highlightedValue() is "2009-12-27" | 107 PASS highlightedValue() is "2009-12-27" |
| 108 PASS highlightedDayCells() is "2009-12-27" | 108 PASS highlightedDayCells() is "2009-12-27" |
| 109 press shift + d | 109 press shift + d |
| 110 PASS isCalendarTableScrollingWithAnimation() is true | 110 PASS isCalendarTableScrollingWithAnimation() is true |
| 111 PASS currentMonth() is "1999-12" | 111 PASS currentMonth() is "1999-12" |
| 112 PASS selectedValue() is "2000-01-02" | 112 PASS selectedValue() is "2000-01-02" |
| 113 PASS selectedDayCells() is "" | 113 PASS selectedDayCells() is "" |
| 114 PASS highlightedValue() is "1999-12-26" | 114 PASS highlightedValue() is "1999-12-26" |
| 115 PASS highlightedDayCells() is "1999-12-26" | 115 PASS highlightedDayCells() is "1999-12-26" |
| 116 press enter | |
| 117 PASS document.getElementById("date").value is "1999-12-26" | |
| 118 Check if tabbing works. | 116 Check if tabbing works. |
| 119 PASS focusedElement() is ".list-view calendar-table-view" | 117 PASS focusedElement() is ".list-view calendar-table-view" |
| 120 PASS focusedElement() is ".calendar-navigation-button" | 118 PASS focusedElement() is ".calendar-navigation-button" |
| 121 PASS focusedElement() is ".calendar-navigation-button today-button" | 119 PASS focusedElement() is ".calendar-navigation-button today-button" |
| 122 PASS focusedElement() is ".calendar-navigation-button" | 120 PASS focusedElement() is ".calendar-navigation-button" |
| 123 PASS focusedElement() is ".month-popup-button" | 121 PASS focusedElement() is ".month-popup-button" |
| 124 open the month popup | 122 open the month popup |
| 125 PASS popupWindow.global.picker.monthPopupView.isVisible is true | 123 PASS popupWindow.global.picker.monthPopupView.isVisible is true |
| 126 PASS highlightedMonthButton() is "1999-12" | 124 PASS highlightedMonthButton() is "1999-12" |
| 127 TAB shouldn't change focus | 125 TAB shouldn't change focus |
| (...skipping 17 matching lines...) Expand all Loading... |
| 145 PASS highlightedMonthButton() is "2000-08" | 143 PASS highlightedMonthButton() is "2000-08" |
| 146 press up | 144 press up |
| 147 PASS highlightedMonthButton() is "2000-04" | 145 PASS highlightedMonthButton() is "2000-04" |
| 148 press PageDown | 146 press PageDown |
| 149 PASS highlightedMonthButton() is "2001-04" | 147 PASS highlightedMonthButton() is "2001-04" |
| 150 press PageUp | 148 press PageUp |
| 151 PASS highlightedMonthButton() is "2000-04" | 149 PASS highlightedMonthButton() is "2000-04" |
| 152 select month in the month popup | 150 select month in the month popup |
| 153 PASS popupWindow.global.picker.monthPopupView.isVisible is false | 151 PASS popupWindow.global.picker.monthPopupView.isVisible is false |
| 154 PASS currentMonth() is "2000-04" | 152 PASS currentMonth() is "2000-04" |
| 155 PASS selectedValue() is "1999-12-26" | 153 PASS selectedValue() is "2000-01-02" |
| 156 PASS selectedDayCells() is "" | 154 PASS selectedDayCells() is "" |
| 157 PASS highlightedValue() is "1999-12-26" | 155 PASS highlightedValue() is "1999-12-26" |
| 158 PASS highlightedDayCells() is "" | 156 PASS highlightedDayCells() is "" |
| 159 focus calendar table | 157 focus calendar table |
| 160 press t | 158 press t |
| 161 PASS testToday() || testToday() is true | 159 PASS testToday() || testToday() is true |
| 162 press esc | 160 press esc |
| 163 PASS document.getElementById("mock-page-popup") is null | 161 PASS document.getElementById("mock-page-popup") is null |
| 164 PASS successfullyParsed is true | 162 PASS successfullyParsed is true |
| 165 | 163 |
| 166 TEST COMPLETE | 164 TEST COMPLETE |
| 167 | 165 |
| OLD | NEW |