Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dd86a60

Browse files
committedMar 11, 2020
unified hoverlabel: fix test
1 parent 53c5714 commit dd86a60

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎test/jasmine/tests/hover_label_test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3839,13 +3839,13 @@ describe('hovermode: (x|y)unified', function() {
38393839
mockCopy.layout.hovermode = 'x unified';
38403840
Plotly.newPlot(gd, mockCopy)
38413841
.then(function(gd) {
3842-
_hover(gd, {xpx: 400, ypx: 400});
3842+
_hover(gd, {curveNumber: 0});
38433843

3844-
assertLabel({title: 'Apr 13, 2014, 09:51:36', items: [
3845-
'Outdoor (wun... : 63',
3846-
'1st Floor (N... : (Apr 13, 2014, 09:51:34, 69.5)',
3847-
'2nd Floor (R... : (Apr 13, 2014, 09:51:33, 69.125)',
3848-
'Attic (Ardui... : (Apr 13, 2014, 09:51:37, 68.68)'
3844+
assertLabel({title: 'Apr 13, 2014, 15:21:11', items: [
3845+
'Outdoor (wun... : (Apr 13, 2014, 15:26:12, 69.4)',
3846+
'1st Floor (N... : (Apr 13, 2014, 15:21:15, 74.8)',
3847+
'2nd Floor (R... : 73.625',
3848+
'Attic (Ardui... : (Apr 13, 2014, 15:26:34, 98.49)'
38493849
]});
38503850
})
38513851
.catch(failTest)

0 commit comments

Comments
 (0)
Please sign in to comment.