Test stability: get node anew after having refreshed the view
commitafd0d76fe8245fc0c9d96abe819a935cb02d3235
authorThomas Wolf <thomas.wolf@paranor.ch>
Tue, 11 Oct 2016 19:19:18 +0000 (11 21:19 +0200)
committerThomas Wolf <thomas.wolf@paranor.ch>
Tue, 11 Oct 2016 19:19:18 +0000 (11 21:19 +0200)
tree0fd78f223bfcefae7e60e7cd0cf22a8bb55a7a21
parent6df30fa94cfc009c1ff7ceb74788ab4a9014b372
Test stability: get node anew after having refreshed the view

GitRepositoriesViewBranchHandlingTest occasionally failed to select the
correct node, and then could not find the "Delete Branch" menu item. Try
to fix that by getting the local branches node afresh after the view has
been refreshed.

Change-Id: I5989776829eda9a5b000d722a941d5ad72f4d043
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewBranchHandlingTest.java