@@ -1226,7 +1226,7 @@ describe('mapbox plots', function() {
1226
1226
expect ( s . text ( ) ) . toEqual ( '© CARTO, © OpenStreetMap contributors' ) ;
1227
1227
assertLinks ( s , [
1228
1228
'https://carto.com/about-carto/' ,
1229
- 'https ://www.openstreetmap.org/copyright '
1229
+ 'http ://www.openstreetmap.org/about/ '
1230
1230
] ) ;
1231
1231
} )
1232
1232
. then ( done , done . fail ) ;
@@ -1279,15 +1279,15 @@ describe('mapbox plots', function() {
1279
1279
. then ( done , done . fail ) ;
1280
1280
} ) ;
1281
1281
1282
- it ( '@gl should be displayed for style from MapLibre ' , function ( done ) {
1282
+ it ( '@gl should be displayed for style (basic) ' , function ( done ) {
1283
1283
Plotly . newPlot ( gd , [ { type : 'scattermapbox' } ] , { mapbox : { style : 'basic' } } )
1284
1284
. then ( function ( ) {
1285
1285
var s = d3SelectAll ( '.maplibregl-ctrl-attrib' ) ;
1286
1286
expect ( s . size ( ) ) . toBe ( 1 ) ;
1287
1287
expect ( s . text ( ) ) . toEqual ( '© CARTO, © OpenStreetMap contributors' ) ;
1288
1288
assertLinks ( s , [
1289
- 'https://www.openstreetmap.org /about/' ,
1290
-
1289
+ 'https://carto.com /about-carto /' ,
1290
+ 'http://www.openstreetmap.org/about/' ,
1291
1291
] ) ;
1292
1292
} )
1293
1293
. then ( done , done . fail ) ;
@@ -1701,25 +1701,25 @@ describe('test mapbox trace/layout *below* interactions', function() {
1701
1701
} )
1702
1702
. then ( function ( ) {
1703
1703
_assert ( 'base' , {
1704
- scatter : [ 23 , 24 , 25 , 26 ] ,
1705
- density : [ 17 ] ,
1706
- choropleth : [ 5 , 6 ]
1704
+ scatter : [ 96 , 97 , 98 , 99 ] ,
1705
+ density : [ 13 ] ,
1706
+ choropleth : [ 72 , 73 ]
1707
1707
} ) ;
1708
1708
} )
1709
1709
. then ( function ( ) { return Plotly . restyle ( gd , 'below' , '' ) ; } )
1710
1710
. then ( function ( ) {
1711
1711
_assert ( 'all traces *below:""' , {
1712
- scatter : [ 23 , 24 , 25 , 26 ] ,
1713
- density : [ 22 ] ,
1714
- choropleth : [ 20 , 21 ]
1712
+ scatter : [ 96 , 97 , 98 , 99 ] ,
1713
+ density : [ 95 ] ,
1714
+ choropleth : [ 93 , 94 ]
1715
1715
} ) ;
1716
1716
} )
1717
1717
. then ( function ( ) { return Plotly . restyle ( gd , 'below' , null ) ; } )
1718
1718
. then ( function ( ) {
1719
1719
_assert ( 'back to base' , {
1720
- scatter : [ 23 , 24 , 25 , 26 ] ,
1721
- density : [ 17 ] ,
1722
- choropleth : [ 5 , 6 ]
1720
+ scatter : [ 96 , 97 , 98 , 99 ] ,
1721
+ density : [ 13 ] ,
1722
+ choropleth : [ 72 , 73 ]
1723
1723
} ) ;
1724
1724
} )
1725
1725
. then ( done , done . fail ) ;
0 commit comments