Skip to content

Conversation

@TamilarasanSF4853
Copy link
Contributor

This PR includes a comprehensive set of UI test cases for the Picker control. The tests validate the Picker control functionality, including properties such as SelectedIndex, SelectedItem, Title, FontAttributes, FontFamily, FontSize, TextColor, TitleColor, CharacterSpacing, FlowDirection, HorizontalTextAlignment, VerticalTextAlignment, IsEnabled, IsVisible, and Shadow, along with event handling for SelectedIndexChanged.

Picker Control Implementation:

  • Added PickerControlMainPage to host the Picker control, with bindings for properties like SelectedIndex, SelectedItem, Title, FontAttributes, FontFamily, FontSize, TextColor, TitleColor, CharacterSpacing, FlowDirection, HorizontalTextAlignment, VerticalTextAlignment, IsEnabled, IsVisible, and Shadow, with event handlers for the SelectedIndexChanged event.

  • Created PickerOptionsPage to allow users to configure Picker properties interactively, including selection management, text styling, layout alignment, state control, and visual effects configuration.

  • Added event handlers for property changes in PickerOptionsPage.xaml.cs to update the Picker control dynamically through a ViewModel pattern, enabling real-time property modifications and validation.

  • Implemented a suite of UI tests in PickerFeatureTests to validate property updates, event handling (SelectedIndexChanged), selection management (SelectedIndex and SelectedItem), font styling combinations (FontSize, FontAttributes, FontFamily), layout alignment configurations (FlowDirection, HorizontalTextAlignment, VerticalTextAlignment), state management (enabled, visible), visual styling (colors, shadows, character spacing), and visual verification of property configurations using VerifyScreenshot() across platforms.

Issues Identified

Screen.Recording.2025-07-08.at.7.03.17.PM.mov

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Jul 8, 2025
@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 the partner/syncfusion Issues / PR's with Syncfusion collaboration label Jul 8, 2025
@jsuarezruiz jsuarezruiz added the area-testing Unit tests, device tests label Jul 8, 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.
image
Already available in the latest build. Could you commit the images?

@TamilarasanSF4853
Copy link
Contributor Author

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

@jsuarezruiz I have added the pending snapshots in the latest commit.

@TamilarasanSF4853 TamilarasanSF4853 marked this pull request as ready for review July 10, 2025 05:38
@TamilarasanSF4853 TamilarasanSF4853 requested a review from a team as a code owner July 10, 2025 05:38
@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 Mac snapshots:
image

@TamilarasanSF4853
Copy link
Contributor Author

Pending Mac snapshots: image

@jsuarezruiz I have added the pending snapshots in the latest commit.

@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@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 Windows.
image
Already available on the latest build. Could you commit the images?

@TamilarasanSF4853
Copy link
Contributor Author

Pending snapshots on Windows. image Already available on the latest build. Could you commit the images?

@jsuarezruiz I have added the pending snapshots in the latest commit.

@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 September 5, 2025 21:44
@PureWeen PureWeen merged commit 3c3c3b4 into dotnet:inflight/current Sep 5, 2025
78 checks passed
PureWeen pushed a commit that referenced this pull request Sep 8, 2025
* added UI codes

* Updated UI codes

* updated test cases

* updated test cases

* added android and iOS snapshots

* updated test case

* added windows snapshots

* added mac snapshots

* added VerifyScreenshot code

* updated crop top value

* added windows snapshots
PureWeen pushed a commit that referenced this pull request Sep 8, 2025
* added UI codes

* Updated UI codes

* updated test cases

* updated test cases

* added android and iOS snapshots

* updated test case

* added windows snapshots

* added mac snapshots

* added VerifyScreenshot code

* updated crop top value

* added windows snapshots
@github-actions github-actions bot locked and limited conversation to collaborators Oct 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-picker Picker 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