diff --git a/test_suites/windows/src/ToolWindowsExercises.cs b/test_suites/windows/src/ToolWindowsExercises.cs index 54ac028..6d71d77 100644 --- a/test_suites/windows/src/ToolWindowsExercises.cs +++ b/test_suites/windows/src/ToolWindowsExercises.cs @@ -49,10 +49,42 @@ namespace Cthangover.Tools.Tests.Windows case "scenario_editor": var tree = Find(window)?.FindChildren("*", nameof(Tree), true, false).OfType().FirstOrDefault(); check(tree?.GetRoot()?.GetChildCount() > 0, "scenario_editor: file tree lists mods with scenarios"); + ScenarioTimerLifecycle(window, check); break; } } + /// Checks the debounced metadata after the detached window has re-entered the tree. + public static void Verify(string toolId, Window window, Action check) + { + if (toolId == "scenario_editor") + check(window.FindChildren("InfoScene", "", true, false).OfType