I am facing an issue in Cypress.io, when I load local URL it gives an error every time. I have even added the { "baseUrl": "http://localhost:4200" } in cypress.json file as mentioned in the official documentation.
Following are my couple of test scripts:
it('successfully loads', () => {
cy.visit('http://localhost:4200/') // change URL to match your dev URL
})
it('successfully load', () => {
cy.visit('/') // change URL to match your dev URL
})
