Sandbox credentials can only be submitted on sandbox widgets/links. You can check your widget/link type by heading over to https://app.usecanopy.com/dashboard/customize and checking if the top right corner looks like the image below:
Don't have a sandbox widget/link?
Head over to https://app.usecanopy.com/dashboard/customize, create a new widget by clicking "Get another link". Then send an email to [email protected] with the subject "Covert widget to sandbox" and include your newly created widget's url in the body.
Once you have found a sandbox widget/link you can submit the credentials below to test various cases:
Do you need different test cases?
The sandbox credentials provided by Canopy Connect are meant to provide sample test cases that you can experiment with and write automated tests against. If you require more unique or realistic test cases, please create your own mocks of the JSON responses.
Username | Password | Description |
---|---|---|
user_good | pass_good | SFA with auto and home policies. |
user_mfa | pass_good | MFA (With options) - Submit 000000 as the MFA code to hit the bad MFA code flow- Submit 000001 as the MFA code to hit the login error message flow- All other codes are considered good |
user_optionless_mfa | pass_good | MFA (Without options) - Submit 000000 as the MFA code to hit the bad MFA code flow- Submit 000001 as the MFA code to hit the login error message flow- All other codes are considered good |
user_good_commercial | pass_good | SFA with commercial policies. |
user_good_flood | pass_good | SFA with flood and home policies. |
user_adams | pass_good | SFA with realistic flood and home policies. Static data that matches PDF dec pages. |
user_locked | pass_good | Will result in NOT_AUTHENTICATED with a login_error_message set as an example locked error message. |
user_unactivated | pass_good | Will result in NOT_AUTHENTICATED with a login_error_message set as an example unactivated error message. |
user_good_expensive | pass_good | SFA and has dwelling coverage premiums that are 2.45x more than user_good. |
user_good_underinsured | pass_good | SFA & has a higher home Coverage A limit. |
user_good_home | pass_good | SFA with home policy only. |
user_good_auto | pass_good | SFA with auto policy only. |
user_good_partial_auto | pass_good | SFA with auto and home policies. The auto policy is partial and missing VehicleCoverages . |
user_good_landlord | pass_good | SFA with landlord policy |
user_good_no_policies | pass_good | SFA with no policies or policy-related data. Will still return profile-related data. |
user_provider_error | Will result in PROVIDER_ERROR status which can be detected using the ERROR webhook | |
user_internal_error | Will result in INTERNAL_ERROR status which can be detected using the ERROR webhook | |
user_good_complete | pass_good | SFA with many different combinations of policies, vehicles, dwellings, coverages, and endorsements. |
user_good_transportation | pass_good | SFA with commercial auto and commercial inland marine policies. |
ALL OTHER USERNAMES | ALL OTHER PASSWORDS | Will result in bad credentials. |