@@ -387,7 +387,7 @@ describe('Test gl3d plots', function() {
387
387
. then ( done ) ;
388
388
} ) ;
389
389
390
- it ( '@noCI @ gl should display correct hover labels (mesh3d case)' , function ( done ) {
390
+ it ( '@gl should display correct hover labels (mesh3d case)' , function ( done ) {
391
391
var x = [ 1 , 1 , 2 , 3 , 4 , 2 ] ;
392
392
var y = [ 2 , 1 , 3 , 4 , 5 , 3 ] ;
393
393
var z = [ 3 , 7 , 4 , 5 , 3.5 , 2 ] ;
@@ -417,19 +417,19 @@ describe('Test gl3d plots', function() {
417
417
. then ( delay ( 20 ) )
418
418
. then ( _hover )
419
419
. then ( function ( ) {
420
- assertHoverText ( 'x: 3 ' , 'y: 4 ' , 'z: 5' , 'ts: 3 \nhz: 4 \nftt:5' ) ;
420
+ assertHoverText ( 'x: 4 ' , 'y: 5 ' , 'z: 3. 5' , 'ts: 4 \nhz: 5 \nftt:3. 5' ) ;
421
421
} )
422
422
. then ( function ( ) {
423
423
return Plotly . restyle ( gd , 'hoverinfo' , 'x+y' ) ;
424
424
} )
425
425
. then ( function ( ) {
426
- assertHoverText ( '(3, 4 )' ) ;
426
+ assertHoverText ( '(4, 5 )' ) ;
427
427
} )
428
428
. then ( function ( ) {
429
429
return Plotly . restyle ( gd , 'hoverinfo' , 'text' ) ;
430
430
} )
431
431
. then ( function ( ) {
432
- assertHoverText ( 'ts: 3 \nhz: 4 \nftt:5' ) ;
432
+ assertHoverText ( 'ts: 4 \nhz: 5 \nftt:3. 5' ) ;
433
433
} )
434
434
. then ( function ( ) {
435
435
return Plotly . restyle ( gd , 'text' , 'yo!' ) ;
@@ -443,13 +443,13 @@ describe('Test gl3d plots', function() {
443
443
] ) ;
444
444
} )
445
445
. then ( function ( ) {
446
- assertHoverText ( null , null , null , 'ts: 3 \nhz: 4 \nftt:5 !!' ) ;
446
+ assertHoverText ( null , null , null , 'ts: 4 \nhz: 5 \nftt:3. 5 !!' ) ;
447
447
} )
448
448
. then ( function ( ) {
449
449
return Plotly . restyle ( gd , 'hovertemplate' , '%{x}-%{y}-%{z}<extra></extra>' ) ;
450
450
} )
451
451
. then ( function ( ) {
452
- assertHoverText ( null , null , null , '3-4- 5' ) ;
452
+ assertHoverText ( null , null , null , '4-5-3. 5' ) ;
453
453
} )
454
454
. catch ( failTest )
455
455
. then ( done ) ;
0 commit comments