test: cover scenario editor timer reattachment
Open a scenario, edit its buffer while the window is detached and verify refreshed metadata after reattachment without saving the file.
This commit is contained in:
1 parent
b9507b80c3
commit
f8a0cb588f
2 files changed
+33
No files matched your search
@@ -129,6 +129,7 @@ namespace Cthangover.Tools.Tests.Windows
|
||||
var window = _window;
|
||||
_window = null;
|
||||
|
||||
ToolWindowsExercises.Verify(id, window, Check);
|
||||
var errors = _errors.Drain();
|
||||
Check(errors.Count == 0, $"{id}: no engine errors while opening" + (errors.Count > 0 ? ": " + string.Join(" | ", errors) : ""));
|
||||
Check(GodotObject.IsInstanceValid(window) && window.IsInsideTree() && window.Visible, $"{id}: window visible in tree");
|
||||
|
||||
Reference in new issue
Block a user