gwtproject / gwt

GWT Open Source Project

Home Page:http://www.gwtproject.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need a method to run DevMode on systems without GUI support

sayaya1090 opened this issue · comments

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

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.