Skip to content

[Testing:InstructorUI] Add date tests#12843

Merged
bmcutler merged 5 commits into
Submitty:mainfrom
AtCloudDiwash:feat/gradeable-json-data-testing
Jun 4, 2026
Merged

[Testing:InstructorUI] Add date tests#12843
bmcutler merged 5 commits into
Submitty:mainfrom
AtCloudDiwash:feat/gradeable-json-data-testing

Conversation

@AtCloudDiwash

Copy link
Copy Markdown
Contributor

Why is this Change Important & Necessary?

Closes #12701
Extension of the test cases mentioned in PR #12699

Date values in the gradeable JSON upload/download cycle were not being tested.

What is the New Behavior?

Added assertions to verify that date values are correctly preserved when api_testing gradeable is downloaded.

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

  1. navigate to site directory
  2. run the cypress test

Automated Testing & Documentation

This PR adds automated Cypress test coverage for date values in the gradeable JSON upload/download cycle.

Other information

Not a breaking change. No migrations required. No security concerns.

@codecov

codecov Bot commented May 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.62%. Comparing base (403c54a) to head (fa64ca8).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12843   +/-   ##
=========================================
  Coverage     21.62%   21.62%           
  Complexity     9819     9819           
=========================================
  Files           268      268           
  Lines         36812    36812           
  Branches        490      490           
=========================================
  Hits           7960     7960           
  Misses        28366    28366           
  Partials        486      486           
Flag Coverage Δ
autograder 21.32% <ø> (ø)
js 2.02% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.67% <ø> (ø)
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.

@AtCloudDiwash AtCloudDiwash changed the title [Testing] Add date value assertions for gradeable JSON [Testing] Assert dates in gradeable JSON May 8, 2026
@AtCloudDiwash AtCloudDiwash changed the title [Testing] Assert dates in gradeable JSON [Testing:InstructorUI] Add date tests May 11, 2026
@AtCloudDiwash

Copy link
Copy Markdown
Contributor Author

@GarvitKhandelwal31 I have made changes to the PR title, hope it satisfied the CI checks.

@dagemcn dagemcn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. CI ran locally and on Github's end, all working successfully.

@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Jun 4, 2026
@AtCloudDiwash

Copy link
Copy Markdown
Contributor Author

Looks good. CI ran locally and on Github's end, all working successfully.

Thank you for noticing my contribution.

@bmcutler
bmcutler merged commit c2146f5 into Submitty:main Jun 4, 2026
25 of 26 checks passed
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.

Add testing for date values in upload/download gradeable json

3 participants