[jbosstools-commits] JBoss Tools SVN: r43158 - branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Aug 22 07:04:57 EDT 2012


Author: ljelinko
Date: 2012-08-22 07:04:57 -0400 (Wed, 22 Aug 2012)
New Revision: 43158

Modified:
   branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java
Log:
Tried to split the keystrokes.

Modified: branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java
===================================================================
--- branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java	2012-08-22 10:59:12 UTC (rev 43157)
+++ branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java	2012-08-22 11:04:57 UTC (rev 43158)
@@ -24,6 +24,7 @@
 	public void perform() {
 		performInnerTask(new FileContextMenuSelectingTask(workspaceFile, "Mark as Deployable"));
 		// for the confirmation dialog select OK (the dialog is native and normal swtbot functions do now work)
-		KeyboardFactory.getAWTKeyboard().pressShortcut(Keystrokes.RIGHT, Keystrokes.CR, Keystrokes.LF);
+		KeyboardFactory.getAWTKeyboard().pressShortcut(Keystrokes.RIGHT);
+		KeyboardFactory.getAWTKeyboard().pressShortcut(Keystrokes.CR, Keystrokes.LF);
 	}
 }



More information about the jbosstools-commits mailing list