mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 21:26:10 +03:00
Speeding up the tets
This commit is contained in:
parent
3e24be12e0
commit
aca25d1979
@ -16,6 +16,10 @@ QUnit.config.autostart = false;
|
|||||||
setup:function () {
|
setup:function () {
|
||||||
Util.resetDom();
|
Util.resetDom();
|
||||||
resetTestVariables();
|
resetTestVariables();
|
||||||
|
},
|
||||||
|
teardown:function () {
|
||||||
|
Util.resetDom();
|
||||||
|
resetTestVariables();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -271,7 +275,7 @@ QUnit.config.autostart = false;
|
|||||||
assessmentOperation:assessViewerInCenter,
|
assessmentOperation:assessViewerInCenter,
|
||||||
assessmentMessage:"After drag on navigator from top left" }
|
assessmentMessage:"After drag on navigator from top left" }
|
||||||
],
|
],
|
||||||
autoHideWaitTime = 7500;
|
autoHideWaitTime = 3000;
|
||||||
|
|
||||||
seadragonProperties.visibilityRatio = 1;
|
seadragonProperties.visibilityRatio = 1;
|
||||||
viewer = OpenSeadragon(seadragonProperties);
|
viewer = OpenSeadragon(seadragonProperties);
|
||||||
@ -351,7 +355,9 @@ QUnit.config.autostart = false;
|
|||||||
id:'tallexample',
|
id:'tallexample',
|
||||||
prefixUrl:'/build/openseadragon/images/',
|
prefixUrl:'/build/openseadragon/images/',
|
||||||
tileSources:'/test/data/wide.dzi',
|
tileSources:'/test/data/wide.dzi',
|
||||||
showNavigator:true
|
showNavigator:true,
|
||||||
|
animationTime:0,
|
||||||
|
controlsFadeDelay:0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayRegionLocator:'.navigator .displayregion',
|
displayRegionLocator:'.navigator .displayregion',
|
||||||
@ -373,7 +379,9 @@ QUnit.config.autostart = false;
|
|||||||
navigatorId:'exampleNavigator',
|
navigatorId:'exampleNavigator',
|
||||||
prefixUrl:'/build/openseadragon/images/',
|
prefixUrl:'/build/openseadragon/images/',
|
||||||
tileSources:'/test/data/wide.dzi',
|
tileSources:'/test/data/wide.dzi',
|
||||||
showNavigator:true
|
showNavigator:true,
|
||||||
|
animationTime:0,
|
||||||
|
controlsFadeDelay:0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayRegionLocator:'#exampleNavigator .displayregion',
|
displayRegionLocator:'#exampleNavigator .displayregion',
|
||||||
@ -396,7 +404,9 @@ QUnit.config.autostart = false;
|
|||||||
navigatorId:'exampleNavigator',
|
navigatorId:'exampleNavigator',
|
||||||
prefixUrl:'/build/openseadragon/images/',
|
prefixUrl:'/build/openseadragon/images/',
|
||||||
tileSources:'/test/data/tall.dzi',
|
tileSources:'/test/data/tall.dzi',
|
||||||
showNavigator:true
|
showNavigator:true,
|
||||||
|
animationTime:0,
|
||||||
|
controlsFadeDelay:0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayRegionLocator:'#exampleNavigator .displayregion',
|
displayRegionLocator:'#exampleNavigator .displayregion',
|
||||||
@ -416,7 +426,9 @@ QUnit.config.autostart = false;
|
|||||||
id:'wideexample',
|
id:'wideexample',
|
||||||
prefixUrl:'/build/openseadragon/images/',
|
prefixUrl:'/build/openseadragon/images/',
|
||||||
tileSources:'/test/data/tall.dzi',
|
tileSources:'/test/data/tall.dzi',
|
||||||
showNavigator:true
|
showNavigator:true,
|
||||||
|
animationTime:0,
|
||||||
|
controlsFadeDelay:0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayRegionLocator:'.navigator .displayregion',
|
displayRegionLocator:'.navigator .displayregion',
|
||||||
|
Loading…
Reference in New Issue
Block a user