Skip to content

Commit

Permalink
Merge pull request #2996 from plotly/fixup-noci-polar-test
Browse files Browse the repository at this point in the history
There are now 4 `<g.drag>` nodes in polar subplots
  • Loading branch information
etpinard authored Sep 11, 2018
2 parents c6cdcea + 9372ea4 commit 344a6c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jasmine/tests/plot_api_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2962,7 +2962,7 @@ describe('Test plot api', function() {
Plotly.newPlot(gd, data, layout)
.then(countPlots)
.then(function() {
expect(d3.select(gd).selectAll('.drag').size()).toBe(3);
expect(d3.select(gd).selectAll('.drag').size()).toBe(4);

return Plotly.react(gd, data, layout, {staticPlot: true});
})
Expand All @@ -2972,7 +2972,7 @@ describe('Test plot api', function() {
return Plotly.react(gd, data, layout, {});
})
.then(function() {
expect(d3.select(gd).selectAll('.drag').size()).toBe(3);
expect(d3.select(gd).selectAll('.drag').size()).toBe(4);
})
.catch(failTest)
.then(done);
Expand Down

0 comments on commit 344a6c5

Please sign in to comment.