mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Reinstating sequence control tests
This commit is contained in:
parent
0e31b67ca5
commit
b149b39b06
10
test/controls.js
vendored
10
test/controls.js
vendored
@ -278,10 +278,6 @@
|
|||||||
|
|
||||||
asyncTest('SequenceControlOnPrevNextWrapOff', function () {
|
asyncTest('SequenceControlOnPrevNextWrapOff', function () {
|
||||||
|
|
||||||
expect(0);
|
|
||||||
start();
|
|
||||||
return; // Temporarily disabling
|
|
||||||
|
|
||||||
var openHandler = function () {
|
var openHandler = function () {
|
||||||
viewer.removeHandler('open', openHandler);
|
viewer.removeHandler('open', openHandler);
|
||||||
ok(viewer.showSequenceControl, 'showSequenceControl should be on');
|
ok(viewer.showSequenceControl, 'showSequenceControl should be on');
|
||||||
@ -333,6 +329,7 @@
|
|||||||
],
|
],
|
||||||
springStiffness: 100, // Faster animation = faster tests
|
springStiffness: 100, // Faster animation = faster tests
|
||||||
showSequenceControl: true,
|
showSequenceControl: true,
|
||||||
|
sequenceMode: true,
|
||||||
navPrevNextWrap: false
|
navPrevNextWrap: false
|
||||||
});
|
});
|
||||||
viewer.addHandler('open', openHandler);
|
viewer.addHandler('open', openHandler);
|
||||||
@ -340,10 +337,6 @@
|
|||||||
|
|
||||||
asyncTest('SequenceControlOnPrevNextWrapOn', function () {
|
asyncTest('SequenceControlOnPrevNextWrapOn', function () {
|
||||||
|
|
||||||
expect(0);
|
|
||||||
start();
|
|
||||||
return; // Temporarily disabling
|
|
||||||
|
|
||||||
var openHandler = function () {
|
var openHandler = function () {
|
||||||
viewer.removeHandler('open', openHandler);
|
viewer.removeHandler('open', openHandler);
|
||||||
ok(viewer.showSequenceControl, 'showSequenceControl should be on');
|
ok(viewer.showSequenceControl, 'showSequenceControl should be on');
|
||||||
@ -388,6 +381,7 @@
|
|||||||
],
|
],
|
||||||
springStiffness: 100, // Faster animation = faster tests
|
springStiffness: 100, // Faster animation = faster tests
|
||||||
showSequenceControl: true,
|
showSequenceControl: true,
|
||||||
|
sequenceMode: true,
|
||||||
navPrevNextWrap: true
|
navPrevNextWrap: true
|
||||||
});
|
});
|
||||||
viewer.addHandler('open', openHandler);
|
viewer.addHandler('open', openHandler);
|
||||||
|
Loading…
Reference in New Issue
Block a user