cypress-ntlm-auth | Windows authentication plugin for Cypress | UI Testing library
kandi X-RAY | cypress-ntlm-auth Summary
kandi X-RAY | cypress-ntlm-auth Summary
Windows authentication plugin for Cypress
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cypress-ntlm-auth
cypress-ntlm-auth Key Features
cypress-ntlm-auth Examples and Code Snippets
Community Discussions
Trending Discussions on cypress-ntlm-auth
QUESTION
I'm just trying to write tests for one of the applications which is protected with windows authentication.
But I'm blocked by an error received when Cypress tries to open the application.
I can run the application on my localhost without any issues using chrome. When I run the application it takes my windows loging infor and validated as authorized user.
However, when try to open the site using Cypress I get 401. I suspect this is due to Cypress runner runs test under a different account( I'm guessing) which is not valid windows user account hence returns 401.
Below is the screen shot of the failure test.
Does anyone has any idea how I can fix this issue and move forward with writing my other tests?
Please do contact me if you require clarifying anything with regard to this.
Appreiciate your prompr reply in this regard.
RSF
UPDATE:
@soccerway, answer helped me to get it working. Also Please visit below for more info: https://github.com/bjowes/cypress-ntlm-auth/blob/master/README.md
...ANSWER
Answered 2019-Aug-05 at 12:40Could you please refer the following cypress-ntlm-auth
plug-in for windows authentication. Also refer the below link;
https://www.npmjs.com/package/cypress-ntlm-auth
Try the following syntax:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cypress-ntlm-auth
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page