SWTBotShell shell = bot.activeShell();
shell.bot().tabItem("Git Search").activate();
shell.bot().comboBox().setText(commit.name());
SWTBotButton search = shell.bot().button("Search");
assertTrue(search.isEnabled());
search.click();
TestUtil.joinJobs(InternalSearchUI.FAMILY_SEARCH);
bot.viewByTitle("Search").show();
final SWTBotTreeItem[] repos = bot.activeView().bot().tree()
.getAllItems();
assertEquals(1, repos.length);