-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Optimize UITest category groups: split, combine, and remove Visual category #32990
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 <[email protected]>
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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 splits a single UITest category group into two separate jobs to improve parallelization and reduce test workload per job. The change is straightforward and maintains all original test categories while distributing them across two matrix runs instead of one.
Key Changes:
- Split the combined category group
ScrollView,SearchBar,Shape,Slider,SoftInput,Stepper,Switch,SwipeViewinto two separate entries - First group now contains:
ScrollView,SearchBar,Shape,Slider - Second group now contains:
SoftInput,Stepper,Switch,SwipeView
|
@copilot can you move scrollview out so it runs separate |
Co-authored-by: PureWeen <[email protected]>
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Split up to all run separately split up to all run separately |
…,WebView,Window to run separately Co-authored-by: PureWeen <[email protected]>
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
… tests Co-authored-by: PureWeen <[email protected]>
Done in commit 944f899. Changes made:
Total category groups reduced from 28 to 26. |
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
combine Lifecycle with ManualReview,Maps |
…indow, Cells+DatePicker groups Co-authored-by: PureWeen <[email protected]>
Done in commit 973d97f. Combined category groups:
Total category groups reduced from 26 to 23. |
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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!
Description of Change
Optimized UITest category groups for better parallelization, test organization, and pipeline efficiency:
Split category groups for better parallelization:
ScrollView,SearchBar,Shape,Slider,SoftInput,Stepper,Switch,SwipeView→ split intoScrollView(separate),SearchBar,Shape,Slider, andSoftInput,Stepper,Switch,SwipeViewLabel,Layout,Lifecycle,ListView→ split into 4 separate runs:Label,Layout,Lifecycle,ListViewShadow,ViewBaseTests,Visual,WebView,Window→ split and reorganized (see below)Combined category groups for efficiency:
SafeAreaEdges+Shadow→SafeAreaEdges,ShadowLifecycle+ManualReview,Maps→Lifecycle,ManualReview,MapsViewBaseTests+Window→ViewBaseTests,WindowCells,CheckBox,ContextActions,CustomRenderers+DatePicker,Dispatcher,DisplayAlert,DisplayPrompt,DragAndDrop→Cells,CheckBox,ContextActions,CustomRenderers,DatePicker,Dispatcher,DisplayAlert,DisplayPrompt,DragAndDropRemoved Visual category completely:
UITestCategories.Visualconstant fromUITestCategories.csUITestCategories.ShadowUITestCategories.ShadowUITestCategories.ShadowUITestCategories.BrushUITestCategories.LabelResult: Total category groups optimized from 19 to 23, balancing test isolation with pipeline efficiency while eliminating the unused Visual category.
Files changed:
eng/pipelines/common/ui-tests.ymlsrc/Controls/tests/TestCases.Shared.Tests/UITestCategories.cssrc/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue17884.cssrc/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24414.cssrc/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24847.cssrc/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue27730.cssrc/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue27732.csIssues Fixed
N/A - Pipeline optimization
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.