Skip to content

[Testing:Developer] Allow gradeable upload test to be re-run#12785

Merged
williamjallen merged 3 commits into
mainfrom
rerun-upload
Apr 30, 2026
Merged

[Testing:Developer] Allow gradeable upload test to be re-run#12785
williamjallen merged 3 commits into
mainfrom
rerun-upload

Conversation

@IDzyre

@IDzyre IDzyre commented Apr 15, 2026

Copy link
Copy Markdown
Member

Why is this Change Important & Necessary?

The gradeable upload tests is currently lot able to be re-run because it creates gradeables, but does not delete them.

What is the New Behavior?

The test sets the state it is looking for Before tests are run, this allows for mid-test cancelling and retrying. It also allows for CI to retry the test and not give false "All changes saved" errors

What steps should a reviewer take to reproduce or test the bug or new feature?

Run the gradeable_upload Cypress test twice. It should run and pass both times.

Other information

We should make all tests that create gradeables do this, or something similar.

@github-project-automation github-project-automation Bot moved this to Seeking Reviewer in Submitty Development Apr 15, 2026
@automateprojectmangement automateprojectmangement Bot moved this from Seeking Reviewer to Work in Progress in Submitty Development Apr 15, 2026
@codecov

codecov Bot commented Apr 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.56%. Comparing base (224fea2) to head (d61f31e).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12785   +/-   ##
=========================================
  Coverage     21.56%   21.56%           
  Complexity     9796     9796           
=========================================
  Files           268      268           
  Lines         36703    36703           
  Branches        490      490           
=========================================
  Hits           7915     7915           
  Misses        28302    28302           
  Partials        486      486           
Flag Coverage Δ
autograder 21.32% <ø> (ø)
js 2.02% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.60% <ø> (ø)
python_submitty_utils 80.08% <ø> (ø)
submitty_daemon_jobs 91.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@IDzyre IDzyre changed the title [Testing:Gradeable] Allow gradeable upload test to be re-run [Testing:Developer] Allow gradeable upload test to be re-run Apr 15, 2026
@IDzyre
IDzyre marked this pull request as ready for review April 24, 2026 17:56
@automateprojectmangement automateprojectmangement Bot moved this from Work in Progress to Seeking Reviewer in Submitty Development Apr 24, 2026
@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Apr 30, 2026
@williamjallen
williamjallen merged commit d7e16f5 into main Apr 30, 2026
49 of 50 checks passed
@williamjallen
williamjallen deleted the rerun-upload branch April 30, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants