Skip to content

Commit 5872f73

Browse files
committed
change title to title.text in noCI tests
1 parent 4097d1c commit 5872f73

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/jasmine/tests/page_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('page rendering', function() {
5555
mock.layout.updatemenus = require('../../image/mocks/updatemenus.json').layout.updatemenus;
5656
mock.layout.sliders = require('../../image/mocks/sliders.json').layout.sliders;
5757

58-
mock.layout.xaxis.title = 'XXX';
58+
mock.layout.xaxis.title.text = 'XXX';
5959
mock.layout.showlegend = true;
6060

6161
return Plotly.newPlot(gd, mock.data, mock.layout).then(function() {

test/jasmine/tests/plot_api_react_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ describe('@noCIdep Plotly.react', function() {
183183
Plotly.newPlot(gd, data, layout)
184184
.then(countPlots)
185185
.then(function() {
186-
layout.title = 'XXXXX';
186+
layout.title.text = 'XXXXX';
187187
layout.hovermode = 'closest';
188188
data[0].marker = {color: 'rgb(0, 100, 200)'};
189189
return Plotly.react(gd, data, layout);

test/jasmine/tests/transition_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ describe('Plotly.react transitions:', function() {
455455
]);
456456
})
457457
.then(function() {
458-
layout.title = 'FIGURE';
458+
layout.title.text = 'FIGURE';
459459
return Plotly.react(gd, data, layout);
460460
})
461461
.then(function() {

0 commit comments

Comments
 (0)