@@ -371,64 +371,7 @@ describe('provider/zeebe - OutputCollection', function() {
371371 expect ( getOutputElementValue ( subprocess ) ) . to . equal ( '=myResult' ) ;
372372 } ) ) ;
373373
374- } ) ;
375-
376-
377- describe ( 'undo/redo' , function ( ) {
378-
379- it ( 'should undo outputCollection' , inject ( async function (
380- elementRegistry , selection , commandStack
381- ) {
382-
383- // given
384- const subprocess = elementRegistry . get ( 'AdHocSubprocess_1' ) ;
385- const originalValue = getOutputCollectionValue ( subprocess ) ;
386-
387- await act ( ( ) => {
388- selection . select ( subprocess ) ;
389- } ) ;
390-
391- const outputCollectionInput = getOutputCollectionInput ( container ) ;
392- changeInput ( outputCollectionInput , 'newResults' ) ;
393- expect ( getOutputCollectionValue ( subprocess ) ) . not . to . equal ( originalValue ) ;
394-
395- // when
396- await act ( ( ) => {
397- commandStack . undo ( ) ;
398- } ) ;
399-
400- // then
401- expect ( getOutputCollectionValue ( subprocess ) ) . to . equal ( originalValue ) ;
402- } ) ) ;
403-
404-
405- it ( 'should undo outputElement' , inject ( async function (
406- elementRegistry , selection , commandStack
407- ) {
408-
409- // given
410- const subprocess = elementRegistry . get ( 'AdHocSubprocess_1' ) ;
411- const originalValue = getOutputElementValue ( subprocess ) ;
412-
413- await act ( ( ) => {
414- selection . select ( subprocess ) ;
415- } ) ;
416-
417- const outputElementInput = getOutputElementInput ( container ) ;
418- await setEditorValue ( outputElementInput , 'newResult' ) ;
419- expect ( getOutputElementValue ( subprocess ) ) . not . to . equal ( originalValue ) ;
420-
421- // when
422- await act ( ( ) => {
423- commandStack . undo ( ) ;
424- } ) ;
425-
426- // then
427- expect ( getOutputElementValue ( subprocess ) ) . to . equal ( originalValue ) ;
428- } ) ) ;
429-
430- } ) ;
431-
374+ } )
432375
433376} ) ;
434377
0 commit comments