Author: vpakan(a)redhat.com
Date: 2010-03-29 07:14:41 -0400 (Mon, 29 Mar 2010)
New Revision: 21099
Modified:
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileRenameHelper.java
Log:
Added timeout
Modified:
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileRenameHelper.java
===================================================================
---
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileRenameHelper.java 2010-03-29
07:55:03 UTC (rev 21098)
+++
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileRenameHelper.java 2010-03-29
11:14:41 UTC (rev 21099)
@@ -78,8 +78,7 @@
bot.textWithLabel(IDELabel.RenameResourceDialog.NEW_NAME)
.setText(newFileName);
bot.button(IDELabel.Button.OK).click();
- bot.sleep(sleepTime);
- new SWTUtilExt(bot).waitForJobs(JobName.UPDATING_INDEXES);
+ new SWTUtilExt(bot).waitForAll(60 * 1000L);
// Check Results
// File with Old Name doesn't exists within WebProjects View
try{
Show replies by date