cypress
cypress copied to clipboard
Receiving error: http://localhost:8000/cypress/artisan - 419: Unknown Status Code
I'm running into this error when trying to run Cypress.
cy.request() failed on:
http://localhost:8000/cypress/artisan
The response we received from your web server was:
> 419: Unknown Status Code
This was considered a failure because the status code was not 2xx or 3xx.
If you do not want status codes to cause failures pass the option: failOnStatusCode: false
Has anyone encountered this? Any thoughts on how to get around it?
I had an 419 and it was because of a missing session. Ensure that you are not testing with SESSION_DRIVER=array.
@marcoraddatz Thank you! 🚀 I was using array, and it was indeed causing the problem in the beforeAll calls. I settled on file to keep it simple.