Azure DevOps
Running Playwright test in parallel on Azure DevOps and Currents Dashboard
Currents can use the native Playwright Sharding to split the tests between multiple containers. The results from distributed runs will be collected together with the generated artifacts to provide insights into test suite performance.
The example repository uses 3 Azure DevOps containers to allow parallel execution of the test showcasing Currents as a reporting service.
Connect a new/existing Azure Pipeline to a repository containing your Playwright tests.
Create an organization, get your Record Key and Project Id at https://app.currents.dev
Create or modify an existing Variable Group, and add a new secret variable called
CURRENTS_RECORD_KEYwith your Record Key.Include your Project Id in an env variable called
CURRENTS_PROJECT_IDin your pipeline configuration.Ensure the @current/playwright package has been integrated into your tests.
Modify your
azure-pipelines.ymlfile to run the tests and use one of the example pipeline files as a reference.
Here's an example pipeline file:
Pipeline executions will be recorded and available in the Currents Dashboard, and test results and artifacts will be automatically uploaded.


Last updated
Was this helpful?