Playwright - GitHub Actions
Running Playwright in Parallel on GitHub Actions using Matrix Workflow
TL;DR Check out the example repository:
Currents uses the native Playwright Sharding to split the tests between multiple containers. Currents will collect the results from distributed runs, together with the generated artifacts for more efficient troubleshooting and providing insights into the test suite performance:
console output
screenshots
videos
traces
The example repository https://github.com/currents-dev/playwright-gh-actions-demo
showcases running Playwright tests in parallel using GitHub Actions.
Here's an example configuration file:
We've included 3 different config files to exemplify the workflows:
The example workflow test-basic-reporter.yml runs 3 containers with Playwright tests in parallel.
The example workflow full-parallel-prod.yml runs 5 shards in full parallel mode.
The example workflow test-or8n.yml runs orchestrated tests
Note: create an organization, get your record key on Currents.dev and set GH secret variable
CURRENTS_RECORD_KEY
Here's an example of how the first demo workflow appears in Currents dashboard:
Last updated