Skip to content

Commit 91f0bbb

Browse files
authored
Update UI test category instructions (#31748)
Clarify the requirement for test categories in UI tests.
1 parent c23b69a commit 91f0bbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ public class IssueXXXXX : _IssuesUITest
153153
- Compile both the HostApp project and TestCases.Shared.Tests project to ensure no build errors
154154
- Verify AutomationId references match between XAML and test code
155155
- Ensure tests follow the established naming and inheritance patterns
156+
- There should be only one `[Category]` attribute per test, pick the most appropriate one
156157

157158
IMPORTANT NOTE: When a new UI test category is added to `UITestCategories.cs`, we need to also update the `ui-tests.yml` to include this new category. Make sure to detect this in your reviews.
158159

0 commit comments

Comments
 (0)