diff --git a/x-pack/test/functional/apps/logstash/pipeline_create.js b/x-pack/test/functional/apps/logstash/pipeline_create.js index c3cf102c908a0..2b70dc1832367 100644 --- a/x-pack/test/functional/apps/logstash/pipeline_create.js +++ b/x-pack/test/functional/apps/logstash/pipeline_create.js @@ -5,6 +5,7 @@ */ import expect from '@kbn/expect'; +import { omit } from 'lodash'; export default function ({ getService, getPageObjects }) { const browser = getService('browser'); @@ -15,8 +16,7 @@ export default function ({ getService, getPageObjects }) { const PageObjects = getPageObjects(['logstash']); const retry = getService('retry'); - // FLAKY: https://github.com/elastic/kibana/issues/83231 - describe.skip('pipeline create new', () => { + describe('pipeline create new', () => { let originalWindowSize; before(async () => { @@ -89,6 +89,7 @@ export default function ({ getService, getPageObjects }) { await PageObjects.logstash.gotoPipelineList(); await pipelineList.assertExists(); const originalRows = await pipelineList.readRows(); + const originalRowsWithoutTime = originalRows.map((row) => omit(row, 'lastModified')); await PageObjects.logstash.gotoNewPipelineEditor(); await pipelineEditor.clickCancel(); @@ -96,7 +97,8 @@ export default function ({ getService, getPageObjects }) { await retry.try(async () => { await pipelineList.assertExists(); const currentRows = await pipelineList.readRows(); - expect(originalRows).to.eql(currentRows); + const currentRowsWithoutTime = currentRows.map((row) => omit(row, 'lastModified')); + expect(originalRowsWithoutTime).to.eql(currentRowsWithoutTime); }); }); });