@@ -1675,24 +1675,24 @@ describe('Test select box and lasso in general:', function() {
16751675 } ) . then ( function ( ) {
16761676 return drag ( [ [ 150 , 100 ] , [ 600 , 250 ] ] ) ;
16771677 } ) . then ( function ( ) {
1678- expect ( gd . _fullData [ 0 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1679- expect ( gd . _fullData [ 1 ] . selectedpoints ) . toBe ( undefined ) ;
1680- expect ( gd . _fullData [ 2 ] . selectedpoints ) . toEqual ( [ 1 ] ) ;
1681- expect ( gd . _fullData [ 3 ] . selectedpoints ) . toBe ( undefined ) ;
1678+ expect ( gd . data [ 0 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1679+ expect ( gd . data [ 1 ] . selectedpoints ) . toBe ( undefined ) ;
1680+ expect ( gd . data [ 2 ] . selectedpoints ) . toEqual ( [ 1 ] ) ;
1681+ expect ( gd . data [ 3 ] . selectedpoints ) . toBe ( undefined ) ;
16821682 } ) . then ( function ( ) {
16831683 return drag ( [ [ 600 , 175 ] , [ 780 , 175 ] ] ) ; // Extend existing selection
16841684 } ) . then ( function ( ) {
1685- expect ( gd . _fullData [ 0 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1686- expect ( gd . _fullData [ 1 ] . selectedpoints ) . toBe ( undefined ) ;
1687- expect ( gd . _fullData [ 2 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1688- expect ( gd . _fullData [ 3 ] . selectedpoints ) . toBe ( undefined ) ;
1685+ expect ( gd . data [ 0 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1686+ expect ( gd . data [ 1 ] . selectedpoints ) . toBe ( undefined ) ;
1687+ expect ( gd . data [ 2 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1688+ expect ( gd . data [ 3 ] . selectedpoints ) . toBe ( undefined ) ;
16891689 } ) . then ( function ( ) {
1690- return drag ( [ [ 150 , 600 ] , [ 780 , 300 ] ] ) ;
1690+ return drag ( [ [ 150 , 750 ] , [ 780 , 300 ] ] ) ;
16911691 } ) . then ( function ( ) {
1692- expect ( gd . _fullData [ 0 ] . selectedpoints ) . toBe ( undefined ) ;
1693- expect ( gd . _fullData [ 1 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1694- expect ( gd . _fullData [ 2 ] . selectedpoints ) . toBe ( undefined ) ;
1695- expect ( gd . _fullData [ 3 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1692+ expect ( gd . data [ 0 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1693+ expect ( gd . data [ 1 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1694+ expect ( gd . data [ 2 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
1695+ expect ( gd . data [ 3 ] . selectedpoints ) . toEqual ( [ 1 , 2 ] ) ;
16961696 } ) . then ( done , done . fail ) ;
16971697 } ) ;
16981698} ) ;
0 commit comments