gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.49k stars 370 forks source link

Need a method to run DevMode on systems without GUI support #9937

Closed sayaya1090 closed 3 months ago

sayaya1090 commented 3 months ago

GWT version: 2.11.0 Browser (with version): - Operating System: ubuntu


Description

I want to set up a deployment pipeline, including component testing, during the build.

The testing procedure is as follows:

  1. Run DevMode to start CodeServer and Jetty.
  2. Use Selenium to connect to the URL of the test module.
  3. Operate each component on the screen according to the defined procedure to check if the desired result is obtained.
  4. Terminate DevMode.

In an environment with GUI support, it is confirmed that the test is successful using the above method. image

However, in an environment without GUI support, such as Github Actions, an error occurs related to SwingUI, and the test cannot be performed.

Steps to reproduce

I have created a sample source code that you can test. Please refer to the following Github repository: https://github.com/sayaya1090/GWTTest

Github action log: https://github.com/sayaya1090/GWTTest/actions/runs/8289126317/job/22684971186

sayaya1090 commented 3 months ago

I have confirmed that the window does not open when using SuperDevMode. Thank you to tbroyer for the advice. I will close this ticket accordingly.