Skip to content

Commit

Permalink
[Discover] Fix flaky chart interval test
Browse files Browse the repository at this point in the history
  • Loading branch information
jughosta committed Nov 30, 2022
1 parent 5c2f7e9 commit 08d7b79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/apps/discover/group1/_discover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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';
Expand Down

0 comments on commit 08d7b79

Please sign in to comment.