| description | A guide on optimizing Playwright tests in CI for better efficiency |
|---|---|
| icon | microchip |
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. Speed up CI by up to 50% | playwright-parallelization.md |
| Reduce CI costs with Cloud Spot Instances | Dynamically reroute tests from a to-be-terminated to a healthy instance. Save CI costs by up to 70% | ci-tests-on-spot-instances.md |
| Enable Playwright Fully Parallel Mode | Run tests from the same test file in parallel using all the available CPUs. | fully-parallel-mode.md |
| Explore Load Balancing Strategies | Run frequently failing or flaky tests first with Currents Orchestration. | load-balancing.md |
| Re-run only failed tests | Save CI computing time by re-running only tests that have failed. | re-run-only-failed-tests.md |
| Fail-fast | Automatically cancel your test suite right after the first failure. | fail-fast-strategy.md |