New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow to configure proxy via env var #761
Conversation
I like the idea, but |
That's a tricky question. I choose |
Ok, now the tests should finally pass. |
Do you know why travis test failed although it look like a success?
|
It failed already at running the code style checks:
Travis-CI runs all tests regardsless of prior suites failing. That can be confusing to spot the actual failure, but it avoids chasing from one failing suite to the next. |
Ohh yes, I missed that. Thanks! Hope now it will pass... |
Now it finally passed, let me know if you want me to change the name of the env var :) |
Looks good, will try the behavior in proxied corp. environment after merging! 👍 If you want to try your luck with API tests, here might be a solution: vlucas/frisby#363 |
By looking on the issue, we either need to that per file, or create frisby in one file, and reuse the same instance in all tests. Am I right? |
* Fix /user page for users without teams (e.g. user mode)
This thread has been automatically locked because it has not had recent activity after it was closed. 🔒 Please open a new issue for regressions or related bugs. |
As part of a session I'm doing, I wanted to demo Zap capabilities as DAST solution. The best test case is, of course, juice shop. So I added a small change that will allow to run the existing e2e tests and scan them with Zap. All that is now required is to run:
And the e2e will be proxied via Zap (assuming
http://localhost:8080
is Zap's proxy endpoint).Is this something that you would like to merge? Do you want me to add a small docker compose file that will run everything in compose?
BTW I tried to proxy the API tests, but I couldn't find how to control firsby proxy behavior. I managed to do it only by changing the tests code, but this is pretty ugly and not something I think should merged.
Soluto/webdriverio-zap-proxy/issues/6