-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add comprehensive Appium Test API guide and reference documentation #30849
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: PureWeen <5375137+PureWeen@users.noreply.github.com>
- Created .github/instructions/ui-testing.instructions.md following GitHub Copilot custom instructions format - Extracted UI testing guidelines from main copilot-instructions.md - Added applyTo: "src/Controls/tests/**/*.cs" to target relevant files - Updated main instructions to reference the dedicated UI testing file - Includes comprehensive UI testing patterns, examples, and API reference Co-authored-by: PureWeen <5375137+PureWeen@users.noreply.github.com>
Created the UI testing instructions file following the GitHub Copilot custom instructions format. Extracted all UI testing guidelines from the main copilot-instructions.md and placed them in |
…ries Co-authored-by: PureWeen <5375137+PureWeen@users.noreply.github.com>
…assertions, remove platform fixtures section, and simplify test setup failure handling Co-authored-by: PureWeen <5375137+PureWeen@users.noreply.github.com>
Let's see how accurate you are Generate UItests for the following PR |
…ing modal navigation Co-authored-by: PureWeen <5375137+PureWeen@users.noreply.github.com>
Generated comprehensive UI tests for PR #30290 that validate the TabbedPage modal navigation fix. The tests cover:
Both HostApp and test projects build successfully. The tests specifically verify that tabs are not removed during modal navigation on Android, which is the core behavior this PR addresses. Commit: 8f3fd36 |
Let's see how accurate you are Use your code instructions to generate UITests for |
Co-authored-by: PureWeen <5375137+PureWeen@users.noreply.github.com>
Generated comprehensive UI tests for PR #30337 that implement the SafeArea attached property for per-edge safe area control. Created test components:
Test coverage includes:
Both projects compile successfully and follow established UI testing patterns. The tests validate the complete SafeArea feature functionality as described in PR #30337. Commit: cf66269 |
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
This PR adds a comprehensive documentation file
AppiumTestGuide.md
to thesrc/Controls/tests/TestCases.Shared.Tests/
directory that serves as both an instruction guide for developers and a reference for Copilot agents writing UI tests.What's Included
The guide provides complete documentation of the .NET MAUI Appium testing framework including:
Core API Reference
WaitForElement
,FindElement
), user interactions (Tap
,EnterText
,DragAndDrop
), navigation (Back
,NavigateToGallery
), and app state managementTest Base Classes
Testing Patterns with Examples
Step-by-Step Guide
Complete workflow for creating new tests including:
Visual Regression Testing
Best Practices and Common Pitfalls
Purpose
This documentation addresses the need for:
The guide is based on analysis of all existing Appium tests in the repository and captures real-world patterns and APIs currently in use, making it both practical and immediately applicable.
This pull request was created as a result of the following prompt from Copilot chat.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.