Closed Rashminair88 closed 1 year ago
Hi, I’m currently traveling so I have limited ability to support, but this seems related to the certificate validation feature added in 4.0 of the plug-in (when all certificates were accepted by default). If you haven’t changed the settings for certificate validation it should not fail the test, but if you have changed it to strict mode it will fail the test. Please check the docs and play around with that setting to see if it helps.
fre 5 aug. 2022 kl. 20:54 skrev Rashminair88 @.***>:
Hello,
I am trying to run cypress-ntlm in circle ci I am getting following error [image: image] https://user-images.githubusercontent.com/96204241/183142627-89b85dc2-b129-499c-b4f2-c4e2c54ba3cb.png .
for running on circle ci I am using this const results = await cypressNtlmAuth .run({ spec: path, })
Can you please help me figure out whats the issue?
Note: The scripts works fine in my local with this node command: node runWithReports.js cypress/e2e/API/ql/origination/purchaseCARI.api.spec.js
Thanks, Rashmi
— Reply to this email directly, view it on GitHub https://github.com/bjowes/cypress-ntlm-auth/issues/207, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCHR3ABJ4ORB7LHE5NSWTTVXVPOPANCNFSM55W7HCUA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- /Björn W
Skickat från min iPhone
Hello,
Hope you have a nice trip.
I am using 4.0.2 version of cypress-ntlm-auth.
But still have this error
Thanks!
Now I am back from travelling so lets investigate!
The log message that you see from cypress-ntlm-auth is actually just a warning. The host rhbeta.rktfoc.com cannot be found (I tried to resolve it myself and it does not exist). This means that some resource that is being loaded from your site cannot be found. In some cases this will fail the test in cypress.
I presume that when you run your tests locally, the DNS you connect to matches rhbeta.... to some local server on your network. But when you run this from Circle CI (or any other online test runner), it is executed from a client in the cloud. If rhbeta... is not publicly accessible, a cloud client simply won't find it.
Hope you had a wonderful vacation. Yeah these are internal sites and not exposed to public. That might be the reason. Thanks for the reply!. Appreciate it!
Hello,
I am trying to run cypress-ntlm in circle ci I am getting following error
for running on circle ci I am using these commands: const results = await cypressNtlmAuth .run({ spec: path, })
Can you please help me figure out whats the issue?
Thanks, Rashmi