Jeez, after tons of messing with this... I figured it out. I must have had a bad APP_KEY in the cypress env file. I just thought to swap it and sure enough it cleared the error. Sheeesh!
Feb 25, 2022
1
Level 67
Laracasts/Cypress 419 on config:clear after hook
Opened an issue for this here: https://github.com/laracasts/cypress/issues/49
Thought I'd see if anyone has run into this or has any suggestions. I'm stumped.
TL:DR; I have a repo that already contains Dusk tests and wanted to drop laracasts/cypress in to start converting some tests to it. For some reason, I wrote one simple test (which IS PASSING) but I keep getting this 419 error every time. Does anyone know why/how to fix this?
Stack trace points to tests/cypress/support/laravel-commands.js:261 return cy.request()
Level 67
Please or to participate in this conversation.