Skip to content

Port the TestHarness WebAssembly UI tests to Uno 7's Skia renderer #3187

Open

Description

@MartinZikmund

What would you like to be added:

Port the TestHarness UI tests (testing/TestHarness/TestHarness.UITest) to a driver that works with Uno Platform 7's Skia-rendered WebAssembly, and turn the UI Tests - WebAssembly CI job back on. #3181 disables it.

Why is this needed:

Uno.UITest.Selenium depends on the native WebAssembly DOM renderer, which Uno Platform 7.0 removed:

  • Element lookup (Marked, 54 uses): matches the xamlautomationid attribute that the native renderer put on every element. On Skia WebAssembly that attribute only exists on the accessibility semantic DOM, which is built only after the uno-enable-accessibility opt-in (or FeatureConfiguration.AutomationPeer.AutoEnableAccessibility).
  • Property and text reads (GetText, GetDependencyPropertyValue, WaitForDependencyPropertyValue, 39 uses): go through a JavaScript bridge into the native renderer, which no longer exists.

On the Uno 7 retarget branch the job ran 52 tests: 0 passed, and every one timed out in NavigationTestBase.InitTestSection, waiting for the first element. The job then hit its 60-minute timeout. Uno core has dropped its own Selenium WebAssembly UI-test lane for the same reason.

For which Platform:

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renders for Xamarin.Forms
  • Windows
  • Build tasks

Anything else we need to know?

Options to evaluate:

  • Enable the accessibility semantic DOM in the TestHarness WebAssembly head for UI-test runs, and replace the property/text reads with assertions that don't need the native bridge.
  • Move these scenarios to runtime tests in Uno.Extensions.RuntimeTests, which already run on Skia.

The CI evidence is build 235021, job UI Tests - WebAssembly.

Activity

  1. added
    kind/enhancement
    triage/untriaged
    on Sep 23, 2026
  2. removed
    triage/untriaged
    on Oct 29, 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

    kind/enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions