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