65c65,66 < wiz.textWithLabel(ESBESBProject.TEXT_PROJECT_NAME).setText(projectName); --- > wiz.textWithLabel(ESBESBProject.TEXT_PROJECT_NAME).setText(projectName); > wiz.sleep(TIME_5S); 66a68 > wiz.sleep(TIME_5S); 68c70 < wiz.sleep(30000l); --- > wiz.sleep(TIME_5S); 82c84 < bot.sleep(30000l); --- > bot.sleep(TIME_5S); 83a86 > bot.sleep(TIME_5S); 115a119,120 > /* ldimaggi - August 2012 - added to make test run on Eclipse Juno */ > getEditor().save(); 119a125,131 > > /* Add service is failing on Jenkins - https://issues.jboss.org/browse/JBQA-7100 > * This problem appeared in the firt week of Oct. 2012 - and is only seen when the > * test is run on Jenkins - as a workaround - the editor is saved/shown - ldimaggi */ > SWTBotEditor editor = getEditor(); > getEditorActive(editor, "Listeners"); > 130a143 > log.info ("action set "); 131a145,150 > log.info ("service set"); > > /* ldimaggi - August 2012 - added to make test run on Eclipse Juno */ > getEditor().save(); > log.info ("editor save"); > 132a152,153 > log.info ("action created"); > 133a155,156 > log.info ("listenerList.remove"); > 144a168,171 > bot.sleep(TIME_5S); > > /* ldimaggi - August 2012 - added to make test run on Eclipse Juno */ > getEditor().save(); 150c177,184 < addService(service); --- > > /* Add service is failing on Jenkins - https://issues.jboss.org/browse/JBQA-7100 > * This problem appeared in the firt week of Oct. 2012 - and is only seen when the > * test is run on Jenkins - as a workaround - the editor is saved/shown - ldimaggi */ > SWTBotEditor editor = getEditor(); > getEditorActive(editor, "Actions"); > > addService(service); 187a222,235 > > /* Add service is failing on Jenkins - https://issues.jboss.org/browse/JBQA-7100 > * This problem appeared in the firt week of Oct. 2012 - and is only seen when the > * test is run on Jenkins - as a workaround - the editor is saved/shown - ldimaggi */ > public void getEditorActive (SWTBotEditor theEditor, String taskType) { > if (!theEditor.isActive()) { > log.error(taskType + " Editor is active? = " + theEditor.isActive()); > bot.sleep(30000l); > log.error(theEditor.getTitle()); > theEditor.save(); > theEditor.show(); > log.error(taskType + " Editor is active? = " + theEditor.isActive()); > } > } 189a238 > bot.sleep(TIME_5S); 241c290 < SWTBotEditor editor = getEditor(); --- > SWTBotEditor editor = getEditor(); 250c299 < SWTBot shellBot = shell.bot(); --- > SWTBot shellBot = shell.bot(); 258a308,319 > > /* New test - for SOA-P 5.3 new feature - recordRoute - https://issues.jboss.org/browse/JBQA-6528 */ > // org.jboss.tools.ui.bot.ext.SWTUtilExt.displayAllBotWidgets(bot); > assertTrue (bot.comboBoxWithLabel("Record Route:").selectionIndex() == -1); > assertTrue (bot.comboBoxWithLabel("Record Route:").itemCount() == 3); > String [] theItems = bot.comboBoxWithLabel("Record Route:").items(); > assertTrue (theItems.length == 3); > assertTrue (theItems[1].equals("true")); > assertTrue (theItems[2].equals("false")); > bot.comboBoxWithLabel("Record Route:").setSelection("true"); > assertTrue (bot.comboBoxWithLabel("Record Route:").getText().equals("true")); > 260c321,322 < "count(//jbossesb/services/service[@name='" + name + "'])=1"); --- > "count(//jbossesb/services/service[@name='" + name + "' and @recordRoute='true'])=1"); > 263c325 < + "']", configFileFullNotSaved, node_services, name); --- > + "']", configFileFullNotSaved, node_services, name); 343c405 < // + "/property[@name='" + propertyName + "']/" + propertyName --- > // + "/property[@name='" + propertyName + "']/" + propertyName 348,351d409 < < < <