-
-
Notifications
You must be signed in to change notification settings - Fork 510
6313 - Case Court Reports Index Spec Overhaul #6581
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
Merged
compwron
merged 43 commits into
rubyforgood:main
from
AudTheCodeWitch:acook/6313/update-case-court-reports-index-spec
Nov 5, 2025
Merged
6313 - Case Court Reports Index Spec Overhaul #6581
compwron
merged 43 commits into
rubyforgood:main
from
AudTheCodeWitch:acook/6313/update-case-court-reports-index-spec
Nov 5, 2025
+331
−144
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… reporting Signed-off-by: Audrea Cook <[email protected]>
…d click actions Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
… details report access specs Signed-off-by: Audrea Cook <[email protected]>
…port generation simulation Signed-off-by: Audrea Cook <[email protected]>
…port generation simulation Signed-off-by: Audrea Cook <[email protected]>
… improve timeout settings Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
… for clarity Signed-off-by: Audrea Cook <[email protected]>
… for clarity Signed-off-by: Audrea Cook <[email protected]>
…s in index spec Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
…ors, and admins Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
…r roles Signed-off-by: Audrea Cook <[email protected]>
… for user roles Signed-off-by: Audrea Cook <[email protected]>
…r roles Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
…sibility specs Signed-off-by: Audrea Cook <[email protected]>
…c.rb Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
…ngth cop Signed-off-by: Audrea Cook <[email protected]>
Signed-off-by: Audrea Cook <[email protected]>
… consistency Signed-off-by: Audrea Cook <[email protected]>
…orts Signed-off-by: Audrea Cook <[email protected]>
|
@compwron, any chance you could get your eyes on this pr and/or add the |
|
I'm sorry I missed this for hacktoberfest!! :( It looks great :) |
compwron
approved these changes
Nov 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What github issue is this PR for, if any?
Resolves #6313
What changed, and why?
This PR is a comprehensive refactor of the test suite for the Case Court Reports feature. The original spec file was refactored to be faster, more reliable, and easier to maintain.
Key Changes:
Refactored
spec/system/case_court_reports/index_spec.rb:shared_example(a user with organization-level case visibility in autocomplete) to reduce duplication.letstatements and safely disabling warnings for complex but necessary test setup.Improved Test Organization:
index_spec.rbtospec/system/casa_cases/show_spec.rb.spec/requests/case_court_reports_spec.rb.spec/support/case_court_report_helpers.rb.This PR completes all outstanding test work for this feature.
How is this tested? 💖💪
spec/system/case_court_reports/index_spec.rb.spec/system/casa_cases/show_spec.rb.spec/requests/case_court_reports_spec.rb.Feelings gif