-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add initial unit tests #70
Open
amruthvvkp
wants to merge
55
commits into
master
Choose a base branch
from
amruthvvkp/issue46
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
* Added code to dynamically fetch test applications during tes run * Updated project settings for Ruff to work as expected * Updated file path settings from string to pathlib.Path in config.py
* Upgraded Pydantic from v1 to v2
* Added validator to throw ValueError is element is missing * Added mapping of common known element class names * Updated broken tests
* Added few more unit tests to TestAutomationElement * Added custom exceptions
…plication for testing
* Added map of WPF application
… for Python 3.8 and above versions #53
Fixes #46
Grouped similar imports with updated Ruff settings
Fixes #46
…tion class in condition_factory.py * Added unit tests for Listbox, Menu, POpUp, ProgressBar, RadioButton * Added logo for repository * Updated pre-commit hooks
…igrated to UV from Poetry
… handling in tab selection
… from FlaUI GitHub repository and add new value converter tests
…mprove installation commands
…nhance logging, and improve test result handling
…steps, and improve output clarity
…logging and set up virtual environment
…re cloning and building, improving build efficiency
…ges in AppVeyor configuration
…eyor configuration
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.
Type of Change
Pre-PR Checklist
General
<link to issue>
" (or "fixes" or "resolves"). If the pull request doesn't completely fix the issue, it should include "addresses".Code changes
bug
,feature
,enhancement
,docs
.Changes
This pull request includes significant updates to the CI/CD configuration, pre-commit hooks, and the
flaui
package. The changes streamline the build process, update dependencies, and enhance the functionality of theApplication
class.CI/CD Configuration Updates:
.appveyor.yml
: Updated the Python versions matrix, added a PowerShell script to select the desired .NET SDK version, and modified the build and test scripts to useuv
commands. [1] [2].github/release-drafter.yml
: Updated the repository URL in the changelog link..github/workflows/draft-release.yml
: Removed the workflow that drafts releases on push to the main branch.Pre-commit Hooks and Dependencies:
.pre-commit-config.yaml
: Removed poetry hooks and updated versions forruff
andinterrogate
. [1] [2] [3].python-version
: Added Python 3.11 as the default version.Code Enhancements:
flaui/core/application.py
: Added detailed module-level docstrings, introduced a setter forclose_timeout
, and improved theget_all_top_level_windows
andget_main_window
methods to returnWindow
objects. [1] [2] [3]Miscellaneous:
.vscode/settings.json
: Updated settings to useruff
for formatting and enabled format on save. [1] [2]Testing Instructions
Screenshots
Checklist
main
branch.