MCPcopy Index your code
hub / github.com/plotly/plotly.js / _run

Function _run

test/jasmine/tests/select_test.js:708–729  ·  view source on GitHub ↗
(testCase, doneFn)

Source from the content-addressed store, hash-verified

706 });
707
708 function _run(testCase, doneFn) {
709 _newPlot(gd, testCase.mock.data, testCase.mock.layout, testCase.mock.config)
710 .then(function() {
711 return _immediateClickPt(testCase);
712 })
713 .then(function() {
714 assertSelectedPoints(testCase.expectedPts);
715 return Plotly.relayout(gd, 'dragmode', 'lasso');
716 })
717 .then(function() {
718 _clickPt(testCase);
719 return deselectPromise;
720 })
721 .then(function() {
722 assertSelectionCleared();
723 return _clickPt(testCase);
724 })
725 .then(function() {
726 assertSelectedPoints(testCase.expectedPts);
727 })
728 .then(doneFn, doneFn.fail);
729 }
730 });
731
732 it('should maintain style of errorbars after double click cleared selection (bar case)', function(done) {

Callers 1

select_test.jsFile · 0.70

Calls 12

_immediateClickPtFunction · 0.85
assertSelectedPointsFunction · 0.85
_clickPtFunction · 0.85
assertSelectionClearedFunction · 0.85
doneFnFunction · 0.85
resetEventsFunction · 0.85
assertSelectionNodesFunction · 0.85
_newPlotFunction · 0.70
clickFunction · 0.70
dragFunction · 0.70
assertEventCountsFunction · 0.70
doubleClickFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…