releng: Add SWTBot integration tests
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui.swtbot.tests / shared / org / eclipse / tracecompass / tmf / ui / swtbot / tests / shared / SWTBotUtils.java
index e337fe93d18aff0810e5edf077723b6a3097d1e4..00a4b329fac795c56e764462d48fee196fd00131 100644 (file)
@@ -177,6 +177,10 @@ public final class SWTBotUtils {
         closeSecondaryShells(bot);
         WaitUtils.waitForJobs();
 
+        if (!ResourcesPlugin.getWorkspace().getRoot().getProject(projectName).exists()) {
+            return;
+        }
+
         final SWTBotView projectViewBot = bot.viewById(IPageLayout.ID_PROJECT_EXPLORER);
         projectViewBot.setFocus();
 
This page took 0.024302 seconds and 5 git commands to generate.