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 Version | Node.js Version | Supported Platforms | Supported Browsers | End of Life |
---|---|---|---|---|
3.3.0 | 18 | macOS: 11.00, 12, 13 | Safari, Chrome, Firefox, Microsoft Edge | September 28, 2024 |
Windows: 10, 11 | Chrome, Firefox, Microsoft Edge | |||
iOS: 13.4, 14.5, 15.4, 16.0, 16.1 | Safari | |||
3.2.0 | 18 | macOS: 11.00, 12, 13 | Safari, Chrome, Firefox, Microsoft Edge | August 31, 2024 |
Windows: 10, 11 | Chrome, Firefox, Microsoft Edge | |||
iOS: 13.4, 14.5, 15.4, 16.0, 16.1 | Safari | |||
3.0.1 | 18 | macOS: 11.00, 12, 13 | Safari, Chrome, Firefox, Microsoft Edge | August 1, 2024 |
Windows: 10, 11 | Chrome, Firefox, Microsoft Edge | |||
iOS: 13.4, 14.5, 15.4, 16.0, 16.1 | Safari | |||
2.6.2 | 18 | macOS: 11.00, 12, 13 | Safari, Chrome, Firefox, Microsoft Edge | June 16, 2024 |
Windows: 10, 11 | Chrome, Firefox, Microsoft Edge | |||
iOS: 13.4, 14.5, 15.4, 16.0, 16.1 | Safari | |||
2.5.0 | 18 | macOS: 11.00, 12, 13 | Safari, Chrome, Firefox, Microsoft Edge | May 11, 2024 |
Windows: 10, 11 | Chrome, Firefox, Microsoft Edge | |||
iOS: 13.4, 14.5, 15.4, 16.0, 16.1 | Safari | |||
2.3.1 | 16 | macOS: 11.00, 12, 13 | Safari, Chrome, Firefox, Microsoft Edge | Mar 01, 2024 |
Windows: 10, 11 | Chrome, Firefox, Microsoft Edge | |||
iOS:13.4, 14.5, 15.4, 16.0, 16.1 | Safari | |||
2.2.0 | 16 | macOS: 11.00, 12, 13 | Safari, Chrome, Firefox, Microsoft Edge | Jan 15, 2024 |
Windows: 10, 11 | Chrome, Firefox, Microsoft Edge | |||
iOS:13.4, 14.5, 15.4, 16.0, 16.1 | Safari | |||
2.1.0 | 16 | macOS: 11.00, 12, 13 | Safari, Chrome, Firefox, Microsoft Edge | Nov 30, 2023 |
Windows: 10, 11 | Chrome, Firefox, Microsoft Edge | |||
iOS: 13.4, 14.0, 14.3 | Safari |
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 theconfig.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.