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

Add option to start a program/windowmanager with Xvfb

      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 &

          [JENKINS-19006] Add option to start a program/windowmanager with Xvfb

          Julian M. created issue -
          zregvart made changes -
          Link New: This issue is duplicated by JENKINS-17308 [ JENKINS-17308 ]
          zregvart made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          zregvart made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 150453 ] New: JNJira + In-Review [ 206837 ]

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

              Created:
              Updated:
              Resolved: