I am quite happy using React and AWS Amplify on a personal project, it works like a charm against the Cognito Authentication.
Buuuut I was wondering... Is it possible to use AWS Amplify to test Cognito endpoints or at least the login with a testing framework like Jasmine?
Thanks in advance.
@josoroma AWS Amplify uses jest for unit testing. For integration test you can use something like cypress
@elorzafe I will take a look, thanks a bunch. Will be great to find some sample codes ;)
Hey @josoroma,
Here are some cypress recipes related to testing sign in:
https://docs.cypress.io/examples/examples/recipes.html#Single-Sign-On
If you have an existing app using AWS Amplify and Cognito, it is fairly easy to start using Cypress to test your Cognito interaction.
I am going to close this issue for now, but please reopen if you have any more questions or comments.
Most helpful comment
@josoroma AWS Amplify uses jest for unit testing. For integration test you can use something like cypress