mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 09:18:01 +01:00
Giving more time to load Scrolling scenario and display failing scenario
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user