Closed shentonfreude closed 11 years ago
You can configure zc.recipe.testrunner to launch Xvfb and run test there. I'll create an example later.
Oh, of course, you could just (install and) start Xvfb by yourself and set the DISPLAY environment variable to point to Xvfb before running tests (just like in .travis.yaml).
I'm afraid that I must close this as wontfix. This is a generic Selenium testing issue that we cannot fix in plone.act.
On linux, you can hide tests completely with Xvfb already (or using new X11 session on a different display).
For OSX there's no solution I'm aware of.
When running tests, browser pops up and steals focus; this prevents you from working while the test is running. It would be better if the browser ran without stealing focus. While xvfb virtual frame buffer could be used, it would be better to avoid that complexity and cross-platform incompatibility.