From 3e14e0fe33a1464dcbca4e60753eeb7dc4b6fd91 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Sun, 27 Sep 2015 19:14:52 +0200 Subject: [PATCH] Calendar tests: Add comment to number of month test --- tests/unit/calendar/options.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/calendar/options.js b/tests/unit/calendar/options.js index 3172787de..bcb86c55f 100644 --- a/tests/unit/calendar/options.js +++ b/tests/unit/calendar/options.js @@ -298,6 +298,7 @@ test( "numberOfMonths", function() { ); // Test if using cursor to go to the next / prev month advances three month + // Focus doesn't work here so we use an additional mouse down event container.find( "tbody:first td[id]:first button" ).trigger( "mousedown" ); $( document.activeElement ).simulate( "keydown", { keyCode: $.ui.keyCode.LEFT } ); equal( container.find( ".ui-calendar-month:first" ).text(), "May", -- 2.39.5