-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Merge PR #31009: Add agent instructions for UI test deployment #32324
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
Conversation
cbc7a54 to
3be5e40
Compare
|
/rebase |
|
@copilot please resolve merge conflicts |
There was a problem hiding this 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 reorganizes and significantly improves the UI testing documentation for .NET MAUI by:
- Splitting the old monolithic
docs/design/UITesting.mdinto two focused documents: a practical guide (docs/UITesting-Guide.md) and an architecture document (docs/design/UITesting-Architecture.md) - Adding a new
AGENTS.mdfile at the repository root for universal AI coding assistant guidance - Creating path-specific instructions for UI tests (
uitests.instructions.md) - Updating the main copilot instructions with synchronization requirements and improved troubleshooting sections
- Standardizing front-matter metadata format in template instructions
Key Changes
- New comprehensive 613-line UI testing guide with complete examples, prerequisites, and best practices
- New architecture document focusing on CI/CD integration and advanced patterns
- Universal AGENTS.md file (378 lines) with setup commands, testing guidance, and troubleshooting
- Path-specific UI test instructions (303 lines) for Copilot when working in test directories
- Improved copilot-instructions.md with troubleshooting section and cross-file synchronization requirements
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
docs/design/UITesting.md |
Removed old monolithic testing doc (143 lines deleted) |
docs/design/UITesting-Architecture.md |
New architecture and CI integration guide focusing on advanced topics |
docs/UITesting-Guide.md |
New comprehensive practical guide for day-to-day UI test writing |
AGENTS.md |
New universal guidance file for all AI coding assistants with setup and testing workflows |
.github/instructions/uitests.instructions.md |
New path-specific Copilot instructions for UI test code |
.github/instructions/templates.instructions.md |
Standardized front-matter format (applyTo vs applies_to) |
.github/copilot-instructions.md |
Enhanced with synchronization requirements, troubleshooting, and references to new docs |
I've resolved the merge conflicts by rebasing this branch onto The main branch already contains all the UI testing documentation from PR #32064 and PR #32270, which this PR intended to add. The branch is now aligned with main and all conflicts are resolved. Note: The branch will need a force-push to update the remote. The local branch is clean and ready - it's currently one commit ahead of main with just an empty rebase marker commit. |
0f9f9d8 to
80c7e8c
Compare
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
jsuarezruiz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Rebase and fix the current conflict?
Rebase completed successfully in commit d87bc1c7. The branch is now based on origin/main (d4eb91b) with all conflicts resolved. The Additional Resources section was updated to include both the existing links from main and the new UI testing documentation links. Note: The local branch is ready but needs a force-push to update the remote. The rebase history shows:
|
# Conflicts: # .github/copilot-instructions.md
fd4be9c to
a325625
Compare
Merges changes from #31009 to enable agents to build, deploy, and test MAUI applications.
Note: This PR has been rebased onto
main(commit d4eb91b) to resolve merge conflicts.Changes
.github/copilot-instructions.mddocs/UITesting-Guide.md(new)docs/design/UITesting-Architecture.md(new).github/instructions/uitests.instructions.md(new).github/instructions/templates.instructions.md(updated)AGENTS.md(new)Usage Example
Deploy and test on Android:
Agents can now autonomously build, deploy, and validate MAUI UI tests.
Recent Updates
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.