| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 PASS document.getElementById("date").value is "1999-12-26" | 117 PASS document.getElementById("date").value is "1999-12-26" |
| 118 Check if tabbing works. | 118 Check if tabbing works. |
| 119 PASS focusedElement() is ".list-view calendar-table-view" | 119 PASS focusedElement() is ".list-view calendar-table-view" |
| 120 PASS focusedElement() is ".calendar-navigation-button" | 120 PASS focusedElement() is ".calendar-navigation-button" |
| 121 PASS focusedElement() is ".calendar-navigation-button today-button" | 121 PASS focusedElement() is ".calendar-navigation-button today-button" |
| 122 PASS focusedElement() is ".calendar-navigation-button" | 122 PASS focusedElement() is ".calendar-navigation-button" |
| 123 PASS focusedElement() is ".month-popup-button" | 123 PASS focusedElement() is ".month-popup-button" |
| 124 open the month popup | 124 open the month popup |
| 125 PASS popupWindow.global.picker.monthPopupView.isVisible is true | 125 PASS popupWindow.global.picker.monthPopupView.isVisible is true |
| 126 PASS highlightedMonthButton() is "1999-12" | 126 PASS highlightedMonthButton() is "1999-12" |
| 127 TAB shouldn't change focus |
| 128 PASS focusedElement() is ".list-view year-list-view" |
| 129 PASS focusedElement().indexOf("month-button") < 0 is true |
| 130 PASS focusedElement().indexOf("list-cell") < 0 is true |
| 131 PASS focusedElement() is ".list-view year-list-view" |
| 127 press down | 132 press down |
| 128 PASS highlightedMonthButton() is "2000-04" | 133 PASS highlightedMonthButton() is "2000-04" |
| 129 press right | 134 press right |
| 130 PASS highlightedMonthButton() is "2000-05" | 135 PASS highlightedMonthButton() is "2000-05" |
| 131 press right | 136 press right |
| 132 PASS highlightedMonthButton() is "2000-06" | 137 PASS highlightedMonthButton() is "2000-06" |
| 133 press right | 138 press right |
| 134 PASS highlightedMonthButton() is "2000-07" | 139 PASS highlightedMonthButton() is "2000-07" |
| 135 press right | 140 press right |
| 136 PASS highlightedMonthButton() is "2000-08" | 141 PASS highlightedMonthButton() is "2000-08" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 153 PASS highlightedDayCells() is "" | 158 PASS highlightedDayCells() is "" |
| 154 focus calendar table | 159 focus calendar table |
| 155 press t | 160 press t |
| 156 PASS testToday() || testToday() is true | 161 PASS testToday() || testToday() is true |
| 157 press esc | 162 press esc |
| 158 PASS document.getElementById("mock-page-popup") is null | 163 PASS document.getElementById("mock-page-popup") is null |
| 159 PASS successfullyParsed is true | 164 PASS successfullyParsed is true |
| 160 | 165 |
| 161 TEST COMPLETE | 166 TEST COMPLETE |
| 162 | 167 |
| OLD | NEW |