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

Add function to delete cypress crisp profiles #379

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

annarhughes
Copy link
Member

What changes did you make?

Added deleteCypressCrispProfiles function to clean up crisp profiles after cypress tests are run, similar to the existing deleteCypressTestUsers and deleteCypressFirebaseUsers functions.

Also adds additional endpoint DELETE /users/cypress-clean which is similar to DELETE /users/cypress but includes a deep clean of rogue firebase and crisp accounts without user db records. This endpoint can be called manually infrequently, but the default (called after each cypress test) is still /users/cypress which is faster

Why did you make the changes?

To clean up our crisp users after they're created during cypress testing, completing the deleteCypressTestUsers function

@annarhughes annarhughes merged commit 6ffcf81 into develop Jan 9, 2024
3 checks passed
@annarhughes annarhughes deleted the add-delete-crisp-users branch January 9, 2024 11:20
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.

1 participant