Level 20
Got it working. Turns out Cypress takes a look at your .bash_profile. I removed commands one by one until I found the one it didn't like.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm watching the video on Cypress.
https://laracasts.com/series/whatcha-working-on/episodes/39
At the 27:45 mark, Jeffrey adds this code:
beforeEach(() => {
cy.exec('php artisan migrate:fresh --env=acceptance')
})
When I run my tests it just hangs and I get this error, does anyone know why this might be?
cy.exec('php artisan migrate:fresh --env=acceptance') timed out after waiting 60000ms
I'm using Laravel 7 and Cypress 4.4.1 installed via yarn.
Got it working. Turns out Cypress takes a look at your .bash_profile. I removed commands one by one until I found the one it didn't like.
Please or to participate in this conversation.