On 02/20/2013 01:19 PM, Mickael Istria wrote: > On 02/20/2013 01:16 PM, Lorenzo Bettini wrote: >> On 02/19/2013 09:18 AM, Mickael Istria wrote: >>> Hi, >>> >>> How do you switch the keyboard Layout? Do you change this on your OS? >>> >> and concerning this? >> >> when running mvn clean install (i.e., against Eclipse Indigo) I get a >> failing test: >> >> org.eclipse.swtbot.swt.finder.waits.WaitForShellTest.waitsForShellToAppear >> >> but that test does not seem to fail on >> >> https://hudson.eclipse.org/hudson/job/swtbot-tycho/ > Could be a timeout, or a focus lost. > Are you using Linux? If so, I recommend you start tests in a Xephyr > DISPLAY in order to avoid issues with focus.
I now tried by installing fluxbox and run Xephyr with the script found here https://community.jboss.org/wiki/ConfortableTestingWithSWTBot?_sscc=t then I issued DISPLAY=":1" mvn clean install now, I get failures, randomly: sometimes I get Tests in error: findsMenus(org.eclipse.swtbot.swt.finder.widgets.SWTBotMenuTest): The widget was null. findsSubMenus(org.eclipse.swtbot.swt.finder.widgets.SWTBotMenuTest): The widget was null. [INFO] org.eclipse.swtbot.swt.finder.test ................ FAILURE [3:46.183s] other times I get Tests in error: menu(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): Could not find widget. openView(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): The widget was null. findsView(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): The widget was null. getsViewTitle(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): The widget was null. closesAView(org.eclipse.swtbot.eclipse.finder.widgets.SWTBotViewTest): The widget was null. [INFO] org.eclipse.swtbot.eclipse.finder.test ............ FAILURE I don't know what's going on... -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com _______________________________________________ swtbot-dev mailing list swtbot-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/swtbot-dev