Commit ee94aaed authored by apupier's avatar apupier
Browse files

BS-10829: improve error message when the shell is not found

parent d9b52776
......@@ -48,6 +48,11 @@ public class ShellIsActiveWithThreadSTacksOnFailure extends DefaultCondition {
dump.append("\n\n");
}
dump.append("\nAvailablable shells:\n");
for (final SWTBotShell shell : bot.shells()) {
dump.append(shell.getText()).append("\n");
}
return "The shell '" + text + "' did not activate.\n" //$NON-NLS-1$ //$NON-NLS-2$
+ dump.toString();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment