Skip to content

[Testing:InstructorUI] Repair Sidebar Spec Failure#12922

Merged
bmcutler merged 1 commit into
mainfrom
fix-sidebar-spec
Jun 18, 2026
Merged

[Testing:InstructorUI] Repair Sidebar Spec Failure#12922
bmcutler merged 1 commit into
mainfrom
fix-sidebar-spec

Conversation

@mattLif

@mattLif mattLif commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Why is this Change Important & Necessary?

sidebar.spec.js, part of the UI Cypress test, was inconsistently failing. It seemed to be caused by failure to load the following image in time: http://www.cs.rpi.edu/~cutler/classes/visualization/S18/images/vinca_minor_mirrored.jpg.

What is the New Behavior?

While the test passes consistently locally, it only fails remotely. This change replaces the current image with the google logo (https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png), which should be more easily accessible than an image on the rpi network. This might not 100% fix the test, just make it less flaky

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

Let the test suite run remotely on github and see if sidebar.spec.js fails.

Automated Testing & Documentation

No testing needed to test feature

@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.48%. Comparing base (8fa4355) to head (2ac9145).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12922   +/-   ##
=========================================
  Coverage     21.48%   21.48%           
  Complexity     9842     9842           
=========================================
  Files           268      268           
  Lines         36851    36851           
  Branches        495      495           
=========================================
  Hits           7919     7919           
  Misses        28441    28441           
  Partials        491      491           
Flag Coverage Δ
autograder 21.32% <ø> (ø)
js 2.01% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.52% <ø> (ø)
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 c042607 into main Jun 18, 2026
33 of 52 checks passed
@bmcutler
bmcutler deleted the fix-sidebar-spec branch June 18, 2026 17:18
@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Done in Submitty Development Jun 18, 2026
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