}
});
waitForRunningJobsToFinish(runningJobsListener, 5000);
StsBotConfigEditor editor = getBot().activeConfigEditor();
StsBotGefEditor gEditor = editor.toGefEditorFromUri(BatchSchemaConstants.URI);
List<SWTBotGefEditPart> parts = gEditor.editParts(EditPartMatcherFactory
.editPartOfType(ActivityDiagramPart.class));
assertFalse(parts.isEmpty());
SWTBotGefEditPart diagramPart = parts.get(0);