Skip to main content

TestCafe on Sauce Labs

TestCafe is an easy-to-use testing framework that you can use to test your applications either locally in Docker or through Sauce Labs using the saucectl CLI, giving you the flexibility to run your tests in the environment that best suits your organization, while still benefiting from the Sauce Labs vast collection of devices, browser, and operating system combinations and test result data analytics.

Supported Testing Platforms#

Sauce Labs supports the following test configurations for TestCafe:

TestCafe VersionSupported PlatformsSupported Browsers
1.17.1macOS: 11.0Safari, Chrome, Firefox, MicrosoftEdge
Windows: 10Chrome, Firefox, MicrosoftEdge
iOS: 13.4, 14.0, 14.3Safari
1.16.1macOS: 11.0Safari, Chrome, Firefox, MicrosoftEdge
Windows: 10Chrome, Firefox, MicrosoftEdge
iOS: 13.4, 14.0, 14.3Safari
1.15.3macOS: 11.0Safari, Chrome, Firefox, MicrosoftEdge
Windows: 10Chrome, Firefox, MicrosoftEdge
iOS: 13.4, 14.0, 14.3Safari
1.15.0macOS: 11.0Safari, Chrome, Firefox, MicrosoftEdge
Windows: 10Chrome, Firefox, MicrosoftEdge
iOS: 13.4, 14.0, 14.3Safari
1.14.2macOS: 11.0Safari, Chrome, Firefox, MicrosoftEdge
Windows: 10Chrome, Firefox, MicrosoftEdge
iOS: 13.4, 14.0, 14.3Safari

System Requirements#

You can run saucectl locally via Docker (Installation Requirements or remotely via the Sauce Labs cloud, so system requirements vary depending on your intention. The following reference serves as a general guide:

  • OS: 10.14+ (Mojave, Catalina, or Big Sur)
  • Docker: Desktop

How to Get Started#

  • Quickstart: Use our demo repo to quickly set up and run a sample TestCafe project and test to see the results.
  • Run Your own Tests: Customize saucectl to run your existing tests just by modifying the config.yml file for your project.
  • Incorporate saucectl in your pipeline: TestCafe on Sauce supports CI integrations with Cirlce CI, GitLab, Jenkins, and GitHub Actions.

TestCafe Plugins for Sauce Labs#

If you would prefer to stay in TestCafe, try the new TestCafe Sauce Labs Plugin. Connect to your Sauce Labs account from within your TestCafe project to configure and run your tests directly from TestCafe. If all you want is to publish your TestCafe test results to Sauce Labs (but not run on Sauce Labs), please check out our TestCafe reporter!