Skip to content
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

Fix spec tests with new Household Enrollments table design #4983

Closed
wants to merge 19 commits into from

Conversation

martha
Copy link
Contributor

@martha martha commented Dec 5, 2024

Merging this PR

  • use the squash-merge strategy for PRs targeting a release-X branch

Description

GH issue: https://github.com/open-path/Green-River/issues/6825
Corresponding frontend PR: greenriver/hmis-frontend#989

The Household Enrollments table is adopting the new table actions convention, so there is now a ButtonLink for accessing the client enrollment rather than a link-ified client name. This PR updates the spec tests so they can find the new ButtonLink.

Type of change

Spec test fix

Checklist before requesting review

  • I have performed a self-review of my code
  • I have run the code that is being changed under ideal conditions, and it doesn't fail
  • [n/a] If adding a new endpoint / exposing data in a new way, I have:
    • [n/a] ensured the API can't leak data from other data sources
    • [n/a] ensured this does not introduce N+1s
    • [n/a] ensured permissions and visibility checks are performed in the right places
  • [n/a] I have updated the documentation (or not applicable)
  • I have added spec tests (or not applicable)
  • [n/a] I have provided testing instructions in this PR or the related issue (or not applicable)

@martha martha marked this pull request as ready for review December 5, 2024 16:18
@martha martha requested a review from gigxz December 5, 2024 16:22
martha and others added 3 commits December 11, 2024 07:10
* Add file to CDE (first pass)

* Fix bad merge

* Fix some todos (still wip)

* Support re-saving

* Clean up and fix todos

* Remove file when CDE is removed

* PR feedback (some)

* maybe, tentatively, support viewing previously uploaded blobs

* Revert "maybe, tentatively, support viewing previously uploaded blobs"

This reverts commit 44be811.

* Prevent save without submit on file assessments

* Actually prevent save

* Add todo

* Add spec

* Make small code style update

* Add File to cascade models in utility

* Use merge scope

Co-authored-by: Elliot <[email protected]>

* address pr feedback on supports_save_in_progress

* Partially address PR feedback

* improve comment

Co-authored-by: Gig <[email protected]>

* Clarify and add comments

* Remove validation

* Add test case for duplicate value

* Deduplicate identical values

* Fix failing spec tests

* Fix mistake

* Remove deprecated

* Fix mistake

* Fix spec

* Access control check on resubmitted files

* Improve code from PR suggestion

* Fix test failures (I hope)

---------

Co-authored-by: Elliot <[email protected]>
Co-authored-by: Gig <[email protected]>
@martha martha changed the base branch from release-143 to release-144 December 11, 2024 20:56
@martha martha mentioned this pull request Dec 18, 2024
4 tasks
@martha
Copy link
Contributor Author

martha commented Dec 18, 2024

Closing in favor of #5012

@martha martha closed this Dec 18, 2024
@martha martha deleted the martha/6825-hh-member-row branch December 18, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants