From 542b2ca40413522ce24fb9fefa948b2b61713d32 Mon Sep 17 00:00:00 2001 From: nickofthyme Date: Wed, 3 Mar 2021 16:11:09 -0600 Subject: [PATCH] fix failing functional tests --- .../functional/apps/visualize/_point_series_options.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/test/functional/apps/visualize/_point_series_options.ts b/test/functional/apps/visualize/_point_series_options.ts index 09f9694ea9474c..ac641fb554b0be 100644 --- a/test/functional/apps/visualize/_point_series_options.ts +++ b/test/functional/apps/visualize/_point_series_options.ts @@ -269,7 +269,7 @@ 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-20 00:00', '2015-09-20 18:00', '2015-09-21 12:00', '2015-09-22 06:00'] + ['2015-09-19 12:00', '2015-09-20 12:00', '2015-09-21 12:00', '2015-09-22 12:00'] ); await initChart(); const labels = await PageObjects.visChart.getXAxisLabels(); @@ -279,7 +279,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show round labels in different 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 18:00', '2015-09-20 12:00', '2015-09-21 06:00', '2015-09-22 00:00'] + [ + '2015-09-19 12:00', + '2015-09-20 06:00', + '2015-09-21 00:00', + '2015-09-21 18:00', + '2015-09-22 12:00', + ] ); await kibanaServer.uiSettings.update({ 'dateFormat:tz': 'America/Phoenix' });