From f3d880df4cf57707e3249f91bd91d9e4ec712468 Mon Sep 17 00:00:00 2001 From: houseofyin Date: Mon, 1 Apr 2013 23:30:05 -0400 Subject: [PATCH] Fixed a few minor errors in the test code --- test/navigator.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/navigator.js b/test/navigator.js index 865b282b..0584ba0a 100644 --- a/test/navigator.js +++ b/test/navigator.js @@ -158,7 +158,7 @@ QUnit.config.autostart = false; { //Ignore. Subsequent code will try again shortly } - if (( !viewerAndNavigatorDisplayReady) && count < 40) { + if (( !viewerAndNavigatorDisplayReady) && count < 50) { count++; setTimeout(function () {waitForViewer(handler, count, currentDisplayRegionLeft, currentDisplayWidth);}, 100) } @@ -167,7 +167,7 @@ QUnit.config.autostart = false; { console.log( "waitForViewer:" + viewer.drawer + ":" + viewer.drawer.needsUpdate() + ":" + - propertyAchieved + ":" + + viewerAndNavigatorDisplayReady + ":" + lastDisplayRegionLeft + ":" + currentDisplayRegionLeft + ":" + lastDisplayWidth + ":" + currentDisplayWidth + ":" + viewer.viewport.getBounds(true).x + ":" + viewer.viewport.getBounds().x + ":" + @@ -379,6 +379,7 @@ QUnit.config.autostart = false; }); asyncTest('NavigatorOnJQueryDialog', function () { + $('#exampleNavigator').dialog(); assessNavigatorViewerPlacement({ id:'example', navigatorId:'exampleNavigator',