Features
< Back to Blog Overview

Run Cypress tests on TestingBot's Browser Grid

2020-11-09
Run Cypress tests on TestingBot's Browser Grid
  • Share on Facebook
  • Share on Twitter
  • Share on LinkedIn
  • Share on HackerNews

TestingBot has released testingbot-cypress-cli, a CLI program that allows you to run your Cypress Automated tests on TestingBot's browser grid.

What is Cypress Automated Testing?

Cypress is an end-to-end testing solution. It allows developers and testers to easily create tests and run these tests in a browser.


Using Cypress comes with several advantages:


  • It is fast and reliable
  • Writing tests is easy, with the built-in Test Runner. Modifying tests show instant results in your browser.
  • It does not use Selenium. There's no remote commands over the network, just the same run-loop as your webapp.
  • Cypress Testing is an all-in-one solution. No need to install other dependencies or libraries.

To learn more about Cypress, please visit the Cypress Homepage.


Why use testingbot-cypress-cli?

We've built this CLI to make it easy for Cypress users to run multiple Cypress tests in parallel, on different browsers and browser-versions in our browser grid cloud.


By using the TestingBot cloud service, you no longer need to provision your own browser installations and keep up with updates and configuration changes.


At the time of writing, TestingBot supports running Cypress tests on macOS Catalina, macOS Mojave and on Windows 10.


Each Cypress test running on TestingBot comes with log files and a screencast of the test.


How does it work?

You'll need to configure the CLI (testingbot-cypress init command) by pointing it to your Cypress test directory. The CLI will zip and upload the tests in your directory to TestingBot.


Once uploaded, TestingBot will run the tests on the browsers you configured in the testingbot.json file.


You'll get realtime results from the CLI, and at the end of the tests you'll be able to see a video of the tests.


Example

You can use the Cypress Kitchen Sink Example to quickly run a couple of Cypress tests on TestingBot.


Simply point the cypress_proj_dir variable to the path where you installed the example.


Once you've specified which browsers/platforms you want to test, you can start the tests: testingbot-cypress run


More information

More information is available on our GitHub Repository or documentation page.

TestingBot Logo

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required.

Other Articles

Run TestCafe tests on TestingBot's Browser Grid

Today we're releasing testcafe-browser-provider-testingbot, a plugin for TestCafe. TestCafe is a NodeJS framework to do automate end-to-end we...

Read more
Selenium 4 (Alpha) Testing on TestingBot

TestingBot now supports Selenium 4 (Alpha) testing on its Selenium grid! Even though Selenium 4 is still only available as an alpha version, we'...

Read more
Test on macOS Big Sur and Safari 14

macOS Big Sur Preview 1 We have added Apple's upcoming OS to our list of platforms. Apple announced this next new major macOS release in its la...

Read more