Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19006

Add option to start a program/windowmanager with Xvfb

XMLWordPrintable

      Currently, the xvfb plugin always starts without a window manager. This causes errors/problems with the focus change in some test libraries like Fest (using the java.awt.robot).

      If you start a window manager yourself between xvfb and the surefire plugin, the errors are gone.

      It would be great if you would have a textfield in the global configuration of the plugin, where you can execute a program/window manager after xvfb is started. I am not sure that the display variable has to be exported for it to work.

      Currently, running this before our tests and after xvfb has started prevents the errors:

      export DISPLAY=:99
      twm &

            zregvart zregvart
            7bit Julian M.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: