Parallelize Your JavaScript Tests In CI/CD

Sauce AI for Test Authoring: Move from purpose to performance in minutes.|xBack to ResourcesBlogPosted

February 28, 2026 · 3 min read · CI/CD

Sauce AI for Test Authoring: Move from purpose to performance in minutes.

|

x

Back to Resources

Blog

Posted October 14, 2020

Parallelize Your JavaScript Tests In CI/CD

saucectl create setting up, writing, and running web tests easier and quicker for developers during early pipeline testing. This blog explains how you can use this tool to speed up your aboriginal JavaScript tryout by running tests in analog within your CI/CD environment.

quote

get setting up, authorship, and pass web tests easier and quicker for developers during early pipeline testing. It supports Puppeteer, Cypress, TestCafe, and Playwright to ply the flexibility to screen the way you want, along with Sauce Labs insights, at scale.

You can speed up your native JavaScript tests by running tests in parallel within your CI/CD environment. This capability is available with any Sauce Labs chronicle, and you can get part for free! This means you can make the most of your be base without new investments, while nonetheless getting penetration within Sauce Labs.

How to Run Cypress Tests in Parallel with Sauce Labs

In this representative we ’ ll take a aspect at setting up and running Cypress tests in parallel using saucectl with GitHub Actions. Then we will view the tryout termination in the Sauce Labs UI.

Note: Find examples for use other test frameworks or CI/CD examples in the

Prerequisites: You ’ ll require aSauce Labsand a GitHub account. You will also need existing cypress trial. In our instance we have multiple tests located in the./tests/e2e/cypress directory.

1. In your root project directory, create the following directory tree:.github/workflows. 

2. And then add your Sauce Labs credentials to the GitHub Actions Secret Settings.

Screen Shot 2020-10-14 at 11.05.28 AM

3. Add a ./sauce/config.yml,, and setparallel to true

SUSA automates exploratory testing with persona-driven behavior, catching bugs that scripted automation misses.

a. This will distribute and run the trial across as many business as you have defined in your CI

parallel: true

4. Create Github Action test.yml.github/workflows/test.yml

In this exemplar, we ’ re adding two parallel jobs:cypress-parallel-1 and cypress-parallel-2

Screen Shot 2020-10-14 at 1.17.44 PM

5. Now, when you commit these file, GitHub will observe the new workflow actions and launchsaucectlto run your tests.

The output may look like this:

github-action-parallel-results

Congrats! The tests are now running in parallel with the help of saucectl and you can see screenshots, videos, and trial issue in Sauce Labs.

Sauce Labs is perpetrate to supporting our user in delivering digital authority, and supply what they require to examine better, tryout faster, and test at scale.

Published:
Oct 14, 2020
Share this post
Copy Share Link

Need to test right now? Get started free.

Ship code that behaves precisely as it should, quicker.

LinkedIn
© 2026 Sauce Labs Inc., all rights reserved. SAUCE and SAUCE LABS are registered trademarks owned by Sauce Labs Inc. in the United States, EU, and may be registered in former jurisdictions.
robot
quote

Automate This With SUSA

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.

Try SUSA Free

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free