summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-mouse-operations-expected.txt
blob: d1802ba27e5ad62583dd711caf620587019c6fd6 (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
44
45
46
47
48
49
50
51

Tests if calendar picker mouse opearations 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
PASS currentMonth() is "2000-01"
PASS selectedValue() is "2000-01-02"
PASS selectedDayCells() is "2000-01-02"
PASS highlightedValue() is "2000-01-02"
PASS highlightedDayCells() is "2000-01-02"
Check that hovering over an entry highlights it.
PASS currentMonth() is "2000-01"
PASS selectedValue() is "2000-01-02"
PASS selectedDayCells() is "2000-01-02"
PASS highlightedValue() is "1999-12-31"
PASS highlightedDayCells() is "1999-12-31"
PASS currentMonth() is "2000-01"
PASS selectedValue() is "2000-01-02"
PASS selectedDayCells() is "2000-01-02"
PASS highlightedValue() is "2000-01-04"
PASS highlightedDayCells() is "2000-01-04"
Check that navigating between months maintains highlighted position.
PASS currentMonth() is "2000-02"
PASS selectedValue() is "2000-01-02"
PASS selectedDayCells() is ""
PASS highlightedValue() is "2000-02-08"
PASS highlightedDayCells() is "2000-02-08"
Check that mouse click sets the value.
PASS document.getElementById("date").value is "2000-02-05"
Check that clicking the month popup button opens the month popup.
PASS popupWindow.global.picker.monthPopupView.isVisible is false
PASS popupWindow.global.picker.monthPopupView.isVisible is true
PASS highlightedMonthButton() is "2000-02"
Check that hovering over a month button highlights it.
PASS highlightedMonthButton() is "2000-10"
Check that month wheel scrolls the list in the month popup.
PASS checkYearListViewScrollOffset() > 0 is true
PASS checkYearListViewScrollOffset() < 0 is true
Check that clicking an year list cell opens it.
PASS checkYearListViewScrollOffset() > 0 is true
PASS highlightedMonthButton() is "1999-10"
Check that clicking the month popup sets the month.
PASS popupWindow.global.picker.monthPopupView.isVisible is false
PASS currentMonth() is "1999-06"
PASS successfullyParsed is true

TEST COMPLETE