Running Playwright Tests in Azure DevOps (TypeScript)

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:

--

--

Nikolay Advolodkin

Nikolay Advolodkin is a self-driven SDET on a lifelong mission to create profound change in the IT world and ultimately leave a legacy for his loved ones