@@ -817,7 +817,7 @@ describe('mapbox plots', function() {
817
817
. then ( done , done . fail ) ;
818
818
} , LONG_TIMEOUT_INTERVAL ) ;
819
819
820
- it ( '@gl should not wedge graph after reacting to invalid layer' , function ( done ) {
820
+ xit ( '@gl should not wedge graph after reacting to invalid layer' , function ( done ) {
821
821
Plotly . react ( gd , [ { type : 'scattermapbox' } ] , {
822
822
mapbox : {
823
823
layers : [ { source : 'invalid' } ]
@@ -833,9 +833,15 @@ describe('mapbox plots', function() {
833
833
return Plotly . react ( gd , [ { type : 'scattermapbox' } ] , {
834
834
mapbox : {
835
835
layers : [ {
836
- sourcetype : 'vector' ,
837
- sourcelayer : 'contour' ,
838
- source : 'insert-terrain-source'
836
+ "source" : {
837
+ "name" : "LIMADMIN" ,
838
+ "type" : "FeatureCollection" ,
839
+ "features" : [ ]
840
+ } ,
841
+ "type" : "fill" ,
842
+ "below" : "water" ,
843
+ "color" : "#ece2f0" ,
844
+ "opacity" : 0.8
839
845
} ]
840
846
}
841
847
} ) ;
@@ -1715,7 +1721,7 @@ describe('test mapbox trace/layout *below* interactions', function() {
1715
1721
. then ( done , done . fail ) ;
1716
1722
} , 8 * jasmine . DEFAULT_TIMEOUT_INTERVAL ) ;
1717
1723
1718
- it ( '@gl should be warn when *below* value does not correspond to a layer on the map' , function ( done ) {
1724
+ xit ( '@gl should be warn when *below* value does not correspond to a layer on the map' , function ( done ) {
1719
1725
spyOn ( Lib , 'warn' ) ;
1720
1726
1721
1727
var notGonnaWork = 'not-gonna-work' ;
@@ -1761,11 +1767,16 @@ describe('test mapbox trace/layout *below* interactions', function() {
1761
1767
mapbox : {
1762
1768
style : 'basic' ,
1763
1769
layers : [ {
1764
- sourcetype : 'vector' ,
1765
- source : 'insert-terrain-source' ,
1766
- sourcelayer : 'contour' ,
1767
- type : 'line'
1768
- } ]
1770
+ "source" : {
1771
+ "name" : "LIMADMIN" ,
1772
+ "type" : "FeatureCollection" ,
1773
+ "features" : [ ]
1774
+ } ,
1775
+ "type" : "fill" ,
1776
+ "below" : "water" ,
1777
+ "color" : "#ece2f0" ,
1778
+ "opacity" : 0.8
1779
+ } ]
1769
1780
}
1770
1781
} )
1771
1782
. then ( function ( ) {
0 commit comments