Published: August 29, 2025
7
7
155

It's hard to express just how wild and seamless this, thanks to @pestphp v4. This is a browser/acceptance test. It opens a real browser. But I can still perform setup, assertions, create fakes...just as I would if I were running a unit test.

Image in tweet by Jeffrey Way

Or let's say I'm not sure what I expect to happen next... I can call ->debug() to switch to the browser in the exact state as where I called debug(). I can do what needs to done, and then press enter to continue the test.

Image in tweet by Jeffrey Way

@jeffrey_way @pestphp How do you test pages behind auth middleware? I see there is $this->signIn().

@njoguamo @pestphp Just log the user in as you normally would. That's the beauty of it. You don't have to do anything differently. Something like: actingAs(User::factory()->create());

@jeffrey_way @pestphp For those of you always asking if you cooked. Maybe you did. Maybe you didn’t. @enunomaduro cooked

@jeffrey_way @pestphp I'm amazed at how it handles component loading without needing wait times! I love how you let us join the journey as you figure things out on camera.

@jeffrey_way @pestphp Game changing for those of us who have been maintaining massive acceptance testing suites

@jeffrey_way @pestphp Amazing. I remember trying to expose things in my API when in local mode, so that I could set up the world within cypress. It's going to be crazy to move from js, back to PHP for e2e testing after all these years 🥲

Bifrost is our build service Similar to what EAS is to Expo and React Native Only a couple of days left to lock in our (heavily discounted!) early bird pricing

Laravel isn’t just a framework. It’s the reason I was able to build and scale products to millions in revenue. Huge thanks to @laravelphp 🚀

Here's a preview of KatanaUI. A flexible and customizable Laravel Blade component library 🎨 Still could be a few months out, just working on it while I knock out client work 😁 Fun stuff!

The Bifrost is About to Open https://laravel-news.com/the-b... posted by @simonhamp

Share this thread

Read on Twitter

View original thread

Navigate thread

1/12