[Testing] Feature matrix UITest Cases for ContentView Control #31499
Merged
PureWeen merged 10 commits intoinflight/currentfrom Sep 11, 2025
unknown repository
Merged
[Testing] Feature matrix UITest Cases for ContentView Control #31499PureWeen merged 10 commits intoinflight/currentfrom unknown repository
PureWeen merged 10 commits intoinflight/currentfrom
unknown repository
Conversation
Contributor
|
Hey there @@LogishaSelvarajSF4525! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
Contributor
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces comprehensive UI test coverage for the ContentView control by implementing a feature matrix test suite. The tests validate ContentView behavior across multiple properties including content types, visual properties, layout settings, and control templates.
- Adds a complete feature matrix UI test page with dynamic content switching and property configuration
- Implements 21 UI test cases covering ContentView properties like IsEnabled, IsVisible, BackgroundColor, FlowDirection, and custom bindings
- Creates reusable custom ContentView pages with control template support for thorough testing scenarios
Reviewed Changes
Copilot reviewed 10 out of 53 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| ContentViewFeatureTests.cs | Main test class with 21 test methods validating ContentView behavior across different configurations |
| ContentViewViewModel.cs | ViewModel implementing INotifyPropertyChanged for dynamic property binding and test configuration |
| ContentViewSecondCustomPage.xaml/.cs | Second custom ContentView with bindable properties and control template support |
| ContentViewOptionsPage.xaml/.cs | Configuration page allowing dynamic property changes during testing |
| ContentViewFirstCustomPage.xaml/.cs | First custom ContentView with card-style layout and control template variations |
| ContentViewControlPage.cs | Main navigation page orchestrating the feature matrix with dynamic content updates |
| CorePageView.cs | Gallery integration adding ContentView Feature Matrix to the test app navigation |
jsuarezruiz
approved these changes
Sep 11, 2025
PureWeen
added a commit
that referenced
this pull request
Sep 18, 2025
* Added sample class files * updated sample * added test case * updated UI * updated * updated test cases * updated snapshot for iOS * added issue link * added CI snapshots --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
PureWeen
added a commit
that referenced
this pull request
Sep 18, 2025
* Added sample class files * updated sample * added test case * updated UI * updated * updated test cases * updated snapshot for iOS * added issue link * added CI snapshots --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
github-actions bot
pushed a commit
that referenced
this pull request
Sep 18, 2025
* Added sample class files * updated sample * added test case * updated UI * updated * updated test cases * updated snapshot for iOS * added issue link * added CI snapshots --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
github-actions bot
pushed a commit
that referenced
this pull request
Sep 23, 2025
* Added sample class files * updated sample * added test case * updated UI * updated * updated test cases * updated snapshot for iOS * added issue link * added CI snapshots --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
github-actions bot
pushed a commit
that referenced
this pull request
Sep 23, 2025
* Added sample class files * updated sample * added test case * updated UI * updated * updated test cases * updated snapshot for iOS * added issue link * added CI snapshots --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a comprehensive set of UI test cases for the ContentView control, validating its behavior across a wide range of properties and interaction scenarios. The tests cover support for different content types such as Layout and ContentView ensuring they are displayed and updated correctly. The properties tested includeContent, IsEnabled, IsVisible, BackgroundColor, HeightRequest, WidthRequest, FlowDirection, HasShadow, ContentView, ControlTemplate as well as custom bindings like CardTitle, CardColor, IconImageSource, DefaultLabelText, and ContentLabel. In addition, the tests validate dynamic content replacement and binding updates, confirming consistent and reliable ContentView behavior across all supported platforms.
ContentView Control Feature Matrix
Gallery Page Addition
Options Page Implementation
Main Page Implementation
Issues Identified
Screen.Recording.2025-09-05.at.3.28.39.PM.mov