Transcript
00:00 I've added a new test case for user nodes, and they can be found by searching for them. But here's the thing, the test is failing. If I take a closer look at the test results, I can see that the reason it fails is because of this assertion. It tries to find an element by role heading with its accessible name equal to username's notes. But this element is never found, the assertion times out, and the test errors.
00:22 So that probably means that this element is never on the page. Or is it? And this is where I need your help. Debug this failed test, find the root cause for that failure, and fix it. The tricky part here is that the test itself involves multiple steps, so we authenticate as the user, we go to the homepage, we search for a particular note, find the search results, click on the user, and then click on the exact note that we searched for to assert that it's visible.
00:47 It would be really nice if you were able to go through those actions step by step and see them visually as Playwright performs them in your app. And that's exactly what UI mode is built for. And in this exercise, you will use the UI mode in Playwright to help you debug and fix the failing test.
