Author: ldimaggio
Date: 2012-10-08 11:12:45 -0400 (Mon, 08 Oct 2012)
New Revision: 44360
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java
Log:
Still looking for the cause of the failure on Mac/SOA tests
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java 2012-10-08
13:36:01 UTC (rev 44359)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java 2012-10-08
15:12:45 UTC (rev 44360)
@@ -127,17 +127,18 @@
//assertTrue(String.format("Example project name changed, have '%s',
expected
'%s'",hasProjName,getProjectNames()[0]),hasProjName.equals(getProjectNames()[0]));
int projSize =
getProjectSize(wiz.textWithLabel(JBossToolsProjectExamples.TEXT_PROJECT_SIZE).getText());
wiz.button(IDELabel.Button.FINISH).click();
-
+
+ SWTBotShell shell = bot.shell("Downloading...");
+ shell.activate();
+ bot.waitUntil(shellCloses(shell),Timing.time(projSize*20*1000));
+ util.waitForNonIgnoredJobs(Timing.time20S());
+
/* ldimaggi - Oct 8, 2012 */
if ( (SWTJBTExt.isRunningOnMacOs()) &&
(configuredState.getServer().type.equals("SOA")) ){
- log.info("Running on a MAC - need to set wait for Downloading... shell");
+ log.info("Running on a MAC - need to set wait for New Project Example
shell");
bot.sleep(30000l);
}
-
- SWTBotShell shell = bot.shell("Downloading...");
- shell.activate();
- bot.waitUntil(shellCloses(shell),Timing.time(projSize*20*1000));
- util.waitForNonIgnoredJobs(Timing.time20S());
+
bot.waitForShell("New Project Example");
bot.shell("New Project
Example").bot().button(IDELabel.Button.FINISH).click();
Show replies by date