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

TN-3324 robust handling of unsortable patient list attributes #4414

Merged

Conversation

pbugni
Copy link
Collaborator

@pbugni pbugni commented Oct 22, 2024

No description provided.

ivan-c and others added 4 commits October 10, 2024 10:44
Address a stream of 400 errors (CSRF token is missing) related to saving
patientlist table preferences.
Cause:
I think the error stemmed from when an ajax request was first made to
retrieve patient data, which is precedes by a call to save table
preferences, the document DOM was not ready (which includes the value of
CSRF token in an hidden element) - hence the missing CSRF token error.
Fix:
To add check for DOM readiness before the request to save table
preferences is made.

---------

Co-authored-by: Amy Chen <[email protected]>
Addressed a number of warnings in the tests, and a few random
non-repeatable failures. Tests look to be more stable again.

This does include the elimination of "integration_tests" which used
selenium to attempt some basic browser login and such verification
tests. They are fragile, and of little use given our required test plan
before any release.
@pbugni pbugni merged commit 212e244 into master Oct 24, 2024
2 checks passed
@pbugni pbugni deleted the feature/robust-handling-of-unsortable-PatientList-attributes branch October 24, 2024 01:09
pbugni added a commit that referenced this pull request Oct 24, 2024
@pbugni pbugni restored the feature/robust-handling-of-unsortable-PatientList-attributes branch October 24, 2024 16:25
pbugni added a commit that referenced this pull request Oct 24, 2024
#4419)

Same PR as #4414, but this one correctly merges into develop.
@pbugni pbugni deleted the feature/robust-handling-of-unsortable-PatientList-attributes branch October 24, 2024 16:44
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.

3 participants