Skip to content

Commit 9d40dab

Browse files
fix logstash central pipeline management test (#83281)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
1 parent f60abf3 commit 9d40dab

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

x-pack/test/functional/apps/logstash/pipeline_create.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
import expect from '@kbn/expect';
8+
import { omit } from 'lodash';
89

910
export default function ({ getService, getPageObjects }) {
1011
const browser = getService('browser');
@@ -15,8 +16,7 @@ export default function ({ getService, getPageObjects }) {
1516
const PageObjects = getPageObjects(['logstash']);
1617
const retry = getService('retry');
1718

18-
// FLAKY: https://github.com/elastic/kibana/issues/83231
19-
describe.skip('pipeline create new', () => {
19+
describe('pipeline create new', () => {
2020
let originalWindowSize;
2121

2222
before(async () => {
@@ -89,14 +89,16 @@ export default function ({ getService, getPageObjects }) {
8989
await PageObjects.logstash.gotoPipelineList();
9090
await pipelineList.assertExists();
9191
const originalRows = await pipelineList.readRows();
92+
const originalRowsWithoutTime = originalRows.map((row) => omit(row, 'lastModified'));
9293

9394
await PageObjects.logstash.gotoNewPipelineEditor();
9495
await pipelineEditor.clickCancel();
9596

9697
await retry.try(async () => {
9798
await pipelineList.assertExists();
9899
const currentRows = await pipelineList.readRows();
99-
expect(originalRows).to.eql(currentRows);
100+
const currentRowsWithoutTime = currentRows.map((row) => omit(row, 'lastModified'));
101+
expect(originalRowsWithoutTime).to.eql(currentRowsWithoutTime);
100102
});
101103
});
102104
});

0 commit comments

Comments
 (0)