diff --git a/apps/dashboard/test/system/jobs_app_test.rb b/apps/dashboard/test/system/jobs_app_test.rb index dd6f64c456..8ad577af73 100644 --- a/apps/dashboard/test/system/jobs_app_test.rb +++ b/apps/dashboard/test/system/jobs_app_test.rb @@ -749,7 +749,7 @@ def add_bc_num_hours(project_id, script_id) new_form = if RUBY_VERSION > '3.0' YAML.safe_load(File.read(forms.first)) else - YAML.safe_load(File.read(forms[1])) + YAML.safe_load(File.read(forms[0])) end # 'form' & 'title' are the same