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 utility endpoint for e2e cypress testing #2297

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

whabanks
Copy link
Contributor

@whabanks whabanks commented Sep 23, 2024

Summary | Résumé

This PR adds a utility Admin endpoint that supports Cypress UI tests.

  • Allow specifying a desired id when saving a callback so we can more easily manage test data in the DB
  • The utility endpoint cleans up the service_callback_api and service_callback_api_history table in the DB

Related Issues | Cartes liées

Test instructions | Instructions pour tester la modification

  1. Pull down this PR and run it locally
  2. Run the Cypress tests found in this PR

Release Instructions | Instructions pour le déploiement

None.

Reviewer checklist | Liste de vérification du réviseur

  • This PR does not break existing functionality.
  • This PR does not violate GCNotify's privacy policies.
  • This PR does not raise new security concerns. Refer to our GC Notify Risk Register document on our Google drive.
  • This PR does not significantly alter performance.
  • Additional required documentation resulting of these changes is covered (such as the README, setup instructions, a related ADR or the technical documentation).

⚠ If boxes cannot be checked off before merging the PR, they should be moved to the "Release Instructions" section with appropriate steps required to verify before release. For example, changes to celery code may require tests on staging to verify that performance has not been affected.

- Allow specifying a desired id when saving a callback
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