Integrating Cypress with the DevOps pipeline
In this section, we will show you how to add the e2e test phase to the DevOps pipeline. At the time of writing, Cypress only works on the root directory with a single app. If you have a monorepo that contains many apps, then you will need to create a new repository and create an Amplify app to enable the e2e test.
If you set your Amplify app to manual deployment earlier in this book, then you might want to change Amplify Hosting to continuous deployment instead of manual deployment. You can run the
amplify add hosting command again to select continuous deployment. This will take care of integrating the DevOps pipeline with the Amplify app:
amplify add hosting ? Select the plugin module to execute Hosting with Amplify Console (Managed hosting with custom domains, Continuous deployment) ? Choose a type Continuous deployment (Git-based deployments) ? Continuous deployment is configured in the Amplify Console. Please hit enter once you...