From 27a1a216bb33c86721f26daaa661f2f1ac95a2ee Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Sat, 6 Jan 2024 13:14:46 +0200 Subject: [PATCH] test: Fix `When_Loaded_Then_Unloaded_Tap` test --- .../Tests/Microsoft_UI_Xaml_Controls/Given_RatingControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Uno.UI.RuntimeTests/Tests/Microsoft_UI_Xaml_Controls/Given_RatingControl.cs b/src/Uno.UI.RuntimeTests/Tests/Microsoft_UI_Xaml_Controls/Given_RatingControl.cs index adb30127774c..92df62ddfad6 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Microsoft_UI_Xaml_Controls/Given_RatingControl.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Microsoft_UI_Xaml_Controls/Given_RatingControl.cs @@ -37,7 +37,7 @@ public async Task When_Loaded_Then_Unloaded_Tap() // Re-add RatingControl TestServices.WindowHelper.WindowContent = ratingControl; - await TestServices.WindowHelper.WaitForLoaded(ratingControl); + await TestServices.WindowHelper.WaitFor(() => ratingControl.IsLoaded); // Tap RatingControl ratingControl.Value = 1;