Skip to content
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

Cypree-ntlm in circle ci #207

Closed
Rashminair88 opened this issue Aug 5, 2022 · 4 comments
Closed

Cypree-ntlm in circle ci #207

Rashminair88 opened this issue Aug 5, 2022 · 4 comments

Comments

@Rashminair88
Copy link

Rashminair88 commented Aug 5, 2022

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

@bjowes
Copy link
Owner

bjowes commented Aug 5, 2022 via email

@Rashminair88
Copy link
Author

Rashminair88 commented Aug 8, 2022

Hello,

Hope you have a nice trip.

I am using 4.0.2 version of cypress-ntlm-auth.

But still have this error

Thanks!

@bjowes
Copy link
Owner

bjowes commented Aug 16, 2022

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.

@Rashminair88
Copy link
Author

Rashminair88 commented Aug 18, 2022

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!

@bjowes bjowes closed this as completed Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants