@@ -374,7 +374,7 @@ describe('Click-to-select', function() {
374
374
. then ( done ) ;
375
375
} ) ;
376
376
377
- it ( '@flaky works in a multi-trace plot' , function ( done ) {
377
+ it ( '@gl works in a multi-trace plot' , function ( done ) {
378
378
Plotly . plot ( gd , [
379
379
{
380
380
x : [ 1 , 3 , 5 , 4 , 10 , 12 , 12 , 7 ] ,
@@ -474,7 +474,7 @@ describe('Click-to-select', function() {
474
474
. then ( done ) ;
475
475
} ) ;
476
476
477
- it ( '@flaky is supported by scattergl in pan/zoom mode' , function ( done ) {
477
+ it ( '@gl is supported by scattergl in pan/zoom mode' , function ( done ) {
478
478
Plotly . plot ( gd , [
479
479
{
480
480
x : [ 7 , 8 , 9 , 10 ] ,
@@ -630,11 +630,12 @@ describe('Click-to-select', function() {
630
630
testCase ( 'scatterpolar' , require ( '@mocks/polar_scatter.json' ) , 130 , 290 ,
631
631
[ [ ] , [ ] , [ ] , [ 19 ] , [ ] , [ ] ] , { dragmode : 'zoom' } ) ,
632
632
testCase ( 'scatterpolargl' , require ( '@mocks/glpolar_scatter.json' ) , 130 , 290 ,
633
- [ [ ] , [ ] , [ ] , [ 19 ] , [ ] , [ ] ] , { dragmode : 'zoom' } ) ,
634
- testCase ( 'splom' , require ( '@mocks/splom_lower.json' ) , 427 , 400 , [ [ ] , [ 7 ] , [ ] ] )
633
+ [ [ ] , [ ] , [ ] , [ 19 ] , [ ] , [ ] ] , { dragmode : 'zoom' } ) . enableGl ( ) ,
634
+ testCase ( 'splom' , require ( '@mocks/splom_lower.json' ) , 427 , 400 , [ [ ] , [ 7 ] , [ ] ] ) . enableGl ( )
635
635
]
636
636
. forEach ( function ( testCase ) {
637
- it ( '@flaky trace type ' + testCase . traceType , function ( done ) {
637
+ var ciAnnotation = testCase . gl ? 'gl' : 'flaky' ;
638
+ it ( '@' + ciAnnotation + ' trace type ' + testCase . traceType , function ( done ) {
638
639
var defaultLayoutOpts = {
639
640
layout : {
640
641
clickmode : 'event+select' ,
@@ -687,7 +688,12 @@ describe('Click-to-select', function() {
687
688
x : x ,
688
689
y : y ,
689
690
expectedPts : expectedPts ,
690
- configOptions : configOptions
691
+ configOptions : configOptions ,
692
+ gl : false ,
693
+ enableGl : function ( ) {
694
+ this . gl = true ;
695
+ return this ;
696
+ }
691
697
} ;
692
698
}
693
699
} ) ;
0 commit comments