Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error in handgrading when selecting group with only non-gradable submissions #518

Merged
merged 9 commits into from
Aug 5, 2024
Prev Previous commit
Fixed test case.
  • Loading branch information
James Perretta committed Aug 5, 2024
commit 6bb792d7e72fce10d6b912dae1fb4cf16ac46e27
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@ test('Non-graded statuses show status text', async () => {
expect(wrapper.find('.status').text()).toEqual('Ungraded');

let no_submission_summary = data_ut.make_group_summary(
project.pk, 1, {num_submissions: 0}, true,
project.pk, 1, {num_submissions: 0}, false,
);
await set_props(wrapper, {group_summary: no_submission_summary});
expect(wrapper.find('.status').text()).toEqual('No Submission');

let no_handgradeable_submission_summary = data_ut.make_group_summary(
project.pk, 1, {num_submissions: 1}, false,
);
await set_props(wrapper, {group_summary: no_handgradeable_submission_summary});
expect(wrapper.find('.status').text()).toEqual('No Submission');
});
Loading