Hi Xavier,
Looking at the sceenshots
https://hudson.eclipse.org/linuxtools/job/linuxtools-master/ws/containers/org.eclipse.linuxtools.docker.ui.tests/screenshots/It looks like the welcome screen is still up. Perhaps you can try a different approach to close it? If I look at the systemtap tests, it does bot.viewByTitle("Welcome").close();
In Trace Compass, we do it differently, I'm not sure that's really better.
SWTBotUtils.closeView("Welcome", fBot);
public static void closeView(String title, SWTWorkbenchBot bot) {
final List<SWTBotView> openViews = bot.views();
for (SWTBotView view : openViews) {
if (view.getTitle().equalsIgnoreCase(title)) {
view.close();
bot.waitUntil(ConditionHelpers.ViewIsClosed(view));
}
}
}
public static ICondition ViewIsClosed(final SWTBotView view) {
return new SWTBotTestCondition() {
@Override
public boolean test() throws Exception {
return (view != null) && (!view.isActive());
}
};
}
Hope this helps,
Marc-Andre
Hello,
[I cross-posted on Linux tools developer list and JBoss Tools developer list to reach a wider audience in the hope that someone can help.]
I have to say I'm clueless as to why the test pass locally with PDE, locally with Tycho, on Hudson/Gerrit but _fail_ on Hudson/master.
Anyone has any suggestion/hint/idea to help ?
Best regards,
Xavier