Commit 4d2e3a67 authored by Aurelien Pupier's avatar Aurelien Pupier
Browse files

BS-6749: add more logs

parent 0c3d4672
......@@ -33,7 +33,9 @@ public class SelectNodeUnder implements ICondition {
public boolean test() throws Exception {
System.out.println("SelectNodeUnder.test" + parentNode + " --> " + subNodeLabel);
bot.tree().unselect();
bot.tree().select(parentNode).expandNode(parentNode).select(subNodeLabel);
final SWTBotTreeItem expandedNode = bot.tree().select(parentNode).expandNode(parentNode);
System.out.println("Available nodes under expanded one" + parentNode + ": " + expandedNode.getNodes());
expandedNode.select(subNodeLabel);
return bot.tree().selectionCount() > 0;
}
......
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