Tests if calendar picker works for datetime-local 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 selectedValue() is "2011-12-31"
PASS
FAIL highlightedValue() is "2011-12-31"
PASS should be 2011-12-31. Was 2011-12-10.
FAIL highlightedValue() is "2012-01-01"
PASS should be 2012-01-01. Was 2011-12-11.
FAIL document.getElementById("datetimelocal").value is "2012-01-01T12:53:45" should be 2012-01-01T12:53:45. Was 2011-12-11T12:53:45.
PASS successfullyParsed is true

TEST COMPLETE