Conversation
2d73b56 to
8e7478e
Compare
…sa-personal/WADAS into alessandro/tests/ui
There was a problem hiding this comment.
Pull request overview
This PR introduces UI testing infrastructure for the WADAS application using pytest-qt, adds comprehensive test coverage for various dialog windows, and configures the CI pipeline to support GUI testing.
- Adds pytest-qt dependency and UI test suite for main window and configuration dialogs
- Configures test coverage exclusions and GitHub Actions workflow for headless GUI testing
- Implements mock fixtures for notifier state, keyring access, and other UI dependencies
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| wadas/conda_env_setup.yml | Adds pytest-qt dependency for UI testing |
| test/ui/test_mainwindow.py | Tests MainWindow initialization, title updates, and action states |
| test/ui/test_configure_telegram_dialog.py | Tests Telegram configuration dialog state, validation, and receiver management |
| test/ui/test_configure_ftp_cameras_dialog.py | Tests FTP cameras dialog initialization, camera addition, and validation |
| test/ui/test_configure_email_dialog.py | Tests email configuration dialog state, validation, and saving |
| test/ui/test_configure_ai_model_dialog.py | Tests AI model configuration dialog state, validation, and saving |
| test/ui/test_configure_actuators_dialog.py | Tests actuators configuration dialog state, actuator addition, and validation |
| test/ui/conftest.py | Provides shared fixtures for mocking notifier state and keyring access |
| setup.cfg | Adds coverage configuration to exclude test files from coverage reports |
| .github/workflows/test.yaml | Configures CI workflow to install Qt dependencies and run tests with xvfb |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
stefanodellosa-personal
approved these changes
Jan 3, 2026
cdimauro
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Boilerplate for UI testing