-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[net10.0, Testing] Enabled failed UITests for Switch control due to new OffColor API. #28495
base: net10.0
Are you sure you want to change the base?
Conversation
Hey there @HarishKumarSF4517! 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 re-enables UI tests for the Switch control that were previously disabled with conditional compilation due to failures caused by the new OffColor API in .NET 10.0.
- Removed conditional compilation directives for tests Issue15695, Issue23608, and Issue8263 to run tests across all platforms.
- Enabled tests that were disabled under specific platform conditions to assess UI changes resulting from the OffColor API update.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
File | Description |
---|---|
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue15695.cs | Removed #if/#endif directives to always run the test. |
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue23608.cs | Removed #if/#endif directives to always run the test. |
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue8263.cs | Removed #if/#endif directives to always run the test. |
src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/UpdatedIsEnabledProperty.png
Show resolved
Hide resolved
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.
Could we include the UpdatedIsEnabledProperty.png for Mac this PR too?
a7c9bef
to
2960b1e
Compare
Hi @jsuarezruiz , |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Running a build. |
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.
/rebase |
2960b1e
to
d23de75
Compare
4feef00
to
746426f
Compare
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.
The Switch appears cut off here.
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.
The Switch appears cut off here.
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 ,
The cut-off appearance of the Switch is only present in the CI view. It passes as expected locally on my machine, so this seems to be specific to the CI environment.
/rebase |
746426f
to
82d5232
Compare
This PR addresses the issue of failed UITests for the Switch control after the .NET 10.0 update. The failure was caused by the introduction of the OffColor API in the Switch control, which led to visual differences in UITest image comparisons.
Refrence: https://github.com/dotnet/maui/pull/25068/files
TestCases
Issues Fixed
Fixes #28358