From 49c3fb74039d9e840125c20e27edf52b98cc2609 Mon Sep 17 00:00:00 2001 From: Dave Stein Date: Fri, 22 Aug 2014 11:51:15 -0400 Subject: Draggable Tests: Ensure scrolling and dragging tests assert correctly --- tests/unit/testsuite.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/unit/testsuite.js') diff --git a/tests/unit/testsuite.js b/tests/unit/testsuite.js index 9dd0b04ab..cb5397d57 100644 --- a/tests/unit/testsuite.js +++ b/tests/unit/testsuite.js @@ -205,9 +205,11 @@ TestHelpers.onFocus= function( element, onFocus ) { }; TestHelpers.forceScrollableWindow = function( appendTo ) { + // The main testable area is 10000x10000 so to enforce scrolling, + // this DIV must be greater than 10000 to work return $( "
" ).css({ - height: "10000px", - width: "10000px" + height: "11000px", + width: "11000px" }).appendTo( appendTo || "#qunit-fixture" ); }; -- cgit v1.2.3