@@ -727,26 +727,6 @@ describe('axis zoom/pan and main plot zoom', function() {
727
727
. then ( done ) ;
728
728
} ) ;
729
729
730
- xit ( 'handles y-only to xy back to y-only in single zoombox drag motion' , function ( done ) {
731
- function _assert ( msg , xrng , yrng ) {
732
- expect ( gd . layout . xaxis . range ) . toBeCloseToArray ( xrng , 2 , 'xrng - ' + msg ) ;
733
- expect ( gd . layout . yaxis . range ) . toBeCloseToArray ( yrng , 2 , 'yrng - ' + msg ) ;
734
- }
735
-
736
- Plotly . plot ( gd , [ { y : [ 1 , 2 , 1 ] } ] )
737
- . then ( doDrag ( 'xy' , 'nsew' , 0 , 50 ) )
738
- . then ( doDrag ( 'xy' , 'nsew' , 50 , 50 ) )
739
- . then ( function ( ) { _assert ( 'after xy drag' , [ 1 , 1.208 ] , [ 1.287 , 1.5 ] ) ; } )
740
- . then ( doDblClick ( 'xy' , 'nsew' ) )
741
- . then ( doDrag ( 'xy' , 'nsew' , 50 , 0 ) )
742
- . then ( function ( ) { _assert ( 'after x-only drag' , [ 1 , 1.208 ] , [ 0.926 , 2.073 ] ) ; } )
743
- . then ( doDblClick ( 'xy' , 'nsew' ) )
744
- . then ( doDrag ( 'xy' , 'nsew' , 0 , 50 ) )
745
- . then ( function ( ) { _assert ( 'after y-only drag' , [ - 0.128 , 2.128 ] , [ 1.287 , 1.5 ] ) ; } )
746
- . catch ( failTest )
747
- . then ( done ) ;
748
- } ) ;
749
-
750
730
it ( 'should compute correct multicategory tick label span during drag' , function ( done ) {
751
731
var fig = Lib . extendDeep ( { } , require ( '@mocks/multicategory.json' ) ) ;
752
732
0 commit comments