Skip to main content

Edit Product: Testing correct values in form inputs

Premium
4:14

The Full Lesson is Only for Premium Members

Want to access all of our courses? (36 h 00 min)

You also get:

61 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

jacm avatar

Hello,Thanks for the class, do you have any test examples like the one in this lesson but with Livewire? and with 2 cases, one like this that the values appear in the Edit view and another if they are inside a modal

Povilas Korop avatar

I don't have any specific examples for Livewire, sorry, I didn't cover that topic because I guess it's all well covered in Livewire documentation itself.

Daniela Venegas avatar

What happens if you use vue for the frontend, would this work anyway?

Povilas Korop avatar

It depends on what you want to test. Laravel testing does not test JavaScript code directly, so probably it wouldn't work the same way.

self learn avatar

maybe you can use browser test https://laravel.com/docs/10.x/dusk

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.