-
Notifications
You must be signed in to change notification settings - Fork 12
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
Task/callback UI tests #1955
Open
whabanks
wants to merge
36
commits into
main
Choose a base branch
from
task/callback-ui-tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Task/callback UI tests #1955
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Added the [validators](https://yozachar.github.io/pyvalidators/stable/) lib to the project - Callback URLs are now checked for validity - Callback URLs are now tested to determine if they are reachable before saving the callback url - Validate that callback urls return 200 responses
- Update error messages - Add logic for catching 5xx and 4xx errors and raise the correct validation error + logging - Fixed ServiceReceiveCallbackMessagesForm validation
- We only want to verify that there's a service running at the specified callback URL. - Additionally we are sending a payload the service won't understand how to response to so a 5xx is likely
- There is now a dedicated delete button to remove a callback configuration instead of needing to empty the form and click save to delete a config - Users will receive a confirmation banner before deletion occurs - Saving, creating, and deleting a callback url now provide the user with a confirmation message that the operation succeeded
- Added a button to the callback config page so users can see the response times of their callback services - Added some translation stubs - The ping to their service takes place as part of the validation
- Add new message content
5 tasks
🧪 Review environmenthttps://psdtys77ksgdlozu4kezhatd3i0rxjxr.lambda-url.ca-central-1.on.aws/ |
- Fix issue with text displaying incorrectly on the delete confirmation interstitial
…in' into task/callback-ui-tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary | Résumé
This PR adds UI tests for the callbacks page and support for the new
cache-clear
endpoint in API.With the
cache-clear
endpoint we can now manage Redis state during Cypress tests.These tests experiment with the use of a utility endpoint in API to assist with cleaning up the DB after a test run.
Test instructions | Instructions pour tester la modification
.env
from 1Password to get the JWT configs for thecache-clear
endpoint calls.