OLD | NEW |
1 Tests that key bindings work as expected. | 1 Tests that 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 Check that up/down arrow keys work. | 10 Check that up/down arrow keys work. |
(...skipping 12 matching lines...) Expand all Loading... |
23 PASS highlightedEntry() is "@openCalendarPicker" | 23 PASS highlightedEntry() is "@openCalendarPicker" |
24 Check that down arrow key at bottom of list does nothing. | 24 Check that down arrow key at bottom of list does nothing. |
25 PASS highlightedEntry() is "@openCalendarPicker" | 25 PASS highlightedEntry() is "@openCalendarPicker" |
26 Check that enter key sets the highlighted value. | 26 Check that enter key sets the highlighted value. |
27 PASS highlightedEntry() is "2012-03-08" | 27 PASS highlightedEntry() is "2012-03-08" |
28 PASS document.getElementById("mock-page-popup") is null | 28 PASS document.getElementById("mock-page-popup") is null |
29 PASS document.getElementById("date").value is "2012-03-08" | 29 PASS document.getElementById("date").value is "2012-03-08" |
30 Reopen popup. | 30 Reopen popup. |
31 PASS highlightedEntry() is "@openCalendarPicker" | 31 PASS highlightedEntry() is "@openCalendarPicker" |
32 Open calendar picker. | 32 Open calendar picker. |
| 33 PASS expectingDidHideEvent is true |
| 34 PASS expectingDidHideEvent is false |
33 Confirm calendar picker did open. | 35 Confirm calendar picker did open. |
34 PASS popupWindow.document.getElementById("main").classList.contains("calendar-pi
cker") is true | 36 PASS popupWindow.document.getElementById("main").classList.contains("calendar-pi
cker") is true |
35 Check that escape key closes the popup. | 37 Check that escape key closes the popup. |
36 PASS document.getElementById("mock-page-popup") is null | 38 PASS document.getElementById("mock-page-popup") is null |
37 PASS document.getElementById("date").value is "2012-03-08" | 39 PASS document.getElementById("date").value is "2012-03-08" |
38 PASS successfullyParsed is true | 40 PASS successfullyParsed is true |
39 | 41 |
40 TEST COMPLETE | 42 TEST COMPLETE |
41 | 43 |
OLD | NEW |