maui
maui copied to clipboard
[Testing] Feature matrix UITest Cases for Entry Control
This PR includes a comprehensive set of UI test cases for the Entry control. The tests validate the Entry control, including properties such as Text, Placeholder, MaxLength, IsPassword, Keyboard, IsReadOnly, IsEnabled, IsVisible, ClearButtonVisibility, HorizontalTextAlignment, VerticalTextAlignment, CursorPosition, SelectionLength, IsSpellCheckEnabled, IsTextPredictionEnabled, ReturnType, ReturnCommand.
Entry Control Feature Matrix
-
Gallery Page Addition:
- Added a new
GalleryPageFactoryentry for theEntryControlPageto the navigation structure inCorePageView.cs. This integrates the new feature matrix page into the test application's navigation.
- Added a new
-
Options Page Implementation:
- Created
EntryOptionsPage.xamlto showcase theEntrycontrol's features. This page includes aStackLayoutwith variousEntrycontrols demonstrating properties like Text, Placeholder, MaxLength, IsPassword, Keyboard, IsReadOnly, IsEnabled, IsVisible, ClearButtonVisibility, HorizontalTextAlignment, VerticalTextAlignment, CursorPosition, SelectionLength, IsSpellCheckEnabled, IsTextPredictionEnabled.
- Created
-
Main Page Implementation:
- Added
EntryControlPage.xaml.cs, which includes:- Initialization of the
EntryViewModelfor data binding. - Event handlers for
Entrycontrol events (TextChanged,Focused,UnfocusedandCompleted). - Methods to update cursor position and selection length programmatically.
- Initialization of the
- Added
Issues Identified
- https://github.com/dotnet/maui/issues/29833
- https://github.com/dotnet/maui/issues/26968
- https://github.com/dotnet/maui/issues/29812
https://github.com/user-attachments/assets/00022d8a-9d3b-47de-afa0-5f79b57e02ac
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.
/azp run MAUI-UITests-public
Azure Pipelines successfully started running 1 pipeline(s).
/azp run MAUI-UITests-public
Azure Pipelines successfully started running 1 pipeline(s).
/azp run MAUI-UITests-public
Azure Pipelines successfully started running 1 pipeline(s).
/azp run MAUI-UITests-public
Azure Pipelines successfully started running 1 pipeline(s).
The test VerifyClearButtonVisiblityWhenTextPresentOrEmpty is failing on iOS.
Snapshot different than baseline: ClearButtonVisiblityButton_TextPresent.png (3.79% difference)
@jsuarezruiz I have committed this snapshot in the latest changes.
/azp run MAUI-UITests-public
Azure Pipelines successfully started running 1 pipeline(s).
The failing test RotatingCollectionViewWithHTMLShouldNotHangOrCrash, is not related with the PR changes.
