Configuring Cucumber + Playwright with Microsoft Playwright Testing Service

vinay kumar 0 Reputation points
2025-03-24T10:30:21.18+00:00

I'm working on two projects that use different frameworks:

One project utilizes the Playwright framework.

The other combines Cucumber with Playwright.

The goal is to run both projects on the Microsoft Playwright service.
https://azure.microsoft.com/en-us/products/playwright-testing

The Playwright framework integrates seamlessly with the Playwright service. However, I'm facing issues with the second project that uses the Cucumber + Playwright framework.

In this project, I've set up cucumber.json as the configuration file and am using Cucumber-js as the execution command. When attempting to configure this project to work with the Playwright service, it does not function as expected. I've tried creating a dummy Playwright config file and adding a service config file on top of it, but despite following all instructions, the tests will not run on the Playwright service, even though they execute properly in the local environment.

Has anyone encountered a similar issue or can provide guidance on configuring the Playwright service for a Cucumber + Playwright setup?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
43,330 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.