At BrowserStack, we make it our mission to make developers' and QAs' lives easier—by providing an out-of-box infrastructure for automated testing at scale: One that works cohesively with all the tools and frameworks in their workflow.
And so, on July 1st, 2020, we introduced support for Cypress on BrowserStack Automate, becoming the first cloud infrastructure for running Cypress test automation out-of-the-box.
Here’s what BrowserStack can add to your existing Cypress (4.0 and above) test runs:
- Cross-browser coverage: You can configure your existing Cypress tests to run on 30+ versions of Chrome, Edge, and Firefox on our Cloud, with more browsers on the way.
- Parallelization: You can run hundreds of Cypress tests in parallel without maintaining countless Docker images as you scale.
- Easy debugging: You can debug using video recordings, automated screenshots, and text logs.
- All of the above…in dev and staging environments: You can use our Local binary to run Cypress tests at scale on localhost and staging websites, and at every commit and PR in your CI/CD pipeline.
The integration is in stable beta and ready to be plugged into your existing release pipelines.
Get started in 3 easy steps
You can start running Cypress tests on our cloud infrastructure in less than 5 minutes. Here’s how:
- Install the test runner (BrowserStack-Cypress CLI) via npm.
$ npm install -g browserstack-cypress-cli
- Generate a browserstack.json file and add the browsers and OSs you want to test against in it.
$ browserstack-cypress init
- Authenticate and trigger the test run.
$ browserstack-cypress run --username <Your Username> --key <Your BrowserStack key>
Check out the documentation for more details on how to configure your Cypress tests to run on BrowserStack. Support for Cypress tests is covered in your Automate plans. You can also sign up to try it for free.