Configuring Cucumber + Playwright with Microsoft Playwright Testing Service
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?