Running Playwright Tests in Azure DevOps

As a software engineer in test, you’re probably familiar with the Playwright testing framework. It’s a popular JavaScript library for writing different types of tests. If you’re looking to run your Playwright tests in Azure DevOps, this post is for you. I’ll show you how to set up a pipeline that will automatically run your tests every time you push code to your repository. And I’ll show you how to create an Azure Pipelines task that will compile your TypeScript code before running the tests. Let’s get started!

Below is a working YAML file that will run Playwright TypeScript in Azure:

Find out how our clients are running automation 66% faster!
Get your Free framework assessment.

ℹ️ We have limited space for only 1 assessment per quarter