You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Please let the below note in for people that find this PR -->
> [!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](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!
<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
### Description of Change
<!-- Enter description of the fix in this section -->
### Issues Fixed
<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->
Fixes #
<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,9 @@ public class IssueXXXXX : _IssuesUITest
153
153
- Compile both the HostApp project and TestCases.Shared.Tests project to ensure no build errors
154
154
- Verify AutomationId references match between XAML and test code
155
155
- Ensure tests follow the established naming and inheritance patterns
156
+
- There should be only one `[Category]` attribute per test, pick the most appropriate one
157
+
158
+
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.
Copy file name to clipboardExpand all lines: docs/DevelopmentTips.md
+113Lines changed: 113 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,3 +188,116 @@ These tests can be run using the Test Explorer in VS, or from the command line w
188
188
```bash
189
189
dotnet test src/TestUtils/src/Microsoft.Maui.IntegrationTests --logger "console;verbosity=diagnostic" --filter "Name=Build\(%22maui%22,%22net7.0%22,%22Debug%22,False\)"
190
190
```
191
+
192
+
## Running Device Tests on Helix
193
+
194
+
.NET MAUI now supports running device tests on [.NET Engineering Services Helix](https://helix.dot.net) using XHarness. Helix provides cloud-based device testing infrastructure that enables running tests across multiple platforms and devices in parallel.
195
+
196
+
### Overview
197
+
198
+
Device tests can be run on the following platforms via Helix:
199
+
200
+
201
+
The device test projects include:
202
+
-`Controls.DeviceTests` - UI control tests
203
+
-`Core.DeviceTests` - Core framework tests
204
+
-`Graphics.DeviceTests` - Graphics and drawing tests
-`eng/test-configuration.json` - Test retry configuration
297
+
- Automatic execution on PR builds for qualifying changes
298
+
299
+
### Additional Resources
300
+
301
+
-[XHarness on Helix Documentation](https://github.com/dotnet/arcade/blob/main/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/Readme.md#android-apk-payloads)
|[CG Manifest](CgManifest.md)| Guide to Component Governance manifest generation and management | Contributors who need to manage third-party dependencies or include CG manifest in packages |
14
14
|[Code Documentation Guidelines](CodeDocumentationGuidelines.md)| Overview of the guidelines for the inline code documentation | Community members and collaborators looking to understand how to add good inline code comments that fuel our IntelliSense and online API docs |
15
+
|[Development Tips](DevelopmentTips.md)| Development tips including debugging, building, and device testing on Helix | Contributors who need guidance on development workflows, including running device tests on cloud infrastructure |
15
16
|[Issue management](IssueManagementPolicies.md)| Overview of policies in place to manage issues| Community members and collaborators looking to understand how we handle closed issues, issues that need author feedback, etc. |
16
17
|[Release Schedule](ReleaseSchedule.md)| Overview of .NET MAUI version releases | Anyone who is interested in .NET MAUI versions and release dates |
17
18
|[Triage process](TriageProcess.md)| Overview of the issue triage process used in the repo | Anyone looking to understand the triage process on the repo |
0 commit comments