Checks reloading page resets input values On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS highlightedEntry() is null PASS highlightedEntry() is "2012-01-01T00:00" PASS document.getElementById("mock-page-popup") is null PASS iframe.contentDocument.getElementById("test1").value is "2012-01-01T00:00" PASS FAIL highlightedEntry() is should be null PASS (of type object). Was @openCalendarPicker (of type string). FAIL highlightedEntry() is "2012-01-01T00:00" should be 2012-01-01T00:00. Was @openCalendarPicker. PASS document.getElementById("mock-page-popup") is null PASS FAIL iframe.contentDocument.getElementById("test2").value is "2012-01-01T00:00" should be 2012-01-01T00:00. Was 2002-02-02T00:00. PASS testInput1.value is "" PASS testInput2.value is "2002-02-02T00:00" PASS successfullyParsed is true TEST COMPLETE