Skip to content

Commit 80f4906

Browse files
barmacphilippfromme
authored andcommitted
test: remove redundant tests
1 parent 44f2152 commit 80f4906

File tree

1 file changed

+1
-58
lines changed

1 file changed

+1
-58
lines changed

test/spec/provider/zeebe/OutputCollectionProps.spec.js

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)