Project Overview
This package ensures Playwright test shards are evenly distributed based on execution time, so each shard finishes in roughly the same duration. It optimizes resource utilization and minimizes total test run time by balancing the load across all shards.
Problem
When using Playwright to run tests with multiple shards, the test execution time may not be distributed evenly across shards. This leads to inefficient use of resources and longer overall test completion times.
Solution
The npm package was built to optimize the distribution of tests across shards. It ensures that the total execution time is divided more equally between shards, maximizing resource utilization and reducing overall test duration. Additionally, it helps track test execution time, providing better insights for test optimizations.
Integration
How you can integrate this package with your Playwright Tests suites