@@ -681,15 +681,15 @@ describe('config argument', function() {
681
681
gd = parent . childNodes [ 0 ] ;
682
682
}
683
683
684
- it ( '@flaky should resize when the viewport width/height changes' , function ( done ) {
684
+ it ( 'should resize when the viewport width/height changes' , function ( done ) {
685
685
fillParent ( 1 , 1 ) ;
686
686
Plotly . plot ( gd , data , { } , { responsive : true } )
687
687
. then ( testResponsive )
688
688
. catch ( failTest )
689
689
. then ( done ) ;
690
690
} ) ;
691
691
692
- it ( '@flaky should still be responsive if the plot is edited' , function ( done ) {
692
+ it ( 'should still be responsive if the plot is edited' , function ( done ) {
693
693
fillParent ( 1 , 1 ) ;
694
694
Plotly . plot ( gd , data , { } , { responsive : true } )
695
695
. then ( function ( ) { return Plotly . restyle ( gd , 'y[0]' , data [ 0 ] . y [ 0 ] + 2 ) ; } )
@@ -698,7 +698,7 @@ describe('config argument', function() {
698
698
. then ( done ) ;
699
699
} ) ;
700
700
701
- it ( '@flaky should still be responsive if the plot is purged and replotted' , function ( done ) {
701
+ it ( 'should still be responsive if the plot is purged and replotted' , function ( done ) {
702
702
fillParent ( 1 , 1 ) ;
703
703
Plotly . plot ( gd , data , { } , { responsive : true } )
704
704
. then ( function ( ) { return Plotly . newPlot ( gd , data , { } , { responsive : true } ) ; } )
@@ -707,7 +707,7 @@ describe('config argument', function() {
707
707
. then ( done ) ;
708
708
} ) ;
709
709
710
- it ( '@flaky should only have one resize handler when plotted more than once' , function ( done ) {
710
+ it ( 'should only have one resize handler when plotted more than once' , function ( done ) {
711
711
fillParent ( 1 , 1 ) ;
712
712
var cntWindowResize = 0 ;
713
713
window . addEventListener ( 'resize' , function ( ) { cntWindowResize ++ ; } ) ;
@@ -726,7 +726,7 @@ describe('config argument', function() {
726
726
. then ( done ) ;
727
727
} ) ;
728
728
729
- it ( '@flaky should become responsive if configured as such via Plotly.react' , function ( done ) {
729
+ it ( 'should become responsive if configured as such via Plotly.react' , function ( done ) {
730
730
fillParent ( 1 , 1 ) ;
731
731
Plotly . plot ( gd , data , { } , { responsive : false } )
732
732
. then ( function ( ) { return Plotly . react ( gd , data , { } , { responsive : true } ) ; } )
@@ -735,7 +735,7 @@ describe('config argument', function() {
735
735
. then ( done ) ;
736
736
} ) ;
737
737
738
- it ( '@flaky should stop being responsive if configured as such via Plotly.react' , function ( done ) {
738
+ it ( 'should stop being responsive if configured as such via Plotly.react' , function ( done ) {
739
739
fillParent ( 1 , 1 ) ;
740
740
Plotly . plot ( gd , data , { } , { responsive : true } )
741
741
// Check initial size
@@ -753,7 +753,7 @@ describe('config argument', function() {
753
753
} ) ;
754
754
755
755
// Testing fancier CSS layouts
756
- it ( '@flaky should resize horizontally in a flexbox when responsive: true' , function ( done ) {
756
+ it ( 'should resize horizontally in a flexbox when responsive: true' , function ( done ) {
757
757
parent . style . display = 'flex' ;
758
758
parent . style . flexDirection = 'row' ;
759
759
fillParent ( 1 , 2 , function ( ) {
@@ -766,7 +766,7 @@ describe('config argument', function() {
766
766
. then ( done ) ;
767
767
} ) ;
768
768
769
- it ( '@flaky should resize vertically in a flexbox when responsive: true' , function ( done ) {
769
+ it ( 'should resize vertically in a flexbox when responsive: true' , function ( done ) {
770
770
parent . style . display = 'flex' ;
771
771
parent . style . flexDirection = 'column' ;
772
772
fillParent ( 2 , 1 , function ( ) {
@@ -779,7 +779,7 @@ describe('config argument', function() {
779
779
. then ( done ) ;
780
780
} ) ;
781
781
782
- it ( '@flaky should resize in both direction in a grid when responsive: true' , function ( done ) {
782
+ it ( 'should resize in both direction in a grid when responsive: true' , function ( done ) {
783
783
var numCols = 2 ;
784
784
var numRows = 2 ;
785
785
parent . style . display = 'grid' ;
@@ -793,7 +793,7 @@ describe('config argument', function() {
793
793
. then ( done ) ;
794
794
} ) ;
795
795
796
- it ( '@flaky should provide a fixed non-zero width/height when autosize/responsive: true and container\' size is zero' , function ( done ) {
796
+ it ( 'should provide a fixed non-zero width/height when autosize/responsive: true and container\' size is zero' , function ( done ) {
797
797
fillParent ( 1 , 1 , function ( ) {
798
798
this . style . display = 'inline-block' ;
799
799
this . style . width = null ;
@@ -821,7 +821,7 @@ describe('config argument', function() {
821
821
822
822
// The following test is to guarantee we're not breaking the existing (although maybe not ideal) behaviour.
823
823
// In a future version, one may prefer responsive/autosize:true winning over an explicit width/height when embedded in a webpage.
824
- it ( '@flaky should use the explicitly provided width/height even if autosize/responsive:true' , function ( done ) {
824
+ it ( 'should use the explicitly provided width/height even if autosize/responsive:true' , function ( done ) {
825
825
fillParent ( 1 , 1 , function ( ) {
826
826
this . style . width = '1000px' ;
827
827
this . style . height = '500px' ;
0 commit comments