assertTrue("Environment Variable SCALA_HOME=" + scalaHome + " doesn't point to an existing directory", scalaHomeDir.exists());
assertTrue("Environment Variable SCALA_HOME=" + scalaHome + " doesn't point to a directory", scalaHomeDir.isDirectory());
ActionNoBlock openScalaShell = new ActionNoBlock("Window|Other|Interactive Scala Shell", null);
// TODO: If the Action Interactive Sacla Shell is missing the test will block here. Some check before this point, if it exist, would be nice.
openScalaShell.performMenu();
TopComponentOperator scalaConsole = new TopComponentOperator("Scala Console");
assertTrue("Scala Console not showing", scalaConsole.isShowing());
// TODO: Same as before, a test for existence would be nice.
JTextPaneOperator theConsole = new JTextPaneOperator(scalaConsole);
assertTrue("Scala Console is not Enabled", theConsole.isEnabled());
theConsole.enterText(":quit");
theConsole.waitComponentShowing(false);