Describe the bug
The Autograding Testcases page has 4 buttons, when it could be condensed to just 2:

The Regrade Active Version button should be an element inside of Toggle Dropdown, but instead it is clickable, while other elements are abstracted to the dropdown.
Expected behavior
The Regrade Active Version and Toggle Dropdown button should be combined into a single button that, on click, presents the user with each of the options they have.
The fix for this is almost the same as #12348, where this logic was resolved on the Student Grading Details page:
Before:

After

This pull request is a great reference for the solution here.
To Reproduce
Steps to reproduce the behavior:
- Find any gradeable with autograding in the
Sample course.
- Enter the Student Grading Details page for that gradeable
- Click on a specific student's grading
- Go to the
Autograding tab
- See buttons
Describe the bug

The Autograding Testcases page has 4 buttons, when it could be condensed to just 2:
The
Regrade Active Versionbutton should be an element inside ofToggle Dropdown, but instead it is clickable, while other elements are abstracted to the dropdown.Expected behavior
The
Regrade Active VersionandToggle Dropdownbutton should be combined into a single button that, on click, presents the user with each of the options they have.The fix for this is almost the same as #12348, where this logic was resolved on the Student Grading Details page:
Before:

After

This pull request is a great reference for the solution here.
To Reproduce
Steps to reproduce the behavior:
Samplecourse.Autogradingtab