Author: ldimaggio
Date: 2012-10-08 09:36:01 -0400 (Mon, 08 Oct 2012)
New Revision: 44359
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java
Log:
Trying to resolve SOA test issue on Mac OS - added sleep statement to enable Downloading
shell to appear
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
11:58:30 UTC (rev 44358)
+++
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)
@@ -127,6 +127,13 @@
//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();
+
+ /* 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");
+ bot.sleep(30000l);
+ }
+
SWTBotShell shell = bot.shell("Downloading...");
shell.activate();
bot.waitUntil(shellCloses(shell),Timing.time(projSize*20*1000));
Show replies by date