Closed akeeramp closed 1 year ago
Can you reach the site successfully when opening a browser manually on the virtual machine? If you run the tests without cypress-ntlm, do you get a 401 or the same socket exception?
On Mon, Jan 30, 2023 at 4:25 AM akeeramp @.***> wrote:
We are having an application using window authentication and we are using cypress-ntlm to run the test. Every time we run the test from a virtual machine it fails and working fine in local machine. The config and setup are same as the local machine in VM. [image: MicrosoftTeams-image] https://user-images.githubusercontent.com/94591893/215380936-6f5fc52c-9551-45ca-a372-73012c0d85be.png
Below is the code we are using.
describe('Testing',()=>{ it('Opening Website... ',()=>{ cy.ntlmReset(); cy.ntlmSso(['*.internaldomain.com']) cy.visit('https://internalWebsite.internaldomain.com/',{timeout https://internalwebsite.internaldomain.com/',%7Btimeout: 1800000}); Cypress.on('uncaught:exception',(err,runnable)=>{ return false }) })})
Cypress Version cypress:10.11.0 , cypress-ntlm-auth:4.1.1
Node version v14.15.4
Operating System Windows
— Reply to this email directly, view it on GitHub https://github.com/bjowes/cypress-ntlm-auth/issues/226, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCHR3H52CXOUMLM75SD5MTWU4YDZANCNFSM6AAAAAAUKUTJOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Can you reach the site successfully when opening a browser manually on the virtual machine? YES If you run the tests without cypress-ntlm, do you get a 401 or the same socket exception? yes we get 401
Ok, then I would need to see debug logs to troubleshoot this further. See the readme in the repo for instructions.
Also, is any corporate proxy in use when accessing the site under test (or any resources that the site uses)?
tis 31 jan. 2023 kl. 06:31 skrev akeeramp @.***>:
Can you reach the site successfully when opening a browser manually on the virtual machine? YES If you run the tests without cypress-ntlm, do you get a 401 or the same socket exception? yes we get 401
— Reply to this email directly, view it on GitHub https://github.com/bjowes/cypress-ntlm-auth/issues/226#issuecomment-1409782744, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCHR3HAITDXALC5TOMBGIDWVCPSZANCNFSM6AAAAAAUKUTJOI . You are receiving this because you commented.Message ID: @.***>
-- /Björn W
Skickat från min iPhone
Closed due to lack of activity
We are having an application using window authentication and we are using cypress-ntlm to run the test. Every time we run the test from a virtual machine it fails and working fine in local machine. The config and setup are same as the local machine in VM.
Below is the code we are using.
describe('Testing',()=>{ it('Opening Website... ',()=>{
cy.ntlmReset();
cy.ntlmSso(['*.internaldomain.com'])
cy.visit('https://internalWebsite.internaldomain.com/',{timeout: 1800000});
Cypress.on('uncaught:exception',(err,runnable)=>{
return false }) })})
Cypress Version cypress:10.11.0 , cypress-ntlm-auth:4.1.1
Node version v14.15.4
Operating System Windows