diff --git a/frontend/lib/viewmodels/skill_tree_viewmodel.dart b/frontend/lib/viewmodels/skill_tree_viewmodel.dart index f34202b3bb0f..5fe07c352a11 100644 --- a/frontend/lib/viewmodels/skill_tree_viewmodel.dart +++ b/frontend/lib/viewmodels/skill_tree_viewmodel.dart @@ -233,13 +233,13 @@ class SkillTreeViewModel extends ChangeNotifier { // await Future.delayed(Duration(seconds: 2)); notifyListeners(); + testSuite.tests.add(task); // If successStatus is false, break out of the loop if (!successStatus) { print( "Benchmark for node ${node.id} failed. Stopping all benchmarks."); break; } - testSuite.tests.add(task); } // Add the TestSuite to the TaskViewModel