@@ -257,7 +257,7 @@ describe('Test gl2d plots', function() {
257
257
expect ( gd . layout . xaxis . range ) . toBeCloseToArray ( originalX , precision ) ;
258
258
expect ( gd . layout . yaxis . range ) . toBeCloseToArray ( originalY , precision ) ;
259
259
} )
260
- . then ( delay ( 200 ) )
260
+ . then ( delay ( 20 ) )
261
261
. then ( function ( ) {
262
262
gd . on ( 'plotly_relayout' , relayoutCallback ) ;
263
263
} )
@@ -311,7 +311,7 @@ describe('Test gl2d plots', function() {
311
311
expect ( gd . layout . xaxis . range ) . toBeCloseToArray ( originalX , precision ) ;
312
312
expect ( gd . layout . yaxis . range ) . toBeCloseToArray ( originalY , precision ) ;
313
313
} )
314
- . then ( delay ( 200 ) )
314
+ . then ( delay ( 20 ) )
315
315
. then ( function ( ) {
316
316
// callback count expectation: X and back; Y and back; XY and back
317
317
expect ( relayoutCallback ) . toHaveBeenCalledTimes ( 6 ) ;
@@ -359,7 +359,7 @@ describe('Test gl2d plots', function() {
359
359
. then ( done ) ;
360
360
} ) ;
361
361
362
- it ( 'should display selection of big number of points' , function ( done ) {
362
+ it ( '@noCI should display selection of big number of points' , function ( done ) {
363
363
// generate large number of points
364
364
var x = [ ] , y = [ ] , n = 2e2 , N = n * n ;
365
365
for ( var i = 0 ; i < N ; i ++ ) {
@@ -377,9 +377,7 @@ describe('Test gl2d plots', function() {
377
377
} ;
378
378
379
379
Plotly . plot ( gd , mock )
380
- . then ( delay ( 1000 ) )
381
380
. then ( select ( [ [ 160 , 100 ] , [ 180 , 100 ] ] ) )
382
- . then ( delay ( 1000 ) )
383
381
. then ( function ( ) {
384
382
expect ( readPixel ( gd . querySelector ( '.gl-canvas-context' ) , 168 , 100 ) [ 3 ] ) . toBe ( 0 ) ;
385
383
expect ( readPixel ( gd . querySelector ( '.gl-canvas-context' ) , 158 , 100 ) [ 3 ] ) . not . toBe ( 0 ) ;
0 commit comments