Transcript
00:00 The component task you have right now already gives you some value, but it can give you more. All it does right now is locates the elements on the page and make sure that they are visible. And that makes sense because when users open your app, they want to see those elements on the page, but they don't want just to stare at them. They want to interact with them. They want to use that UI to help them solve their tasks.
00:19 Historically, when we were rendering our components and running tasks in browser-like environments, we had to simulate user events, events like change or click. But since now you're able to tap into the power of actual browser automation, you don't have to do that. You can actually reproduce real user events in the browser because the users hover with
00:37 their mouse and click on your elements and type with their keyboards. And that's exactly what you should do in your tests as well. In this exercise, your task will be to expand on the existing test and actually interact with those elements, to fill in the discount code and click on the button to submit it. So follow the instructions in the task suite and have the task passing.
00:57 And as always, once you're done, come back so we can discuss the solution together.