Skip to content

[Testing:Notifications] Fix grade_inquiries.spec.js#12950

Merged
bmcutler merged 1 commit into
mainfrom
fix-grade-inquiries-spec
Jun 24, 2026
Merged

[Testing:Notifications] Fix grade_inquiries.spec.js#12950
bmcutler merged 1 commit into
mainfrom
fix-grade-inquiries-spec

Conversation

@mattLif

@mattLif mattLif commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Why is this Change Important & Necessary?

grade_inquiries.spec.js was failing because of a websocket verification failure. This PR fixes that.

What is the New Behavior?

Before, a websocket verification within the test was occuring before cypress properly loaded a page. This was because cypress was queueing the page visit, but then executing the verification before the page was loaded. Now, the verification is in a .then block that runs once the page is confirmed to be loaded.

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

Just run grade_inquiries.spec.js via cypress locally.

Automated Testing & Documentation

No tests needed.

Other information

Not a breaking change
No migrations
No security concerns

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.41%. Comparing base (39bfc3d) to head (2f78193).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12950   +/-   ##
=========================================
  Coverage     21.41%   21.41%           
  Complexity     9942     9942           
=========================================
  Files           268      268           
  Lines         37118    37118           
  Branches        495      495           
=========================================
  Hits           7948     7948           
  Misses        28679    28679           
  Partials        491      491           
Flag Coverage Δ
autograder 21.16% <ø> (ø)
js 2.01% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.45% <ø> (ø)
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.

@bmcutler
bmcutler merged commit 2e8c599 into main Jun 24, 2026
29 checks passed
@bmcutler
bmcutler deleted the fix-grade-inquiries-spec branch June 24, 2026 18:52
@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Done in Submitty Development Jun 24, 2026
jndlansh pushed a commit to jndlansh/Submitty that referenced this pull request Jul 1, 2026
### Why is this Change Important & Necessary?
grade_inquiries.spec.js was failing because of a websocket verification
failure. This PR fixes that.

### What is the New Behavior?
Before, a websocket verification within the test was occuring before
cypress properly loaded a page. This was because cypress was queueing
the page visit, but then executing the verification before the page was
loaded. Now, the verification is in a .then block that runs once the
page is confirmed to be loaded.

### What steps should a reviewer take to reproduce or test the bug or
new feature?
Just run grade_inquiries.spec.js via cypress locally.

### Automated Testing & Documentation
No tests needed.

### Other information
Not a breaking change
No migrations
No security concerns
prestoncarman added a commit that referenced this pull request Jul 1, 2026
* main: (78 commits)
  [Bugfix:TAGrading] Auto-open single file (#12625)
  [Feature:InstructorUI] Add sortable columns to manage students (#12957)
  [Dependency] Bump php-ds/php-ds from 1.7.0 to 2.0.1 in /site (#12827)
  [Refactor:TAGrading] Events Infrastructure & StatusBanner (#12941)
  [Dependency] Bump sqlalchemy from 2.0.48 to 2.0.51 in /.setup/pip (#12884)
  [Bugfix:Developer] trust hashicorp for vagrant install (#12968)
  [Feature:TAGrading] Backend for submission clustering (#12886)
  [Bugfix:InstructorUI] Missing Subsection in the Edit User form (#12955)
  [Bugfix:Submission] Warning Banners Accessibility Fix (#12956)
  [Bugfix:System] Preserve signup fields (#12939)
  [Bugfix:InstructorUI] Fix Csv Download of Subsections (#12954)
  [Bugfix:InstructorUI] Fix Manage Students Toggle Columns (#12953)
  [Feature:TAGrading] Persistent Auto-Open (#12931)
  [Bugfix:Submission] Dot File Upload (#12924)
  [Refactor:System] Declutter workers (#12815)
  [Bugfix:Developer] save/restore autograding_containers.json (#12952)
  [Bugfix:InstructorUI] Create Course Validation (#12949)
  [Testing:Notifications] Fix grade_inquiries.spec.js (#12950)
  [UI/UX:System] Add fullscreen button vue component (#12936)
  [Bugfix:TAGrading] Student Name Resize (#12946)
  ...

# Conflicts:
#	.pylintrc
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