ArnaudBuchholz / ui5-test-runner

A test runner for UI5 applications enabling parallel execution of tests.
https://arnaudbuchholz.github.io/ui5-test-runner/
MIT License
18 stars 9 forks source link

Enable proxy #31

Closed ArnaudBuchholz closed 1 year ago

ArnaudBuchholz commented 2 years ago

In some situations, the UI5 mock server can't be used and a real mock server is required to run the tests. Unfortunately, ui5-test-runner relies on its own web server (in particular to enable code coverage by substituting source files). If the mock server supports CORS and the application can redirect the backend calls to it easily, that's OK but, otherwise, ui5-test-runner must provide a way to redirect some calls transparently to the mock server.

ArnaudBuchholz commented 2 years ago

using-http-proxy-with-puppeteer

ArnaudBuchholz commented 2 years ago

Need to change the command line integration to detect if proxy is available (capabilities)

ArnaudBuchholz commented 1 year ago

Fixed with V2 : it will be possible to rely on an external web server