From 18d208822cd47b0cd04bf86be1a2a614db03b92b Mon Sep 17 00:00:00 2001 From: Julia Rechkunova Date: Thu, 4 Jul 2024 14:12:23 +0200 Subject: [PATCH] [Discover] Unskip flaky esql columns test (#187217) - Closes https://github.com/elastic/kibana/issues/186416 25x https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6421 --- test/functional/apps/discover/esql/_esql_columns.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/functional/apps/discover/esql/_esql_columns.ts b/test/functional/apps/discover/esql/_esql_columns.ts index d48ec83f6ba91..ad1fe5d31edc9 100644 --- a/test/functional/apps/discover/esql/_esql_columns.ts +++ b/test/functional/apps/discover/esql/_esql_columns.ts @@ -36,8 +36,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { defaultIndex: 'logstash-*', }; - // FLAKY: https://github.com/elastic/kibana/issues/186416 - describe.skip('discover esql columns', async function () { + describe('discover esql columns', async function () { before(async () => { await kibanaServer.savedObjects.cleanStandardList(); await security.testUser.setRoles(['kibana_admin', 'test_logstash_reader']); @@ -95,13 +94,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const columns = ['@timestamp', 'Document']; expect(await dataGrid.getHeaderFields()).to.eql(columns); - await monacoEditor.setCodeEditorValue('from logstash-* | limit 1'); + await monacoEditor.setCodeEditorValue('from logstash-* | limit 500'); await testSubjects.click('querySubmitButton'); await PageObjects.header.waitUntilLoadingHasFinished(); await PageObjects.discover.waitUntilSearchingHasFinished(); expect(await dataGrid.getHeaderFields()).to.eql(columns); - await monacoEditor.setCodeEditorValue('from logs* | limit 1'); + await monacoEditor.setCodeEditorValue('from logs* | limit 500'); await testSubjects.click('querySubmitButton'); await PageObjects.header.waitUntilLoadingHasFinished(); await PageObjects.discover.waitUntilSearchingHasFinished(); @@ -113,7 +112,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(await dataGrid.getHeaderFields()).to.eql(['bytes']); // different index pattern => reset columns - await monacoEditor.setCodeEditorValue('from logstash-* | limit 1'); + await monacoEditor.setCodeEditorValue('from logstash-* | limit 500'); await testSubjects.click('querySubmitButton'); await PageObjects.header.waitUntilLoadingHasFinished(); await PageObjects.discover.waitUntilSearchingHasFinished();