[Testing] Additional Feature Matrix Event Test Cases for Slider and ScrollView#34352
Open
nivetha-nagalingam wants to merge 2 commits intodotnet:mainfrom
Open
[Testing] Additional Feature Matrix Event Test Cases for Slider and ScrollView#34352nivetha-nagalingam wants to merge 2 commits intodotnet:mainfrom
nivetha-nagalingam wants to merge 2 commits intodotnet:mainfrom
Conversation
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 34352Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 34352" |
Contributor
|
Hey there @@nivetha-nagalingam! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
Contributor
|
/azp run maui-pr-uitests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the Feature Matrix coverage for MAUI controls by adding HostApp plumbing and UI tests that validate Slider.ValueChanged and ScrollView.ScrollToRequested event behavior and arguments.
Changes:
- Added
Slider.ValueChangedevent tracking (raised/not-raised + old/new values) in the Slider Feature Matrix HostApp page and corresponding UI tests. - Added
ScrollView.ScrollToRequestedevent tracking (requested X/Y/position/animate/mode/element) in the ScrollView Feature Matrix HostApp page and corresponding UI tests. - Updated one Android screenshot baseline impacted by the Slider page UI changes.
Reviewed changes
Copilot reviewed 8 out of 251 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/SliderFeatureTests.cs | Adds UI tests validating Slider ValueChanged status and arguments. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ScrollViewFeatureTests.cs | Adds UI tests validating ScrollView ScrollToRequested event and argument values. |
| src/Controls/tests/TestCases.HostApp/FeatureMatrix/Slider/SliderViewModal.cs | Adds bindable properties for Slider ValueChanged status + old/new values. |
| src/Controls/tests/TestCases.HostApp/FeatureMatrix/Slider/SliderControlPage.xaml.cs | Hooks Slider ValueChanged to update the view model properties. |
| src/Controls/tests/TestCases.HostApp/FeatureMatrix/Slider/SliderControlPage.xaml | Adds UI labels/AutomationIds for the new Slider event state/args. |
| src/Controls/tests/TestCases.HostApp/FeatureMatrix/ScrollView/ScrollViewViewModel.cs | Adds bindable properties for ScrollToRequested status/args. |
| src/Controls/tests/TestCases.HostApp/FeatureMatrix/ScrollView/ScrollViewControlPage.xaml.cs | Handles ScrollToRequested and adds a pixel-scroll trigger button handler. |
| src/Controls/tests/TestCases.HostApp/FeatureMatrix/ScrollView/ScrollViewControlPage.xaml | Adds UI labels/AutomationIds for the new ScrollToRequested status/args and pixel-scroll trigger. |
| src/Controls/tests/TestCases.Android.Tests/snapshots/android/Slider_SetVisibilityToFalse_VerifyVisualState.png | Updates Android screenshot baseline for a Slider visual test. |
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ScrollViewFeatureTests.cs
Show resolved
Hide resolved
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ScrollViewFeatureTests.cs
Show resolved
Hide resolved
src/Controls/tests/TestCases.HostApp/FeatureMatrix/ScrollView/ScrollViewControlPage.xaml.cs
Outdated
Show resolved
Hide resolved
src/Controls/tests/TestCases.HostApp/FeatureMatrix/ScrollView/ScrollViewControlPage.xaml.cs
Outdated
Show resolved
Hide resolved
src/Controls/tests/TestCases.HostApp/FeatureMatrix/ScrollView/ScrollViewControlPage.xaml.cs
Show resolved
Hide resolved
src/Controls/tests/TestCases.HostApp/FeatureMatrix/ScrollView/ScrollViewViewModel.cs
Outdated
Show resolved
Hide resolved
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ScrollViewFeatureTests.cs
Show resolved
Hide resolved
This was referenced Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
This PR enhances the event handling support for multiple MAUI controls by adding comprehensive implementation and validation for control-specific events, along with corresponding test coverage.
The update includes the addition of events for Slider and ScrollView controls, ensuring proper event triggering and argument handling across different platforms.