Author: ljelinko
Date: 2012-02-24 05:06:38 -0500 (Fri, 24 Feb 2012)
New Revision: 39097
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java
Log:
Quick fix window now appears everytime
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-02-24
10:06:07 UTC (rev 39096)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java 2012-02-24
10:06:38 UTC (rev 39097)
@@ -88,12 +88,13 @@
String hasProjName =
wiz.textWithLabel(JBossToolsProjectExamples.TEXT_PROJECT_NAME).getText();
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.checkBox("Show the Quick Fix dialog").deselect();
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());
+ bot.waitForShell("New Project Example");
+ bot.shell("New Project
Example").bot().button(IDELabel.Button.FINISH).click();
for (String project : getProjectNames()) {
assertTrue(String.format("Example project '%s' was not found in project
explorer",project),projectExplorer.existsResource(project));
}
Show replies by date