Author: lzoubek(a)redhat.com
Date: 2011-05-31 11:02:56 -0400 (Tue, 31 May 2011)
New Revision: 31681
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBProviderFactory.java
Log:
esb bot tests: fixed due to JBIDE-8568
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBProviderFactory.java
===================================================================
---
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBProviderFactory.java 2011-05-31
14:38:31 UTC (rev 31680)
+++
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBProviderFactory.java 2011-05-31
15:02:56 UTC (rev 31681)
@@ -64,7 +64,7 @@
protected void doFillForm(SWTBotShell shell) {
Assertions.assertButtonEnabled(shell.bot().button(IDELabel.Button.NEXT), false);
shell.bot().text(0).setText(this.uiName);
- shell.bot().text(1).setText(this.uiName);
+ shell.bot().comboBox().setSelection(0);
Assertions.assertButtonEnabled(shell.bot().button(IDELabel.Button.NEXT), true);
shell.bot().button(IDELabel.Button.NEXT).click();
Assertions.assertButtonEnabled(shell.bot().button(getFinishButton()), false);
@@ -78,7 +78,7 @@
protected void doFillForm(SWTBotShell shell) {
Assertions.assertButtonEnabled(shell.bot().button(IDELabel.Button.NEXT), false);
shell.bot().text(0).setText(this.uiName);
- shell.bot().text(1).setText(this.uiName);
+ shell.bot().comboBox().setSelection(0);
Assertions.assertButtonEnabled(shell.bot().button(IDELabel.Button.NEXT), true);
shell.bot().button(IDELabel.Button.NEXT).click();
Assertions.assertButtonEnabled(shell.bot().button(getFinishButton()), false);
Show replies by date