microsoft / playwright-testing-service

MIT License
83 stars 13 forks source link

Whitelisting IP range of Playwright Testing Service #101

Closed marlowp closed 6 months ago

marlowp commented 6 months ago

Is your feature request related to a problem? Please describe. The environment the tests need to execute against is not publicly accessible. Is it possible to determine the IP range of the Playwright Testing Service so it can be added to the whitelist?

Describe the solution you'd like When I view my Playwright Testing Service Workspace in Azure there is a section detailing the IP ranges the workspace will use.

Describe alternatives you've considered I've seen the discussion on #74 regarding setting the exposeNetwork config to "*". Does this essentially mean the service proxies the requests via the client? In my case the client is a Microsoft-Hosted Agent in ADO and that agent can be given access to the environment so that method should work, however, that ticket does mention the potential for a performance hit using this method.

AB#2017178

vvs11 commented 6 months ago

Hi @marlowp Thanks for writing to us. The IP ranges that the service use are documented here: https://learn.microsoft.com/en-us/azure/playwright-testing/resource-limits-quotas-capacity#outbound-ip-addresses

marlowp commented 6 months ago

Thanks @vvs11.