Repository navigation
Remove stale input transparency test TODO - #38105
Merged
Merged
Conversation
The later tests retain complementary coverage for concrete element types, deep nesting, cascade boundaries, and repeated state transitions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
jfversluis
temporarily deployed
to
copilot-pat-pool
September 2, 2026 08:54 — with
GitHub Actions
Inactive
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 38105Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 38105" |
jfversluis
temporarily deployed
to
copilot-pat-pool
September 2, 2026 08:54 — with
GitHub Actions
Inactive
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
jfversluis
temporarily deployed
to
copilot-pat-pool
September 2, 2026 08:55 — with
GitHub Actions
Inactive
jfversluis
temporarily deployed
to
copilot-pat-pool
September 2, 2026 08:57 — with
GitHub Actions
Inactive
jfversluis
temporarily deployed
to
copilot-pat-pool
September 2, 2026 08:58 — with
GitHub Actions
Inactive
jfversluis
temporarily deployed
to
copilot-pat-pool
September 2, 2026 08:58 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The change is limited to removing a stale comment and does not modify runtime code or test behavior.
Review tier: Lite
Findings: None
What changed in this PR
Removes a stale TODO from the VisualElementInputTransparentTests unit tests to avoid implying that the subsequent test matrix is redundant, while keeping all existing test behavior and coverage intact.
Changes:
- Removed an outdated TODO comment that suggested later input-transparency tests might be duplicates.
| File | Description |
|---|---|
| src/Controls/tests/Core.UnitTests/VisualElementInputTransparentTests.cs | Removes a misleading TODO comment without changing test logic or coverage. |
kubaflo
approved these changes
Sep 2, 2026
This branch was previously deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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!
Summary
Coverage comparison
The earlier tests exhaust the five Boolean cascade/input states for a two-level
Gridhierarchy with aButton, including property-order permutations and one-property inversions. The later tests additionally coverButton,VerticalStackLayout,Editor, andEntrychildren; direct and three-level-deep nesting; repeated parent state transitions back to the initial value; and nested cascade boundaries where parent and nested layouts independently enable or disable cascading. Those dimensions are not mechanically identical to the earlier matrix, so no tests were consolidated or deleted.Validation
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates\src --exclude-diagnostics CA1822 --include src\Controls\tests\Core.UnitTests\VisualElementInputTransparentTests.cs --verbosity quieteng\common\dotnet.cmd test src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj --filter "FullyQualifiedName~Microsoft.Maui.Controls.Core.UnitTests.VisualElementInputTransparentTests" -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false --verbosity minimal(372 passed)