CI Optimization
A guide on optimizing Playwright tests in CI for better efficiency
Currents offers several ways to speed up and optimize your CI pipeline. Whether you’re just starting with basic test sharding or looking to squeeze every bit of efficiency from your infrastructure, the following strategies can help you reduce runtime, cut costs, and make test results more actionable.
Speed up CI by running Playwright tests in parallel — start with sharding and switch to Currents Orchestration for more efficient use of resource. See Playwright Parallelization.
Reduce CI costs by utilizing Cloud Spot Instances — orchestration allows dynamically reroute tests from a to-be-terminated to a healthy instance. See Cloud Spot Instances.
Enable Playwright Fully Parallel Mode — run tests from the same test file in parallel using all the available CPUs. See Fully Parallel Mode.
Explore Load Balancing Strategies — run frequently failing or flaky tests first with Currents Orchestration. See Failing Fast.
Rerun only failed tests — see Re-run Only Failed Tests
Last updated
Was this helpful?