Skip to content

Commit 256623e

Browse files
authored
Merge pull request #5859 from plotly/hover-label-trace-names
change trace names in hover label test when all have end alignments
2 parents 092c0c5 + 82debfc commit 256623e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/jasmine/tests/hover_label_test.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -5407,7 +5407,7 @@ describe('hovermode: (x|y)unified', function() {
54075407
xperiodalignment: 'end'
54085408
},
54095409
{
5410-
name: 'start',
5410+
name: 'one',
54115411
type: scatterType,
54125412
x: ['2000-01', '2000-02'],
54135413
y: [1, 2],
@@ -5416,7 +5416,7 @@ describe('hovermode: (x|y)unified', function() {
54165416
xperiodalignment: 'end'
54175417
},
54185418
{
5419-
name: 'end',
5419+
name: 'two',
54205420
type: scatterType,
54215421
x: ['2000-01', '2000-02'],
54225422
y: [1, 2],
@@ -5436,15 +5436,15 @@ describe('hovermode: (x|y)unified', function() {
54365436
_hover(gd, { xpx: 50, ypx: 200 });
54375437
assertLabel({title: 'Jan', items: [
54385438
'bar : 1',
5439-
'start : 1',
5440-
'end : 1',
5439+
'one : 1',
5440+
'two : 1',
54415441
]});
54425442

54435443
_hover(gd, { xpx: 350, ypx: 200 });
54445444
assertLabel({title: 'Feb', items: [
54455445
'bar : 2',
5446-
'start : 2',
5447-
'end : 2',
5446+
'one : 2',
5447+
'two : 2',
54485448
]});
54495449
})
54505450
.then(done, done.fail);

0 commit comments

Comments
 (0)