From a6d681e5fbee7b5dc92172e0980f275d68f82d8b Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Wed, 2 Mar 2022 15:52:21 +0100 Subject: [PATCH] fix: When_ScrollViewer_Resized test failing without outer Scroller --- .../Tests/Windows_UI_Xaml_Controls/Given_ScrollViewer.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ScrollViewer.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ScrollViewer.cs index ca8aed767246..4f211aa9ccfa 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ScrollViewer.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ScrollViewer.cs @@ -128,6 +128,7 @@ public async Task When_NonScrollableTextBox_Then_DoNotLoadAllScrollerTemplate() [TestMethod] [RunsOnUIThread] + [RequiresFullWindow] public async Task When_ScrollViewer_Resized() { var content = new Border @@ -143,8 +144,6 @@ public async Task When_ScrollViewer_Resized() WindowHelper.WindowContent = container; - await WindowHelper.WaitForLoaded(content); - using var _ = new AssertionScope(); await CheckForSize(200, 400, "Initial");