Summer Sale! All accounts are 50% off this week.

fylzero's avatar
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()

0 likes
1 reply
fylzero's avatar
fylzero
OP
Best Answer
Level 67

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!

Please or to participate in this conversation.