I use the ntlm-auth plugin with my cypress tests because they run in an internal application. I was getting cert errors, so I used set NODE_TLS_REJECT_UNAUTHORIZED=0. This worked fine locally, but when I set it in build steps in team city in powershell, my tests are getting the 504 gateway error again. See the code below
set NODE_TLS_REJECT_UNAUTHORIZED=0
set DEBUG=cypress:plugin:ntlm-auth
I use the ntlm-auth plugin with my cypress tests because they run in an internal application. I was getting cert errors, so I used set NODE_TLS_REJECT_UNAUTHORIZED=0. This worked fine locally, but when I set it in build steps in team city in powershell, my tests are getting the 504 gateway error again. See the code below
set NODE_TLS_REJECT_UNAUTHORIZED=0 set DEBUG=cypress:plugin:ntlm-auth
npm run ntlm-proxy