Skip to content

Commit

Permalink
Fix axis labels on point series FTR
Browse files Browse the repository at this point in the history
  • Loading branch information
markov00 committed Feb 10, 2021
1 parent 59f2281 commit 3d131ae
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions test/functional/apps/visualize/_point_series_options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,14 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
it('should show round labels in default timezone', async function () {
const expectedLabels = await PageObjects.visChart.getExpectedValue(
['2015-09-20 00:00', '2015-09-21 00:00', '2015-09-22 00:00'],
['2015-09-19 12:00', '2015-09-20 12:00', '2015-09-21 12:00', '2015-09-22 12:00']
[
'2015-09-20 00:00',
'2015-09-20 12:00',
'2015-09-21 00:00',
'2015-09-21 12:00',
'2015-09-22 00:00',
'2015-09-22 12:00',
]
);
await initChart();
const labels = await PageObjects.visChart.getXAxisLabels();
Expand All @@ -278,11 +285,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const expectedLabels = await PageObjects.visChart.getExpectedValue(
['2015-09-20 00:00', '2015-09-21 00:00', '2015-09-22 00:00'],
[
'2015-09-19 12:00',
'2015-09-19 18:00',
'2015-09-20 06:00',
'2015-09-21 00:00',
'2015-09-20 18:00',
'2015-09-21 06:00',
'2015-09-21 18:00',
'2015-09-22 12:00',
'2015-09-22 06:00',
]
);

Expand Down

0 comments on commit 3d131ae

Please sign in to comment.