File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -437,17 +437,23 @@ describe('Click-to-select', function() {
437
437
assertSelectedPoints ( [ 7 , 35 ] ) ;
438
438
return _clickPt ( mock14Pts [ 7 ] , { shiftKey : true } ) ;
439
439
} )
440
- . then ( function ( ) {
441
- assertSelectedPoints ( 35 ) ;
442
- drag ( LASSO_PATH ) ;
443
- } )
444
440
. then ( function ( ) {
445
441
assertSelectedPoints ( 35 ) ;
446
442
_clickPt ( mock14Pts [ 35 ] , { shiftKey : true } ) ;
447
443
return deselectPromise ;
448
444
} )
449
445
. then ( function ( ) {
450
446
assertSelectionCleared ( ) ;
447
+ return _clickPt ( mock14Pts [ 7 ] , { shiftKey : true } ) ;
448
+ } )
449
+ . then ( function ( ) {
450
+ assertSelectedPoints ( 7 ) ;
451
+ drag ( [ [ 110 , 100 ] , [ 300 , 300 ] ] ) ;
452
+ } )
453
+ . then ( delay ( 100 ) )
454
+ . then ( function ( ) {
455
+ // persist after zoombox
456
+ assertSelectedPoints ( 7 ) ;
451
457
} )
452
458
. catch ( failTest )
453
459
. then ( done ) ;
You can’t perform that action at this time.
0 commit comments