Playwright - Azure DevOps
Running Playwright test in parallel on Azure DevOps and Currents Dashboard
Last updated
Running Playwright test in parallel on Azure DevOps and Currents Dashboard
Last updated
Currents can use the native 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 https://github.com/currents-dev/playwright-azure-devops-example
showcases using 3 Azure DevOps containers to allow parallel execution of the test using 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
Create or modify an existing , and add a new secret variable called CURRENTS_RECORD_KEY
with your Record Key.
Include your Project Id in an env variable called CURRENTS_PROJECT_ID
in your pipeline configuration.
Ensure the package has been integrated into your tests.
Modify your azure-pipelines.yml
file to run the tests and use one of the 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.
Here's an example of how the demo workflow appears in the Currents dashboard