Skip to content

Commit 344a6c5

Browse files
authored
Merge pull request #2996 from plotly/fixup-noci-polar-test
There are now 4 `<g.drag>` nodes in polar subplots
2 parents c6cdcea + 9372ea4 commit 344a6c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/jasmine/tests/plot_api_test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2962,7 +2962,7 @@ describe('Test plot api', function() {
29622962
Plotly.newPlot(gd, data, layout)
29632963
.then(countPlots)
29642964
.then(function() {
2965-
expect(d3.select(gd).selectAll('.drag').size()).toBe(3);
2965+
expect(d3.select(gd).selectAll('.drag').size()).toBe(4);
29662966

29672967
return Plotly.react(gd, data, layout, {staticPlot: true});
29682968
})
@@ -2972,7 +2972,7 @@ describe('Test plot api', function() {
29722972
return Plotly.react(gd, data, layout, {});
29732973
})
29742974
.then(function() {
2975-
expect(d3.select(gd).selectAll('.drag').size()).toBe(3);
2975+
expect(d3.select(gd).selectAll('.drag').size()).toBe(4);
29762976
})
29772977
.catch(failTest)
29782978
.then(done);

0 commit comments

Comments
 (0)