[net10.0, Testing] Fixed test failures on merge main net10.0 PR 30606 #30628
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.
Description
I have fixed the UI test image failures when the main gets merged to net10.0(#30606) and I have Resaved the UI Test Images. The changes enhance test coverage and update conditional compilation directives for issue tracking.
Build Link: https://dev.azure.com/xamarin/public/_build/results?buildId=146189&view=ms.vss-test-web.build-test-results-tab&runId=4531860&resultId=100085&paneView=debug
Re-saved baseline images for Entry control tests, reflecting a behavior change observed in .NET 10.0.
Specifically, we noticed that when navigating back from another page:
We suspect this is an intentional behavior change in .NET 10.0, so the test images have been updated accordingly.
Enhancements to test cases:
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ImageButtonFeatureTests.cs: Added steps to interact with theSourceTypeFileelement in theVerifyImageButtonWithBorderWidthAndCornerRadiustest to ensure proper functionality of theImageButtoncontrol.Updates to conditional compilation:
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue21886.cs: Updated the conditional compilation directive to include Android-specific test failures alongside Windows, with links to the respective GitHub issues for tracking.