Skip to content

Commit 7b22cd1

Browse files
committed
Updated autotest settings form UI
1 parent 9b1f36c commit 7b22cd1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Enable test results downloads through the API (#7754)
99
- Provide suggestions for partial student matching scans (#7760)
1010
- Allow inactive students to join groups (#7757)
11+
- Update autotest settings form UI (#7777)
1112

1213
### 🐛 Bug fixes
1314

app/javascript/Components/autotest_manager.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class AutotestManager extends React.Component {
4545
items: {
4646
"ui:placeholder": I18n.t("automated_tests.test_group", {count: 1}),
4747
"ui:title": I18n.t("automated_tests.test_group", {count: 1}),
48-
"ui:order": ["extra_info", "*"],
48+
"ui:order": ["extra_info", "*", "feedback_file_names"],
4949
"ui:options": {label: false},
5050
category: {
5151
"ui:title": I18n.t("automated_tests.category"),
@@ -76,6 +76,7 @@ class AutotestManager extends React.Component {
7676
},
7777
},
7878
"ui:options": {label: false},
79+
"ui:order": ["tester_type", "env_data", "test_data", "*"],
7980
},
8081
},
8182
},
@@ -558,14 +559,13 @@ function AddButton(props) {
558559
if (label) {
559560
label = `${I18n.t("add")} ${label}`;
560561
}
561-
console.log(props);
562562
return (
563563
<div className="row">
564564
<p className={`col-xs-3 col-xs-offset-9 text-right`}>
565565
<button
566566
type="button"
567567
className={`btn btn-info btn-add col-xs-12`}
568-
title={translateString(TranslatableString.AddButton)}
568+
title={label || translateString(TranslatableString.AddButton)}
569569
{...btnProps}
570570
>
571571
{label || <FontAwesomeIcon icon="fa-solid fa-add" />}

spec/fixtures/files/automated_tests/minimal_testers.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
},
77
"test_data_categories": {
88
"type": "string",
9-
"enum": [],
10-
"enumNames": []
9+
"enum": []
1110
},
1211
"extra_group_data": {},
1312
"installed_testers": {

0 commit comments

Comments
 (0)