How to assert scene changing is success using GUT

Godot Version

4.2 Windows

Question

Like the title says. I have difficulty of doing that. In the production code I called change_scene_to_file(my_scene_file).
How to assert it succeed, since calling get_tree().get_current_scene() in GutTest will result in get_tree() returns null

1 Like