Skip to content

Alessandro/tests/UI#199

Open
alessandropalla wants to merge 9 commits intomainfrom
alessandro/tests/ui
Open

Alessandro/tests/UI#199
alessandropalla wants to merge 9 commits intomainfrom
alessandro/tests/ui

Conversation

@alessandropalla
Copy link
Collaborator

@alessandropalla alessandropalla commented Dec 26, 2025

Boilerplate for UI testing

@alessandropalla alessandropalla marked this pull request as draft December 26, 2025 11:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments