We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05089a3 commit 5449f30Copy full SHA for 5449f30
test/jasmine/tests/legend_test.js
@@ -1029,7 +1029,7 @@ describe('legend interaction', function() {
1029
});
1030
1031
1032
- describe('@flaky visible toggle', function() {
+ describe('visible toggle', function() {
1033
var gd;
1034
1035
beforeEach(function() {
@@ -1048,8 +1048,10 @@ describe('legend interaction', function() {
1048
function clickAt(p) {
1049
return function() {
1050
return new Promise(function(resolve) {
1051
- mouseEvent('mousedown', p[0], p[1]);
1052
- mouseEvent('mouseup', p[0], p[1]);
+ var el = d3.select('g.legend').node();
+ var opts = {element: el};
1053
+ mouseEvent('mousedown', p[0], p[1], opts);
1054
+ mouseEvent('mouseup', p[0], p[1], opts);
1055
setTimeout(resolve, DBLCLICKDELAY + 20);
1056
1057
};
0 commit comments