From b149b39b061c1da02515e366525e0bdb00904567 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Mon, 17 Nov 2014 14:06:10 -0800 Subject: [PATCH] Reinstating sequence control tests --- test/controls.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/test/controls.js b/test/controls.js index f0f008fe..640b2402 100644 --- a/test/controls.js +++ b/test/controls.js @@ -278,10 +278,6 @@ asyncTest('SequenceControlOnPrevNextWrapOff', function () { - expect(0); - start(); - return; // Temporarily disabling - var openHandler = function () { viewer.removeHandler('open', openHandler); ok(viewer.showSequenceControl, 'showSequenceControl should be on'); @@ -333,6 +329,7 @@ ], springStiffness: 100, // Faster animation = faster tests showSequenceControl: true, + sequenceMode: true, navPrevNextWrap: false }); viewer.addHandler('open', openHandler); @@ -340,10 +337,6 @@ asyncTest('SequenceControlOnPrevNextWrapOn', function () { - expect(0); - start(); - return; // Temporarily disabling - var openHandler = function () { viewer.removeHandler('open', openHandler); ok(viewer.showSequenceControl, 'showSequenceControl should be on'); @@ -388,6 +381,7 @@ ], springStiffness: 100, // Faster animation = faster tests showSequenceControl: true, + sequenceMode: true, navPrevNextWrap: true }); viewer.addHandler('open', openHandler);