o cypress está retornando o seguinte erro de conexao ao executar
cy.visit() failed trying to load:
http://localhost:4200/%/home
The response we received from your web server was:
> 400: Bad Request
This was considered a failure because the status code was not 2xx.
If you do not want status codes to cause failures pass the option: failOnStatusCode: false
Because this error occurred during a before each hook we are skipping the remaining tests in the current suite: Página de login
meu código esta dessa forma:
describe('Página de login', () => {
beforeEach(() =>{
cy.visit('http://localhost:4200/%/home')
})
it('Preencher os campos do login corretamente para realizar login', () =>{
cy.login('jonasc', 'jonas123');
})
})