Reputation: 39
I am trying to use Azure DevOps TestPlans in our organisation but I didn't find any option to run my Playwright tests in Azure Test Plans.
Any suggestions if I can somehow manage to execute my playwright tests?
I am expecting to run my automated tests (playwright tests) in Azure DevOps Test Plans.
I tried creating a release pipeline and was able to execute my tests there but when I am trying to execute tests using Test Plans, I am getting this message:
Upvotes: 3
Views: 2363
Reputation: 808
You cannot able to execute the playwright test cases using Test Plan as we are not able to link playwright test case with azure test case. you have to execute the whole test cases using the command line or you can group test cases and execute the group test cases.
For Group test case execution: https://playwright.dev/docs/test-annotations#group-tests
For execution using command line: npx playwright test --workers=4 --retries=1
Upvotes: 1