Skip to content

[Testing] Feature Matrix UITest Cases for DatePicker Control #30159

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

Merged

Conversation

TamilarasanSF4853
Copy link
Contributor

@TamilarasanSF4853 TamilarasanSF4853 commented Jun 24, 2025

This PR includes a comprehensive set of UI test cases for the DatePicker control. The tests validate the DatePicker control, including properties such as Date, Format, FontAttributes, FontFamily, FontSize, IsEnabled, IsVisible, FlowDirection, MinimumDate, MaximumDate, and culture-specific date formatting.

DatePicker Control Implementation:

  • Added DatePickerControlMainPage to host the DatePicker control, with bindings for properties like Date, Format, FontAttributes, FontFamily, FontSize, IsEnabled, IsVisible, FlowDirection, MinimumDate, and MaximumDate, and event handlers for the DateSelected event.

  • Created DatePickerOptionsPage to allow users to configure DatePicker properties interactively, including Date, Format, FontAttributes, FontFamily, FontSize, IsEnabled, IsVisible, FlowDirection, MinimumDate, MaximumDate, and culture selection.

  • Added event handlers for property changes in DatePickerOptionsPage.xaml.cs to update the DatePicker control dynamically through a ViewModel pattern.

  • Implemented a suite of UI tests in DatePickerFeatureTests to validate property updates, event handling (DateSelected), disabled and visibility states, culture-specific date formatting for various cultures (e.g., en-US, fr-FR, ja-JP, sv-FI), and visual verification of property configurations using VerifyScreenshot() across platforms.

Issues Identified

Screen.Recording.2025-06-24.at.1.50.51.PM.mov

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 Jun 24, 2025
@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anandhan-rajagopal anandhan-rajagopal added the area-testing Unit tests, device tests label Jun 24, 2025
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.

@jsuarezruiz jsuarezruiz added the area-controls-datetimepicker DatePicker, TimePicker label Jun 24, 2025
@TamilarasanSF4853
Copy link
Contributor Author

Pending snapshots: image

Already available in the latest build.

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

@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@TamilarasanSF4853 TamilarasanSF4853 marked this pull request as ready for review June 25, 2025 07:46
@TamilarasanSF4853 TamilarasanSF4853 requested a review from a team as a code owner June 25, 2025 07:46
@jsuarezruiz
Copy link
Contributor

The failed test RotatingCollectionViewWithHTMLShouldNotHangOrCrash seems not related.

@jsuarezruiz
Copy link
Contributor

/rebase

@github-actions github-actions bot force-pushed the feature-matrix-datepicker branch from ac557ef to 99721fa Compare July 2, 2025 07:29
@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen PureWeen changed the base branch from main to inflight/current July 10, 2025 21:48
@PureWeen PureWeen merged commit 2580059 into dotnet:inflight/current Jul 10, 2025
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-datetimepicker DatePicker, TimePicker 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.

4 participants