diff --git a/Changelog.md b/Changelog.md index 1761369de1..50e92fffad 100644 --- a/Changelog.md +++ b/Changelog.md @@ -14,6 +14,7 @@ - Add an administrator action on the course settings page to refresh autotest schema (#7828) ### 🐛 Bug fixes +- Fixed missing translation for "in progress" status on the batch test runs table by removing redundant double-translation of the status value - Prevent "No rows found" message from displaying in tables when data is loading (#7790) ### 🔧 Internal changes diff --git a/app/javascript/Components/__tests__/test_run_table.test.jsx b/app/javascript/Components/__tests__/test_run_table.test.jsx index 4b12083a60..70b770f1e2 100644 --- a/app/javascript/Components/__tests__/test_run_table.test.jsx +++ b/app/javascript/Components/__tests__/test_run_table.test.jsx @@ -232,7 +232,7 @@ describe("For the TestRunTable's display of in_progress status", () => { }); it("displays in progress status when a test is running", async () => { - const status = test_run_data[0]["test_runs.status"]; // "in progress" + const status = test_run_data[0]["test_runs.status"]; // "in_progress" const statusKey = I18n.t(`automated_tests.test_runs_statuses.${status}`); expect(statusKey).toEqual(I18n.t("automated_tests.test_runs_statuses.in_progress")); diff --git a/app/javascript/Components/batch_test_run_table.jsx b/app/javascript/Components/batch_test_run_table.jsx index 0193d749a3..0285846ea5 100644 --- a/app/javascript/Components/batch_test_run_table.jsx +++ b/app/javascript/Components/batch_test_run_table.jsx @@ -61,7 +61,6 @@ class BatchTestRunTable extends React.Component { ); // increment in_progress number for this batch_id status[row.test_batch_id].in_progress += 1; - row.status = I18n.t("automated_tests.test_runs_statuses.in_progress"); } else { row.time_to_completion = ""; row.action = "";