Thanks a lot folks!
Everything goes better with a Window Manager started.

However, I still have a different behavior using Xvnc + metacity rather than with my Ubuntu 10.10 Gnome 2.x; or my IC server Ubuntu 11.10 Unity. Here are a list of failing tests over Xvnc/metacity that work well in other situations.

"

Failed tests:   
typesTextAtALocation(org.eclipse.swtbot.swt.finder.widgets.SWTBotStyledTextTest):
  typeAndVerifiesTextInCombo(org.eclipse.swtbot.swt.finder.widgets.SWTBotComboTest): 
expected:<New type[d Text]>  but was:<New type[]>

Tests in error:
  clicksOnALink(org.eclipse.swtbot.swt.finder.widgets.SWTBotLinkTest): Timeout 
after: 5000 ms.:

"

Both failed tests just fail when typing a "d" (of "--- Type[d text ---]", or "New Type[d text]"). Letters before the "d" are displayed, but no one more starting for the "d". Does anyone have an idea?

On 09/11/2011 08:53, Matthias Sohn wrote:
2011/11/8 Ketan Padegaonkar <ketanpadegaon...@gmail.com <mailto:ketanpadegaon...@gmail.com>>

    I believe there's EGit and mylyn that use SWTBot for testing, I'm not
    sure if they actually run the tests on hudson.eclipse.org
    <http://hudson.eclipse.org>.

Yes EGit is using SWTBot to run UI tests and we also run them on hudson.eclipse.org <http://hudson.eclipse.org>. You need to switch on XVnc and start a window manager before running the UI tests. We do that in a shell build step immediately before the UI tests are started:

# ui tests need a window manager
metacity --replace --sm-disable &

We made the experience that some of the UI tests are brittle. Looks like this is caused
by asynchronous things happening in background jobs.

--
Matthias


_______________________________________________
swtbot-dev mailing list
swtbot-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/swtbot-dev


--

Mickael Istria
R&D Engineer, Eclipse Plug-in RCP Developer

PetalsLink <http://www.petalslink.com> - Open Source SOA

My blog <http://mickaelistria.wordpress.com> - My Tweets <https://twitter.com/#%21/mickaelistria>

_______________________________________________
swtbot-dev mailing list
swtbot-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/swtbot-dev

Reply via email to