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

Account deletion request v2 #267

Conversation

charles-cowart
Copy link

Supersedes #225

@charles-cowart
Copy link
Author

@cassidysymons All relevant changes migrated from the old PR. Haven't tested this locally yet. Will do so later tonight.

@charles-cowart
Copy link
Author

Created a new microsetta_private_api environment using master-overhaul branch and recreated errors seen in CI. Currently debugging each in turn. Will keep you posted.

Fixed test_existing_user_to_secondary_survey(). Test now completes the
COVID-19 survey and then confirms that it appears under 'Completed
Surveys'.
@charles-cowart
Copy link
Author

@cassidysymons This fix requires one small fix to microsetta-private-api as well. Putting together a PR for that now.

@charles-cowart
Copy link
Author

test_existing_user_to_secondary_survey() is failing in CI but not locally. Comparing local and CI environments for any differences.

Cannot recreate test_existing_user_to_secondary_survey failure locally
using master-overhaul or master branches of private-api. Added lines to
display full result returned by API call to confirm what is being
returned to the test.
@charles-cowart
Copy link
Author

@cassidysymons I can't recreate the test_existing_user_to_secondary_survey() failure locally after reviewing the CI configuration, and using both master-overhaul and master branches of private-api. I've added two lines of code to return the entire result of the API call so I can determine what is being sent. If you don't mind, can you please rerun the integration test in CI so I can capture the result? Thanks!

@charles-cowart
Copy link
Author

@cassidysymons Thanks! I looked at the run and it doesn't look like the full result printed out, even though it does locally and even though self.maxDiff = None. I'll think of something else.

Reverted test_existing_user_to_secondary_survey() to earlier test for
consent text in response.
@charles-cowart
Copy link
Author

charles-cowart commented Jan 12, 2023

@cassidysymons It took some doing, but I was able to run and debug the Github workflow locally using https://github.com/nektos/act. I did have to modify the workflow significantly as act doesn't support services, and forced microsetta-private-api to pull master-overhaul branch, but I was able to confirm that the result included consent text. I believe this should pass all tests as long as master-overhaul branch of private-api is used. (It passes locally using act).

@cassidysymons
Copy link
Collaborator

@charles-cowart Thanks for getting that resolved! I'll give the PR a once-over in the morning and make sure it doesn't need anything else.

Updated text w/gettext() based on feedback. messages.pot et al. remain
unchanged.
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