Skip to content

Commit e791dae

Browse files
committed
fixup (adapt commit)
1 parent aeaf6e2 commit e791dae

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

test/jasmine/tests/cartesian_interact_test.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -727,26 +727,6 @@ describe('axis zoom/pan and main plot zoom', function() {
727727
.then(done);
728728
});
729729

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-
750730
it('should compute correct multicategory tick label span during drag', function(done) {
751731
var fig = Lib.extendDeep({}, require('@mocks/multicategory.json'));
752732

0 commit comments

Comments
 (0)