Skip to content

currents-dev/playwright-azure-devops-example

🎭 Currents - Playwright - Azure DevOps

This repository showcases running Playwright tests on Azure DevOps, while using Currents as the reporting dashboard.

Documentation

The repo contains a few Playwright tests with one test that always fails (intentionally). The example configuration files use Matrix Execution Strategy to run 3 containers for parallelization.

To reproduce the setup:

  • 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_KEY with your Record Key.
  • Include your Project Id in an env variable called CURRENTS_PROJECT_ID in your pipeline configuration

See the example Azure pipeline configuration:

Additional resources:

Results

The results are being reported to Currents for more efficient troubleshooting, and monitoring test suite flakiness and performance.

Currents will collect the following information:

  • console output
  • screenshots
  • videos
  • trace files
  • timing
  • outcomes
  • flaky tests
  • error details
  • tags for more convenient management of the tests

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published