Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add GUI unit tests with pyautogui #49

Open
andreped opened this issue Sep 25, 2023 · 3 comments
Open

Feature: Add GUI unit tests with pyautogui #49

andreped opened this issue Sep 25, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@andreped
Copy link
Member

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.

@andreped andreped changed the title Add GUI unit tests with pyautogui Feature: Add GUI unit tests with pyautogui Sep 25, 2023
@andreped andreped added the enhancement New feature or request label Sep 25, 2023
@dbouget dbouget self-assigned this Sep 28, 2023
@andreped andreped self-assigned this Sep 29, 2023
@andreped
Copy link
Member Author

Made a PR that adds a simple GUI launch test to the CIs: #57

However, further GUI tests should also be performed with pyautogui or similar.

@andreped
Copy link
Member Author

GUI launch test has been added in ec0f85c.

However, there is missing a GUI-autoclick test which would be helpful to know of all relevant UI elements are working as intended.

@andreped
Copy link
Member Author

@dbouget AFAIK, this has already been resolved in: PR #64? So it can be closed? Or whats remaining?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants