-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Testing] Feature matrix UITest Cases for ImageButton Control #29968
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
[Testing] Feature matrix UITest Cases for ImageButton Control #29968
Conversation
Hey there @@NafeelaNazhir! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a complete set of UI test cases for the ImageButton control, including a dedicated test page, options configuration, and integration with the gallery page.
- Introduces a new ImageButtonViewModel to support binding for various ImageButton properties.
- Implements ImageButton test pages (main and options) and integrates them into the core gallery.
Reviewed Changes
Copilot reviewed 52 out of 52 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
ImageButtonViewModel.cs | Provides binding and command handling for ImageButton properties. |
ImageButtonOptionsPage.xaml.cs | Implements the code-behind for configuring ImageButton options. |
ImageButtonOptionsPage.xaml | Defines the UI layout for ImageButton options. |
ImageButtonControlPage.xaml.cs & .xaml | Implements the main test page and navigation logic for the ImageButton tests. |
CorePageView.cs | Updates the gallery page collection to include the new ImageButton test page. |
/azp run MAUI-UITests-public |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jsuarezruiz I have added the pending snapshots in the latest commit. |
/azp run MAUI-UITests-public |
Azure Pipelines successfully started running 1 pipeline(s). |
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
* Added ImageButton Feature tests * Changes updated * Modified tests * Added Images * Modified image * Added images --------- Co-authored-by: Shane Neuville <[email protected]>
This PR includes a comprehensive set of UI test cases for the ImageButton control. The tests validate the ImageButton control, including properties such as Aspect, Source, Padding, IsOpaque, Shadow, IsEnabled, FLowDirection, IsVisible, BorderWidth, CornerRadius, BorderColor
ImageButton Control Implementation
Gallery Page Addition:
ImageButtonControlPage
to the list of gallery pages inCorePageView
to display the feature matrix for theImageButton
control. (src/Controls/tests/TestCases.HostApp/CoreViews/CorePageView.cs
)Main Page Implementation:
ImageButtonControlMainPage.xaml
and its code-behind file to define the main page for testingImageButton
features. The page includes anImageButton
with various bindable properties and event handlers forClicked
,Pressed
, andReleased
events. (src/Controls/tests/TestCases.HostApp/FeatureMatrix/ImageButton/ImageButtonControlPage.xaml
,src/Controls/tests/TestCases.HostApp/FeatureMatrix/ImageButton/ImageButtonControlPage.xaml.cs
) [1] [2]Options Page Implementation:
ImageButtonOptionsPage.xaml
to provide a UI for configuringImageButton
properties such asAspect
,Source
,BorderWidth
,CornerRadius
,FlowDirection
, and more. This page allows dynamic testing of different configurations. (src/Controls/tests/TestCases.HostApp/FeatureMatrix/ImageButton/ImageButtonOptionsPage.xaml
)Issues Identified
Screen.Recording.2025-06-12.at.7.17.33.PM.mov