@@ -1639,7 +1639,7 @@ describe('Test select box and lasso in general:', function() {
16391639 pattern : 'independent'
16401640 } ,
16411641 width : 800 ,
1642- height : 800 ,
1642+ height : 600 ,
16431643 yaxis : {
16441644 showline : true ,
16451645 title : {
@@ -1673,21 +1673,21 @@ describe('Test select box and lasso in general:', function() {
16731673 } ) . then ( function ( ) {
16741674 return Plotly . relayout ( gd , 'dragmode' , 'select' ) ;
16751675 } ) . then ( function ( ) {
1676- return drag ( [ [ 150 , 600 ] , [ 780 , 400 ] ] ) ;
1676+ return drag ( [ [ 150 , 450 ] , [ 650 , 350 ] ] ) ;
16771677 } ) . then ( function ( ) {
16781678 expect ( gd . data [ 0 ] . selectedpoints ) . toBe ( undefined ) ;
16791679 expect ( gd . data [ 1 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
16801680 expect ( gd . data [ 2 ] . selectedpoints ) . toBe ( undefined ) ;
16811681 expect ( gd . data [ 3 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
16821682 } ) . then ( function ( ) {
1683- return drag ( [ [ 150 , 100 ] , [ 600 , 250 ] ] ) ;
1683+ return drag ( [ [ 150 , 100 ] , [ 600 , 200 ] ] ) ;
16841684 } ) . then ( function ( ) {
16851685 expect ( gd . data [ 0 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
16861686 expect ( gd . data [ 1 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
16871687 expect ( gd . data [ 2 ] . selectedpoints ) . toEqual ( [ 1 ] ) ;
16881688 expect ( gd . data [ 3 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
16891689 } ) . then ( function ( ) {
1690- return drag ( [ [ 600 , 175 ] , [ 780 , 175 ] ] ) ; // Extend existing selection
1690+ return drag ( [ [ 600 , 150 ] , [ 650 , 150 ] ] ) ; // Extend existing selection
16911691 } ) . then ( function ( ) {
16921692 expect ( gd . data [ 0 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
16931693 expect ( gd . data [ 1 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
0 commit comments