Skip to content

[Testing] Fix for flaky UITests in Net11 CI - #36977

Merged
kubaflo merged 1 commit into
dotnet:net11.0from
TamilarasanSF4853:net11-flaky-Issue32983
Jul 31, 2026
Merged

[Testing] Fix for flaky UITests in Net11 CI#36977
kubaflo merged 1 commit into
dotnet:net11.0from
TamilarasanSF4853:net11-flaky-Issue32983

Conversation

@TamilarasanSF4853

@TamilarasanSF4853 TamilarasanSF4853 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This PR addresses UI test failures in the Net11 branch and includes updates to improve rendering and test stability across platforms.

  • The BottomSheetDetentHeightIsCorrectWhenCollectionViewIsMeasuredBeforeMount test passed locally in both CV1 and CV2. However, in CI, it fails in CV1 but passes in CV2. To avoid flaky issues, the sample was changed to use CollectionView2.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 36977

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 36977"

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@Ahamed-Ali Ahamed-Ali added area-testing Unit tests, device tests community ✨ Community Contribution testing-flakiness labels Jul 31, 2026
@sheiksyedm
sheiksyedm marked this pull request as ready for review July 31, 2026 13:31
Copilot AI review requested due to automatic review settings July 31, 2026 13:31
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@sheiksyedm

sheiksyedm commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

/azp run maui-pr-uitests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the HostApp reproduction page for Issue 32983 to use the CollectionView2 test control, which is wired to the newer Items2 (CollectionViewHandler2) implementation in the test app. This aligns the UI test page with the intent to reduce Net11 CI flakiness by avoiding the legacy CollectionView handler path.

Changes:

  • Switch Issue32983BottomSheetContentView from CollectionView to CollectionView2 for the bottom sheet content.

@kubaflo
kubaflo merged commit 4b8b1dd into dotnet:net11.0 Jul 31, 2026
134 of 148 checks passed
@github-actions github-actions Bot added this to the .NET 11.0-preview7 milestone Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-testing Unit tests, device tests community ✨ Community Contribution testing-flakiness

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants