Support the ongoing development of Laravel.io →
posted 8 years ago
Testing

I'm trying to get a Behat environment setup within Laravel which is able to test a Laravel application with javascript.

I've landed on zombie.js as a virtual browser which seems fast.

It works perfectly for all simple browser tests (including javascript) but fails as soon as I test anything which requires authentication. Any pages behind authentication return as though the user is a guest (usually a 403 error).

Is anyone else using this setup? Has anybody else had this problem? Can anyone help?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

simonhunt simonhunt Joined 14 Jan 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.