KEMBAR78
[Testing] Feature Matrix UITest Cases for RadioButton by TamilarasanSF4853 · Pull Request #29744 · dotnet/maui · GitHub
Skip to content

Conversation

@TamilarasanSF4853
Copy link
Contributor

@TamilarasanSF4853 TamilarasanSF4853 commented May 30, 2025

This PR includes a comprehensive set of UI test cases for the RadioButton control. The tests validate the RadioButton Control including properties such as: Content, IsChecked, GroupName, Value, BorderColor, BorderWidth, CharacterSpacing, CornerRadius, FontAttributes, FontAutoScaling, FontFamily, FontSize, and TextColor.

RadioButton Control Implementation:

  • Added RadioButtonControlMainPage to host the RadioButton control, with bindings for properties like Content, IsChecked, GroupName, and Value. (src/Controls/tests/TestCases.HostApp/FeatureMatrix/RadioButton/RadioButtonControlPage.xaml)
  • Created a RadioButtonOptionsPage to allow users to configure RadioButton properties interactively, including Content, IsChecked, GroupName, Value, BorderColor, BorderWidth, CharacterSpacing, CornerRadius, FontAttributes, FontFamily, FontSize, TextColor, and TextTransform. (src/Controls/tests/TestCases.HostApp/FeatureMatrix/RadioButton/RadioButtonOptionsPage.xaml)
  • Added event handlers for property changes in RadioButtonOptionsPage.xaml.cs to update the RadioButton control dynamically.
  • Implemented a suite of UI tests in RadioButtonFeatureTests to validate the behavior of the RadioButton control, including property updates, visual states for different font configurations, content types (text and views), and style properties. (src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/RadioButtonFeatureTests.cs)
  • Included platform-specific annotations for tests that have known issues on specific platforms, such as BorderColor not updating at runtime on Windows and Android, and text transformation not being applied correctly on Android and Windows.

Identified Issue:
#29729
#15806

Screen.Recording.2025-06-03.at.11.06.15.AM.mov

@dotnet-policy-service
Copy link
Contributor

Hey there @@TamilarasanSF4853! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service dotnet-policy-service bot added community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration labels May 30, 2025
@ghost ghost added the area-testing Unit tests, device tests label May 30, 2025
@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@jsuarezruiz jsuarezruiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending snapshots on Mac and Windows. Already available in the latest build.
image

Could you commit the images.

@TamilarasanSF4853 TamilarasanSF4853 force-pushed the feature-matrix-radiobutton branch from 4a31335 to a145fc7 Compare June 2, 2025 15:11
@TamilarasanSF4853
Copy link
Contributor Author

Pending snapshots on Mac and Windows. Already available in the latest build. image

Could you commit the images.

@jsuarezruiz I have made the changes in the test bed sample. Could you please re-run the CI?

@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@TamilarasanSF4853 TamilarasanSF4853 marked this pull request as ready for review June 3, 2025 12:19
@TamilarasanSF4853 TamilarasanSF4853 requested a review from a team as a code owner June 3, 2025 12:19
Copy link
Contributor

@jsuarezruiz jsuarezruiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending snapshots, already available in the latest build.
image
Could you commit the images?

@TamilarasanSF4853
Copy link
Contributor Author

Pending snapshots, already available in the latest build. image Could you commit the images?

@jsuarezruiz I've committed the snapshots. Could you please re-run the CI?

@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen PureWeen changed the base branch from main to inflight/current June 9, 2025 19:21
@PureWeen PureWeen merged commit 56633e3 into dotnet:inflight/current Jun 9, 2025
78 checks passed
github-actions bot pushed a commit that referenced this pull request Jun 10, 2025
* added test cases

* modified test cases

* added test case

* added snapshots

* added iOS snapshots

* code modified

* added new test cases

* added new test cases

* Copilot suggestions

* modified UI

* added new snapshots

* added the windows and mac snapshots

---------

Co-authored-by: Anandhan Rajagopal <97146406+anandhan-rajagopal@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request Jun 10, 2025
* added test cases

* modified test cases

* added test case

* added snapshots

* added iOS snapshots

* code modified

* added new test cases

* added new test cases

* Copilot suggestions

* modified UI

* added new snapshots

* added the windows and mac snapshots

---------

Co-authored-by: Anandhan Rajagopal <97146406+anandhan-rajagopal@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request Jun 11, 2025
* added test cases

* modified test cases

* added test case

* added snapshots

* added iOS snapshots

* code modified

* added new test cases

* added new test cases

* Copilot suggestions

* modified UI

* added new snapshots

* added the windows and mac snapshots

---------

Co-authored-by: Anandhan Rajagopal <97146406+anandhan-rajagopal@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request Jun 11, 2025
* added test cases

* modified test cases

* added test case

* added snapshots

* added iOS snapshots

* code modified

* added new test cases

* added new test cases

* Copilot suggestions

* modified UI

* added new snapshots

* added the windows and mac snapshots

---------

Co-authored-by: Anandhan Rajagopal <97146406+anandhan-rajagopal@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request Jun 16, 2025
* added test cases

* modified test cases

* added test case

* added snapshots

* added iOS snapshots

* code modified

* added new test cases

* added new test cases

* Copilot suggestions

* modified UI

* added new snapshots

* added the windows and mac snapshots

---------

Co-authored-by: Anandhan Rajagopal <97146406+anandhan-rajagopal@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request Jun 16, 2025
* added test cases

* modified test cases

* added test case

* added snapshots

* added iOS snapshots

* code modified

* added new test cases

* added new test cases

* Copilot suggestions

* modified UI

* added new snapshots

* added the windows and mac snapshots

---------

Co-authored-by: Anandhan Rajagopal <97146406+anandhan-rajagopal@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request Jun 19, 2025
* added test cases

* modified test cases

* added test case

* added snapshots

* added iOS snapshots

* code modified

* added new test cases

* added new test cases

* Copilot suggestions

* modified UI

* added new snapshots

* added the windows and mac snapshots

---------

Co-authored-by: Anandhan Rajagopal <97146406+anandhan-rajagopal@users.noreply.github.com>
PureWeen added a commit that referenced this pull request Jun 21, 2025
For more information about inflight process check
https://github.com/dotnet/maui/wiki/Inflight-Branch-Process

# .NET MAUI Release Notes - inflight/candidate Branch

## MAUI Product Fixes
* [iOS] Fix SwipeView programmatic open when background color is set by
@Shalini-Ashokan in #29765
* [iOS] FormattedText with text color causes stack overflow - fix by
@kubaflo in #29874
* [iOS] Fix AdaptiveTrigger not working as expected by @jsuarezruiz in
#20987
* [iOS] Fix for Flyout title is not broken over multiple lines when you
rotate your screen by @BagavathiPerumal in
#29171
* [Windows] Fix for Assigning null to the SelectedItem of the
CollectionView in the SelectionChanged event does not clear the
selection by @SyedAbdulAzeemSF4852 in
#29288
* Fix TapCoordinates method in Catalyst by @jsuarezruiz in
#29775
* Fixed ItemSpacing on CarouselView resizes items [Android] by
@Dhivya-SF4094 in #29796
* Perf : ButtonContentTypeConverter now using InvariantCulture to parse
double by @antoine-jonathan in #25393
* ToolbarItem behavior with ImageSource iOS - fix by @kubaflo in
#28833
* [Android] Fixed Button Shadow Color Transparency Not Applied Correctly
by @NanthiniMahalingam in #29371
* Don't call NSAttributedString with HTML from a background thread by
@kubaflo in #26153
* [Windows] Implemented the Resize and Downsize functions in the
W2DImage class by @HarishwaranVijayakumar in
#29138
* Templated indicator view - improvements by @kubaflo in
#25642
* Update Issue25946.xaml by @anandhan-rajagopal in
#30025

## Testing
* Fixed Test case failure in PR 26153 - iOS by @kubaflo in
#29906
* Fixed Test case failure in PR 25642 - snapshots by @kubaflo in
#29881
* [Testing] Feature Matrix UITest Cases for RadioButton by
@TamilarasanSF4853 in #29744
* [Testing] Feature Matrix UITest Cases for CollectionView ItemsSource
Feature by @LogishaSelvarajSF4525 in
#29322
* [Testing] Feature Matrix UITest Cases for Stepper by
@nivetha-nagalingam in #29731
* [Testing] Feature Matrix UITest Cases for CheckBox Control by
@anandhan-rajagopal in #29739
* Update the comment for the test properties by @mattleibow in
#27306

## Dependency Updates
* No changes in this category

## Docs
* No changes in this category

## Housekeeping
* [create-pull-request] automated change by @github-actions[bot] in
#29875
* [create-pull-request] automated change by @github-actions[bot] in
#29792
* [create-pull-request] automated change by @github-actions[bot] in
#29760

**Full Changelog**:
origin/main...origin/inflight/candidate
rmarinho pushed a commit that referenced this pull request Jun 24, 2025
* added test cases

* modified test cases

* added test case

* added snapshots

* added iOS snapshots

* code modified

* added new test cases

* added new test cases

* Copilot suggestions

* modified UI

* added new snapshots

* added the windows and mac snapshots

---------

Co-authored-by: Anandhan Rajagopal <97146406+anandhan-rajagopal@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-testing Unit tests, device tests community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants