Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

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? (29 h 14 min)

You also get:

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

Already a member? Login here

Comments & Discussion

J
jacm ✓ Link copied!

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

PK
Povilas Korop ✓ Link copied!

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.

DV
Daniela Venegas ✓ Link copied!

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

PK
Povilas Korop ✓ Link copied!

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.

SL
self learn ✓ Link copied!

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