summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/suggestion-picker/month-suggestion-picker-key-operations-expected.txt
blob: a07cab70956516180d6ddbce1f87e6d4c0badf3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Tests that key bindings work as expected.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Check that page popup doesn't exist at first.
PASS document.getElementById("mock-page-popup") is null
Check that page popup exists.
PASS popupWindow.pagePopupController.toString() is "[object PagePopupController]"
Check that up/down arrow keys work.
PASS highlightedEntry() is null
PASS highlightedEntry() is "2012-01"
PASS highlightedEntry() is "2012-02"
PASS highlightedEntry() is "2012-01"
Check that up arrow key at top of list does nothing.
PASS highlightedEntry() is "2012-01"
PASS highlightedEntry() is "2012-02"
Check that page up/down arrow keys work.
PASS highlightedEntry() is "2015-04"
PASS highlightedEntry() is "2016-12"
PASS highlightedEntry() is "2013-09"
PASS highlightedEntry() is "2016-12"
PASS highlightedEntry() is "@openCalendarPicker"
Check that down arrow key at bottom of list does nothing.
PASS highlightedEntry() is "@openCalendarPicker"
Check that enter key sets the highlighted value.
PASS highlightedEntry() is "2016-12"
PASS document.getElementById("mock-page-popup") is null
PASS document.getElementById("month").value is "2016-12"
Reopen popup.
PASS highlightedEntry() is "@openCalendarPicker"
Open calendar picker.
PASS expectingDidHideEvent is true
PASS expectingDidHideEvent is false
Confirm calendar picker did open.
PASS popupWindow.document.getElementById("main").firstChild.classList.contains("calendar-picker") is true
Check that escape key closes the popup.
PASS document.getElementById("mock-page-popup") is null
PASS document.getElementById("month").value is "2016-12"
PASS successfullyParsed is true

TEST COMPLETE