You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Port the TestHarness WebAssembly UI tests to Uno 7's Skia renderer #3187
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
ci: Disable the Selenium WebAssembly UI tests for Uno 7
ci: Disable the Selenium WebAssembly UI tests for Uno 7