Skip to content

HR runtime test When_RemoveAndReAddMultipleProperties: UI never loads on the iOS simulator #3242

Closed

Description

@kazo0

What

Reactive.WinUI.Tests.Given_HotReload.When_RemoveAndReAddMultipleProperties_Then_AllBindingsWork fails on the iOS simulator in CI, consistently across 3 attempts (build 239608):

System.TimeoutException: Failed to load element within 00:00:01.
   at Uno.UI.RuntimeTests.UIHelper.WaitForLoaded
   at Uno.UI.RuntimeTests.UIHelper.Load
   at ...Given_HotReload.When_RemoveAndReAddMultipleProperties_Then_AllBindingsWork

The whole test took 3.4s, too short for its four hot-reload edits. So it fails at the first UIHelper.Load, before any edit: loading a StackPanel with a TextBlock and a ListView takes longer than 1s on the simulator. UIHelper.Load waits TestHelper.DefaultTimeout, a fixed 1s when no debugger is attached.

This is a test-robustness problem, not a hot-reload bug. It passes on Android and Skia.

Work

  • Give the test's loads a realistic timeout. UIHelper.Load has no timeout parameter, so wait for Loaded directly or wrap the load in a longer WaitFor.
  • Remove the exclusion from the iOS hot-reload lane (stage-runtime-tests-mobile-hotreload.yml).

Activity

  1. added
    kind/maintainer-experience
    on Oct 15, 2026
  2. kazo0 commented on Oct 15, 2026

    @kazo0
    ContributorAuthor

    Update: #3238 now loads the UI with a 10s wait instead of UIHelper.Load's 1s. That fixed this test on Android, which had also started failing once classes ran in their own app launch. On the iOS simulator it still fails: the first load never completes even within 10s (build 239642, Operation has been cancelled after 0:00:10 in LoadAsync). So on iOS it isn't just slowness: a StackPanel holding a TextBlock and a ListView bound to MVUX feeds never reaches IsLoaded. The other loads in the class pass. The test is excluded on iOS again under this issue.

  3. changed the title [-]HR runtime test When_RemoveAndReAddMultipleProperties times out loading UI on the iOS simulator (1s default)[/-] [+]HR runtime test When_RemoveAndReAddMultipleProperties: UI never loads on the iOS simulator[/+] on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/mvuxkind/maintainer-experience

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions