Open andreped opened 11 months ago
Made a PR that adds a simple GUI launch test to the CIs: https://github.com/raidionics/Raidionics/pull/57
However, further GUI tests should also be performed with pyautogui
or similar.
GUI launch test has been added in ec0f85c5348c6505e053c8f66997882943d3638e.
However, there is missing a GUI-autoclick test which would be helpful to know of all relevant UI elements are working as intended.
@dbouget AFAIK, this has already been resolved in: PR https://github.com/raidionics/Raidionics/pull/64? So it can be closed? Or whats remaining?
Is your feature request related to a problem? Please describe. It would be extremely useful to add GUI tests to verify that the software is working as intended.
Describe the solution you'd like A way to solve this problem is to use
pyautogui
to enable autoclicks, and make GUI-tests with a robot that essentially performs the workflow pipeline that a human operator might do. This can at least be done to test whether any errors occur (by checking the log) when performing tests.Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context A good resource on how to test Qt applications on headless machines (which is the case for GitHub Actions) can be seen here.