microsoft / playwright-testing-service

MIT License
70 stars 10 forks source link

Request: info how to use a Playwright service testing a Private endpoint enabled service #111

Open kedar-1 opened 2 weeks ago

kedar-1 commented 2 weeks ago

Is your feature request related to a problem? Please describe. Is it possible to use a Playwright Testing Service to test an app running on Azure vnet not accessible from Internet?

Describe the solution you'd like A wiki page about how to use a Playwright in Vnet with Private Endpoint enabled Static Web App.

Describe alternatives you've considered Settings on playwright framework?

vvs11 commented 2 weeks ago

Yes, you can run test your apps that are not pubic using Microsoft Playwright Testing. To do this you need to:

  1. Make sure that your app is accessible from the local machine/CI machine from where you are running your tests
  2. Enable 'expose-network' setting in the Playwright service config. You can read more about it here

Please try these steps and let us know if you face any issues.