Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions x-pack/test/functional/apps/logstash/pipeline_create.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

import expect from '@kbn/expect';
import { omit } from 'lodash';

export default function ({ getService, getPageObjects }) {
const browser = getService('browser');
Expand All @@ -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 () => {
Expand Down Expand Up @@ -89,14 +89,16 @@ 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();

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);
});
});
});
Expand Down