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? (30 h 41 min)

You also get:

55 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

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.