commit);
editorRef.set(CommitEditor.openQuiet(repoCommit));
}
});
assertNotNull(editorRef.get());
SWTBotEditor commitEditor = bot.activeEditor();
SWTBotTable table = commitEditor.bot().table(0);
assertTrue(table.rowCount() > 0);
table.select(0);
ContextMenuHelper.clickContextMenuSync(table,
UIText.CommitFileDiffViewer_ShowAnnotationsMenuLabel);
TestUtil.joinJobs(JobFamilies.BLAME);
assertFalse(commitEditor.getReference().equals(
bot.activeEditor().getReference()));
final String content = getTestFileContent();
// Change working directory content to validate blame opens HEAD
setTestFileContent("updated content" + System.nanoTime());