Skip to content

Resolve "Repose | Mock assessments for testing"

Noel Simmel requested to merge 929-repose-mock-assessments-for-testing into main

Closes #929

Unfortunately I had to make some changes to the plan :/

  • I decided to activate a sporadic SC every day. This is so we can see if the answers from the day before are still there, and if they are not there anymore once a new interval starts. (This doesn't work on this branch, I hope it will once !766 is merged, otherwise let's postpone this to our internal test) (Update: It does work on repose-qa-2023-11-15)
  • The offboarding (study done alert) unfortunately can't be tested here because it only appears once the study is, well, done. Which would require a 4th day of testing
  • Unfortunately it's not as easy as including a test module and switching off the other SC stores:
    • ReposeOnboardingService imports the SC store services, so I had to change the imports here as well. FIXED 🎉
    • ReposeStudyDoneAlertService needs the name of the ePROMs symptom check. I know this is maybe not ideal, but I did change it here nonetheless so we can get on with testing. FIXED 🎉

I already roughly performed the test that I had in mind and it seems to work the way I expect it to 🎉

Edited by Noel Simmel

Merge request reports

Loading