From ae979de8d3ed3ff25b41b496ef4859fe88c7b9f7 Mon Sep 17 00:00:00 2001 From: Julia Rechkunova Date: Wed, 30 Nov 2022 17:26:31 +0100 Subject: [PATCH] [Discover] Fix flaky chart interval test (#146667) Closes https://github.com/elastic/kibana/issues/146223 https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1611 --- test/functional/apps/discover/group1/_discover.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/apps/discover/group1/_discover.ts b/test/functional/apps/discover/group1/_discover.ts index c78bdc24b1e31..8ca359026ec18 100644 --- a/test/functional/apps/discover/group1/_discover.ts +++ b/test/functional/apps/discover/group1/_discover.ts @@ -26,8 +26,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { defaultIndex: 'logstash-*', }; - // Failing: See https://github.com/elastic/kibana/issues/146223 - describe.skip('discover test', function describeIndexTests() { + describe('discover test', function describeIndexTests() { before(async function () { log.debug('load kibana index with default index pattern'); await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover'); @@ -152,6 +151,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show correct initial chart interval of Auto', async function () { await PageObjects.timePicker.setDefaultAbsoluteRange(); await PageObjects.discover.waitUntilSearchingHasFinished(); + await testSubjects.click('unifiedHistogramQueryHits'); // to cancel out tooltips const actualInterval = await PageObjects.discover.getChartInterval(); const expectedInterval = 'Auto';