Skip to content

test: Disable flaky/failing native tests - #23185

Merged
MartinZikmund merged 3 commits into
masterfrom
dev/mazi/native-tests
May 4, 2026
Merged

MartinZikmund merged 3 commits into
masterfrom
dev/mazi/native-tests

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented May 4, 2026 •

Copy link
Copy Markdown
Member

GitHub Issue: closes #

PR Type:

What changed? 🚀

PR Checklist ✅

Copilot AI review requested due to automatic review settings May 4, 2026 06:18
@MartinZikmund
MartinZikmund enabled auto-merge May 4, 2026 06:19
@MartinZikmund MartinZikmund self-assigned this May 4, 2026
@github-actions github-actions Bot added the area/automation Categorizes an issue or PR as relevant to project automation label May 4, 2026
@MartinZikmund
MartinZikmund requested a review from ajpinedam May 4, 2026 06:19

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 reduces CI noise by disabling a set of flaky/failing tests on native backends (runtime tests and UI tests) and tweaks Azure DevOps test job/task display names to better reflect what’s being executed.

Changes:

  • Exclude several Uno.UI runtime tests from native platforms via PlatformCondition.
  • Ignore a few SamplesApp UI tests currently failing on Native UIKit.
  • Rename Azure DevOps test job/task display names (mostly “Automated Tests” → “UI Tests” / “Snapshot Tests”).

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/ScrollViewerTests/Given_ScrollViewer_Anchoring.cs Skips select anchoring tests on RuntimeTestPlatforms.Native.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_TextBlock_ICU.cs Skips NBSP line-breaking test on RuntimeTestPlatforms.Native.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ListViewBase.Measure.cs Skips a ListView selection/virtualization test on NativeAndroid.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_AutoSuggestBox.cs Skips a popup/header placement test on NativeAndroid.
src/Uno.UI.RuntimeTests/Tests/Microsoft_UI_Xaml_Controls/Given_WebView2.cs Extends an existing exclusion to include NativeUIKit for a flaky navigation test.
src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/UnoSamples_Tests.ListView.cs Ignores a failing iOS-only UI test with a tracking issue reference.
src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ButtonTests/UnoSamples_Tests.Button_IsEnabled_Automated.cs Ignores a UI test (currently unconditional).
src/SamplesApp/SamplesApp.UITests/UnoSamples_Tests.Keyboard.cs Ignores a UI test (currently unconditional).
build/ci/tests/.azure-devops-tests-webassembly-native.yml Renames snapshot test job/task display names.
build/ci/tests/.azure-devops-tests-ios-native.yml Renames iOS native automated test job display/test run names to “UI Tests”.
build/ci/tests/.azure-devops-tests-android-native.yml Renames Android native UI test matrix entries/display names to “UI Tests”.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@unodevops

Copy link
Copy Markdown
Contributor

@MartinZikmund
MartinZikmund merged commit d4de0f5 into master May 4, 2026
67 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/native-tests branch May 4, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants