Skip to content

Flaky RadioButtons interaction tests on Skia iOS and macOS #26579

In review

Description

@MartinZikmund

Current behavior 🐛

Two RadioButtons interaction tests, ported from WinUI in #26491, fail intermittently on the Apple Skia CI legs:

  • RadioButtonsInteractionTests.BasicKeyboardTest on iOS Skia fails with Assert.AreEqual failed. Expected:<3>. Actual:<-1> right after the injected tap: the tapped RadioButton never reports focus.
  • RadioButtonsInteractionTests.ScrollViewerSettingSelectionDoesNotMoveFocus on macOS Skia fails with Expected:<0>. Actual:<-1> from VerifyFocusedIndex(0) after an injected mouse click.

The same code passed on both legs in builds 246586 and 246700. It failed in 247020 and 247249. In 247020 the macOS test passed on its third attempt.

Expected behavior 🎯

Both tests pass reliably, as they do on the other Skia targets.

How to reproduce it (as minimally and precisely as possible) 🔬

Run the two tests repeatedly on Skia iOS or Skia macOS, for example with --runtime-tests-iterations=30 --runtime-tests-attempts=1.

Workaround 🛠️

The tests are excluded on those platforms with [PlatformCondition] until this is fixed.

Affected platforms 📱💻🖥️

iOS, Desktop (macOS)

Uno.Sdk version (and other relevant versions) 📦

master (7.1 dev)

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

Flaky test, tracked under #9080. Upstream WinUI also disables its RadioButtons interaction test class as unreliable.

Activity

  1. added
    kind/bug
    area/tests 🧪
    on Nov 18, 2026
  2. Jen-Uno commented on Nov 20, 2026

    @Jen-Uno
    Contributor

    TL;DR: ScrollViewerSettingSelectionDoesNotMoveFocus also fails on WebAssembly WebGPU, and there it fails every run, not intermittently. It is keeping master red, and the [PlatformCondition] exclusion doesn't cover that lane.

    • Lane: Tests - WebAssembly > WebGPU > WebGPU Runtime Tests 8
    • Failure: Assert.AreEqual failed. Expected:<0>. Actual:<-1> on the first attempt and on both retries
    • Log: Found 1 failed tests in .../skia-browserwasm-webgpu-runtime-tests-results.xml
    • First seen: build 247487, the merge of chore(winui-sync): Onboard RadioButtons at WinUI 2.6.5 #26491 (19 Nov, 05:36 UTC). The two master builds before it (247399, 247455) passed that group.
    • Since then: it failed in every one of the 12 red master builds checked, through 247896 (20 Nov). In 247613, 247648 and 247740 it was the only failing job.

    Excluding it on WebAssembly too, or fixing the focus check behind it, should take one failure off every master build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/tests 🧪kind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions