microsoft / playwright-testing-service

MIT License
88 stars 14 forks source link

env variable to toggle MPT service #108

Open puagarwa opened 6 months ago

uday2029 commented 6 months ago

Hi @puagarwa, sorry to ask this question in this window. I have integrated, Microsoft playwright testing service integration into my project using NUnit/Playwright/C#. I'm able to run the code in the cloud, its working fine for me. But the issue is with NumberOfTestWorkers. I'm not able to run more than 1 worker. I have given configuration in .runsettings as well. Can you please help me on this.

Sid200026 commented 6 months ago

Hi @uday2029, for NUnit, you can refer to the below documentations for configuring number of parallel workers. There's some limitations as well (outlined in the below links) on configuring parallel workers for NUnit.

https://github.com/microsoft/playwright-testing-service/tree/main/samples/.NET/NUnit#run-tests https://playwright.dev/dotnet/docs/test-runners#running-nunit-tests-in-parallel

If the issue still persists, feel free to open an issue with additional details so that we can help you out.