2a3,4 > import static junit.framework.Assert.assertTrue; > 30d31 < 34c35 < editor.show(); --- > editor.show(); 48a50,75 > > > /* Added test for - https://issues.jboss.org/browse/JBQA-6527 - Add support for gateway messaging priority in the ESB editor */ > if (this.uiName.contains("Gateway")) { > // org.jboss.tools.ui.bot.ext.SWTUtilExt.displayAllBotWidgets(bot); > assertTrue (editor.bot().comboBoxWithLabel("Message Flow Priority:").selectionIndex() == -1); > assertTrue (bot.comboBoxWithLabel("Message Flow Priority:").itemCount() == 11); > String [] theItems = bot.comboBoxWithLabel("Message Flow Priority:").items(); > assertTrue (theItems.length == 11); > > assertTrue (theItems[1].equals("0")); > assertTrue (theItems[2].equals("1")); > assertTrue (theItems[3].equals("2")); > assertTrue (theItems[4].equals("3")); > assertTrue (theItems[5].equals("4")); > assertTrue (theItems[6].equals("5")); > assertTrue (theItems[7].equals("6")); > assertTrue (theItems[8].equals("7")); > assertTrue (theItems[9].equals("8")); > assertTrue (theItems[10].equals("9")); > bot.comboBoxWithLabel("Message Flow Priority:").setSelection(8); > > assertTrue (bot.comboBoxWithLabel("Message Flow Priority:").getText().equals("7")); > editor.save(); > } >