You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From https://docs.cypress.io/api/commands/visit#Syntax:
Cypress will prefix the URL with the baseUrl configured in your network options if you've set one.
From cypress.json:
"baseUrl": "http://localhost:8080/exist/apps/doc/"
So cy.visit(‘.’) was causing cypress to request:
http://localhost:8080/exist/apps/doc/.
I’m not able to simulate this request, so I can’t reproduce it to see eXist returning an application/xml content-type header, but it’s clear that removing the period ensures the request goes to the intended URL:
http://localhost:8080/exist/apps/doc/
0 commit comments