Skip to content

Commit f17d763

Browse files
committed
Add overlooked test
1 parent 6b8dd49 commit f17d763

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/jasmine/tests/legend_test.js

+9
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,15 @@ describe('legend interaction', function() {
11341134
.then(assertVisible([false, true, true, true, true, true, true, true]))
11351135
.catch(fail).then(done);
11361136
});
1137+
1138+
it('double-clicking isolates a groupby trace', function(done) {
1139+
Promise.resolve()
1140+
.then(click(1, 2))
1141+
.then(assertVisible([false, 'legendonly', true, 'legendonly', 'legendonly', 'legendonly', 'legendonly', 'legendonly']))
1142+
.then(click(1, 2))
1143+
.then(assertVisible([false, true, true, true, true, true, true, true]))
1144+
.catch(fail).then(done);
1145+
});
11371146
});
11381147
});
11391148
});

0 commit comments

Comments
 (0)