blob: 88ef8c1654627af8a348d9abd03186d07adb22dc [file] [log] [blame]
Check that page popup doesn't exist at first.
PASS $("mock-page-popup") is null
Check that page popup exists.
PASS popupWindow.pagePopupController.toString() is "[object PagePopupController]"
Check that hovering over an entry highlights it.
PASS highlightedEntry() is "2012-11-22T01:02"
Check that moving the mouse outside the popup de-highlights entries.
PASS highlightedEntry() is null
Check that mouse click closes the popup and sets the value.
PASS document.getElementById("mock-page-popup") is null
PASS document.getElementById("datetime-local").value is "2012-11-22T01:03"
Check that you can scroll using the mouse wheel.
PASS scrollTopBeforeWheelEvent < suggestionList.scrollTop became true
PASS scrollTopBeforeWheelEvent > suggestionList.scrollTop became true
PASS $("mock-page-popup") is null
Check that you can scroll using the scroll bar.
PASS scrollTopBeforeWheelEvent < scrollTopAfterWheelEvent is true
PASS successfullyParsed is true
TEST COMPLETE