protected void checkConsoleForException() {
   ConsoleView consoleView = new ConsoleView();
   consoleView.open();
   assertFalse(
       "Console contains text 'Operation (\"deploy\") failed':\n" + consoleView.getConsoleText(),
       consoleView.getConsoleText().contains("Operation (\"deploy\") failed"));
 }
 private void checkBrowserForErrorPage(BrowserEditor browser) {
   ConsoleView consoleView = new ConsoleView();
   consoleView.open();
   assertFalse(
       "Browser contains text 'Status 404'\n Console output:\n" + consoleView.getConsoleText(),
       browser.getText().contains("Status 404"));
 }
 protected void checkBrowserForErrorPage(BrowserEditor browser) {
   ConsoleView consoleView = new ConsoleView();
   consoleView.open();
   assertFalse(
       "Browser contains text 'Status 404'\n Console output:\n" + consoleView.getConsoleText(),
       browser.getText().contains("Status 404") || browser.getText().contains("404 - Not Found"));
   assertFalse(
       "Browser contains text 'Error processing request'\n Console output:\n"
           + consoleView.getConsoleText(),
       browser.getText().contains("Error processing request"));
 }
 public ApplicationIsTerminated() {
   console = new ConsoleView();
   console.open();
 }
 public ConsoleHasText() {
   consoleView = new ConsoleView();
   consoleView.open();
 }