diff --git a/src/Uno.UI.RuntimeTests/IntegrationTests/dxaml/BaseDxamlTestClass.cs b/src/Uno.UI.RuntimeTests/IntegrationTests/dxaml/BaseDxamlTestClass.cs index 6147f51c84a8..a1111cfb373e 100644 --- a/src/Uno.UI.RuntimeTests/IntegrationTests/dxaml/BaseDxamlTestClass.cs +++ b/src/Uno.UI.RuntimeTests/IntegrationTests/dxaml/BaseDxamlTestClass.cs @@ -22,6 +22,11 @@ protected static Task RunOnUIThread(Action action) return TestServices.RunOnUIThread(action); } + protected static Task RunOnUIThread(Func action) + { + return TestServices.RunOnUIThread(action); + } + protected static void VERIFY_IS_TRUE(bool value, string message = null) { TestServices.VERIFY_IS_TRUE(value, message);