@@ -1675,24 +1675,24 @@ describe('Test select box and lasso in general:', function() {
1675
1675
} ) . then ( function ( ) {
1676
1676
return drag ( [ [ 150 , 100 ] , [ 600 , 250 ] ] ) ;
1677
1677
} ) . 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 ) ;
1682
1682
} ) . then ( function ( ) {
1683
1683
return drag ( [ [ 600 , 175 ] , [ 780 , 175 ] ] ) ; // Extend existing selection
1684
1684
} ) . 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 ) ;
1689
1689
} ) . then ( function ( ) {
1690
- return drag ( [ [ 150 , 600 ] , [ 780 , 300 ] ] ) ;
1690
+ return drag ( [ [ 150 , 750 ] , [ 780 , 300 ] ] ) ;
1691
1691
} ) . 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 ] ) ;
1696
1696
} ) . then ( done , done . fail ) ;
1697
1697
} ) ;
1698
1698
} ) ;
0 commit comments