Back to Cypress
Enable integration
Cypress
Runs Cypress end-to-end tests after Netlify builds the site.
Details
- Developed by Cypress
- Need Help? Contact Cypress
- More Info
This plugin netlify-plugin-cypress
by default runs during the "onSuccess" event, testing the deployed site. The Netlify Build system gives the URL to the plugin and it runs Cypress against that URL using the Cypress NPM module API.
Optionally, you can also run tests during "preBuild" and "postBuild" steps. This is useful if you want to ensure the site is working even before deploying it to Netlify servers. Finally, this plugin does not use "onFailure" event which happens only if Netlify fails to deploy the site.