Hello Aaron. I would agree with you and others that Laravel ecosystem is super cool and powerful. Thanks for the informative video. One thing to notice though, the dusk is not built for someone actually stating at the screen while validating stuff etc, but rather take a big hit on the automation part while using the GUI and markup to identify required components of the page to be or not presented at a certain point. Having that said, you would like to have the fastest testing possible so the typeSlowly to me is just for the coders to view the process of their tests being executed at the time of development, but we should not forget to remove any slowdown parts to make sure the tests runs as quickly and lightly as possible. Btw, great video and thanks for the Laravel Ecosystems serie touching the entire "family". I myself will have to watch or revisit some of the members as we code and develop based on the project needs so sometimes staying away for a while requires you to get back on track by RTFM :)
Now Dusk seems extra powerful for webscraping, like you said. I'll have to give Dusk a go. I'm falling in love more and more with the Laravel Ecosystem by the day
3 месяца назад+1
You are the new Jeffrey way! That guy made a programmer and changed my life. I love this. Always wanted to learn this. Can you teach us golang now? 😂
11:30 since I'm coming from the JS ecosystem, I only wish that getting elements on the page had more "accessible" selectors. I personally like how react-testing-library and Playwright promote using more accessible selectors such as labels or placeholder text. That's how real users see fields and I think it's a really good approach to also test that your UI is accessible as well as asserting whatever you want. Of course there are times when you have to reach for data-* attribute selectors (or something else), but most of the time if you see that you have to use a weird selector to target an element, it's actively discouraged and can tell you that your UI isn't accessible and you can act on it and address it. Other than that I guess Dusk's strength is its super tight integration with Laravel. No other tool can match that.
Hey Aaron, this is really cool. Newbie question: at the end when you test the Reverb website, does that mean that I could, for example, build some kind of test application to test WordPress sites, for example, that are completely separate from the Laravel application that houses the Dusk test suite I'm running?
When I joined my last project, there were no tests. By chance, I came across Laravel Dusk at some point and we experimented with it a little and were thrilled. But then we ran into major problems that cost us a lot of time. The Chrome browser on our Windows development computers was automatically updated. As a result, we received an error message when running the tests that the version of the ChromeDriver did not match the version of the locally installed Chrome browser. So we always had to wait until there was a new, matching version. The customer didn't like this at all and stopped the implementation of the tests completely. Unfortunately, we were unable to find a solution to this problem.
Do we have tool or cli command for writing dusk test automatically? playwright and cypress do it well, you just have to do operations on page and it will write code for you automatically.
Hey Aaron , love your videos ... quick question how would you automate a registration process without using browser automation. I got asked in a test and i tried mimicking the post request using guzzle but just trying to be sure. Thanks you're amazing
Dusk is a nice setup. Though we have to use two builds on our pipeline, one for dusk and a second for prod. Anyway, I see you use light IDE, do you benefit something over dark?
Hi Aaron, could you please make a video about how you study before creating a video? I notice you use paper and markers, and I find that interesting because I do that too. Knowing more about your system could help me improve on what I'm doing for research or learning something new.
Laravel's ecosystem is so damn good!
I'll say!
Dusk is so powerful, and it is not just for testing. I remember using it back in the days during uni to automatically sign up for classes 😅
haha incredible
Omg! Aaron keep up reviewing all laravel packages, I will try dusk right now
what a timing on the video!! I am planning on integrating the Dusk into one of my open source projects today.
I was searching the best way to test filamentphp and I saw this!!, right on time. Thank you
Very cool example at the end. Thank you for going the extra mile to keep everyone engaged and pumped! 🚀
"when some product guy comes along... ...because that's how real users work"
That's savage and I'm here for it.
Hello Aaron.
I would agree with you and others that Laravel ecosystem is super cool and powerful. Thanks for the informative video. One thing to notice though, the dusk is not built for someone actually stating at the screen while validating stuff etc, but rather take a big hit on the automation part while using the GUI and markup to identify required components of the page to be or not presented at a certain point.
Having that said, you would like to have the fastest testing possible so the typeSlowly to me is just for the coders to view the process of their tests being executed at the time of development, but we should not forget to remove any slowdown parts to make sure the tests runs as quickly and lightly as possible.
Btw, great video and thanks for the Laravel Ecosystems serie touching the entire "family". I myself will have to watch or revisit some of the members as we code and develop based on the project needs so sometimes staying away for a while requires you to get back on track by RTFM :)
Quite good integration. Laravel really is a great framework with a ton of useful things.
18:38 this multiple browser thing would be good solution for testing real time messaging like things... I really loved it!
Yes totally!
I have been using an sharing info on Laravel dusk for many years now. Nothing better than Dusk to test a Laravel monolith.
You’re making everything look so damn easy I really love your videos. Also a real life example of everything that amazing ❤
This channel lately has made me want to play around with Laravel.... even though I haven't done web dev in like 5 years..
It's working...
Thanks, love this. I knew and wanted to play with Dusk, but never got to it. Thanks for exploring and showing various Laravel stuff to/for us.
Thanks 🙏 for such a useful tutorial 😊
Now Dusk seems extra powerful for webscraping, like you said. I'll have to give Dusk a go. I'm falling in love more and more with the Laravel Ecosystem by the day
You are the new Jeffrey way!
That guy made a programmer and changed my life.
I love this. Always wanted to learn this. Can you teach us golang now? 😂
Haha I don't know golang! So... probably not!
@@aarondfrancis perfect! we can learn with you, you didnt know laravel dusk before
11:30 since I'm coming from the JS ecosystem, I only wish that getting elements on the page had more "accessible" selectors. I personally like how react-testing-library and Playwright promote using more accessible selectors such as labels or placeholder text. That's how real users see fields and I think it's a really good approach to also test that your UI is accessible as well as asserting whatever you want.
Of course there are times when you have to reach for data-* attribute selectors (or something else), but most of the time if you see that you have to use a weird selector to target an element, it's actively discouraged and can tell you that your UI isn't accessible and you can act on it and address it.
Other than that I guess Dusk's strength is its super tight integration with Laravel. No other tool can match that.
Awesome Video Aaron, i Learnt a lot
clean, simple, rich information => thanks
Hey Aaron, this is really cool. Newbie question: at the end when you test the Reverb website, does that mean that I could, for example, build some kind of test application to test WordPress sites, for example, that are completely separate from the Laravel application that houses the Dusk test suite I'm running?
You absolutely could! Cool huh
When I joined my last project, there were no tests. By chance, I came across Laravel Dusk at some point and we experimented with it a little and were thrilled. But then we ran into major problems that cost us a lot of time. The Chrome browser on our Windows development computers was automatically updated. As a result, we received an error message when running the tests that the version of the ChromeDriver did not match the version of the locally installed Chrome browser. So we always had to wait until there was a new, matching version. The customer didn't like this at all and stopped the implementation of the tests completely. Unfortunately, we were unable to find a solution to this problem.
I'm surprised that a matching chrome driver wasnt released at the same time! That's a bummer. It should be more controllable in CI, presumably
I like Dusk! Thank you Aaron. My env settings DUSK_HEADLESS_DISABLED=true not worked. Any idea? I'm using Macos.
Do we have tool or cli command for writing dusk test automatically? playwright and cypress do it well, you just have to do operations on page and it will write code for you automatically.
Hey Aaron , love your videos ... quick question how would you automate a registration process without using browser automation.
I got asked in a test and i tried mimicking the post request using guzzle but just trying to be sure.
Thanks you're amazing
When i run it show error like TTY mode not supported on windows platform
Man you are just awesome!
I have an error: Failed to connect to localhost port 9515 after 0 ms: Connection refused running the command php artisan dusk on Ubuntu 24.04.1 LTS
Dusk is a nice setup. Though we have to use two builds on our pipeline, one for dusk and a second for prod. Anyway, I see you use light IDE, do you benefit something over dark?
Hi Aaron, could you please make a video about how you study before creating a video? I notice you use paper and markers, and I find that interesting because I do that too. Knowing more about your system could help me improve on what I'm doing for research or learning something new.
Huh that might interesting. Maybe a better blog post but we'll see!
Laughing while learning something new to me. haha thanks man
🫡 happy to help! And entertain!
Waiting for scraping part 🕸🕷
Incredible video!
Is there a way to record (video) Laravel Dusk test sessions?
Hmmm that's a good question. Not that I can think of!
What a into animation 😱
It is super cool!
is this like Playwright but inside a Laravel app?
Yeah kinda!
I have used Playwright before dusk, and believe me, they're different worlds in terms of laravel integration and mainly Speed
I love you Aaron ❣️
When you gonna switch to dark theme?
Whenever I want
📣 that's why he's the GOAT
Can you do video on single page application
Laravel should have this kind of videos of all the stuff as its documentation is the weakest.
Thanks for amazing work!
Dusk is really amazing, but the syntax is verbose, it would be perfect if it were Pest-style, with a Testing Library-style syntax
Sounds like a fun package for you to make! 👀
nice
I like ya cut g
So it’s like Cypress
A bit reductive, but sure
lalarara laravel
First
PHP for browser automation feels wrong
And yet, so right
Are you getting paid by Laravel?