Skip to main content

TestCafe on Sauce Labs

TestCafe is a testing framework that you can use to test your web apps remotely on Sauce Labs cloud using the saucectl CLI.

System Requirements

Supported OS:

  • Windows 10 / Windows 11
  • macOS 10.15+
  • Linux

Supported Languages

JavaScript and TypeScript are supported out of the box.

Supported Testing Platforms

Sauce Labs supports the following test configurations for TestCafe:

TestCafe VersionNode.js VersionSupported PlatformsSupported BrowsersEnd of Life
3.5.020macOS: 11.00, 12, 13Safari, Chrome, Firefox, Microsoft EdgeJanuary 22, 2025
Windows: 10, 11Chrome, Firefox, Microsoft Edge
iOS: 13.4, 14.5, 15.4, 16.0, 16.1, 16.2Safari
3.4.020macOS: 11.00, 12, 13Safari, Chrome, Firefox, Microsoft EdgeDecember 6, 2024
Windows: 10, 11Chrome, Firefox, Microsoft Edge
iOS: 13.4, 14.5, 15.4, 16.0, 16.1, 16.2Safari
3.3.018macOS: 11.00, 12, 13Safari, Chrome, Firefox, Microsoft EdgeSeptember 28, 2024
Windows: 10, 11Chrome, Firefox, Microsoft Edge
iOS: 13.4, 14.5, 15.4, 16.0, 16.1Safari
3.2.018macOS: 11.00, 12, 13Safari, Chrome, Firefox, Microsoft EdgeAugust 31, 2024
Windows: 10, 11Chrome, Firefox, Microsoft Edge
iOS: 13.4, 14.5, 15.4, 16.0, 16.1Safari
3.0.118macOS: 11.00, 12, 13Safari, Chrome, Firefox, Microsoft EdgeAugust 1, 2024
Windows: 10, 11Chrome, Firefox, Microsoft Edge
iOS: 13.4, 14.5, 15.4, 16.0, 16.1Safari
2.6.218macOS: 11.00, 12, 13Safari, Chrome, Firefox, Microsoft EdgeJune 16, 2024
Windows: 10, 11Chrome, Firefox, Microsoft Edge
iOS: 13.4, 14.5, 15.4, 16.0, 16.1Safari
2.5.018macOS: 11.00, 12, 13Safari, Chrome, Firefox, Microsoft EdgeMay 11, 2024
Windows: 10, 11Chrome, Firefox, Microsoft Edge
iOS: 13.4, 14.5, 15.4, 16.0, 16.1Safari

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 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), check out our TestCafe reporter!

Limitations

Special Characters in Test Names

We recommend that you avoid using special characters when naming your tests. If your test name contains any special characters, your test may not run, or its artifacts may not be visible on our platform.

TestCafe 3.0.1 + Chrome/Edge + Sauce-Connect

When using Sauce-Connect, Chrome, and Edge browsers cannot load any website through the tunnel. It will behave as if there is no tunnel defined.