55 */
66
77import expect from '@kbn/expect' ;
8+ import { omit } from 'lodash' ;
89
910export 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