Amplify Console now provides developers a test phase as part of their continuous deployment pipeline to catch regressions and bugs before pushing code to production. The test phase can be configured in the build specification YML and can be used to run any testing framework of your choice during a build. 

from Recent Announcements https://aws.amazon.com/about-aws/whats-new/2019/10/aws-amplify-console-offers-end-to-end-browser-based-testing-with-cypress/