From f8fdffd6d88e53f11cb57f9497739c2abeb9e5a9 Mon Sep 17 00:00:00 2001 From: BDisp Date: Thu, 16 Oct 2025 02:40:09 +0100 Subject: [PATCH] Giving more time to load Scrolling scenario and display failing scenario --- Tests/IntegrationTests/UICatalog/ScenarioTests.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tests/IntegrationTests/UICatalog/ScenarioTests.cs b/Tests/IntegrationTests/UICatalog/ScenarioTests.cs index 7fa654e9e..5e581bc53 100644 --- a/Tests/IntegrationTests/UICatalog/ScenarioTests.cs +++ b/Tests/IntegrationTests/UICatalog/ScenarioTests.cs @@ -41,8 +41,9 @@ public class ScenarioTests : TestsAllViews _output.WriteLine ($"Running Scenario '{scenarioType}'"); var scenario = Activator.CreateInstance (scenarioType) as Scenario; + var scenarioName = scenario!.GetName (); - uint abortTime = 2000; + uint abortTime = 2200; object? timeout = null; var initialized = false; var shutdownGracefully = false; @@ -70,7 +71,7 @@ public class ScenarioTests : TestsAllViews Assert.True (initialized); - Assert.True (shutdownGracefully, $"Scenario Failed to Quit with {quitKey} after {abortTime}ms and {iterationCount} iterations. Force quit."); + Assert.True (shutdownGracefully, $"Scenario '{scenarioName}' Failed to Quit with {quitKey} after {abortTime}ms and {iterationCount} iterations. Force quit."); #if DEBUG_IDISPOSABLE Assert.Empty (View.Instances);