07:39
And let's just bring the tasks here into scope. And there we go. So we know now that as soon as that is physically missing from the page, we can then check this in the database. This might seem silly, because you might think, well, if it's missing from the page, and sure enough, my test is passed. But if you were, for example, using any kind of state management system that deleted this behind the scenes, and then remove this from the UI, the deletion itself might fail, but it still might be deleted from the UI. So it might end up actually not being deleted. So I'd always recommend adding in a database check in here, even if it's visually missing from the UI. Okay, we'll run that test again. And yeah, sure enough, it passes. We know that this is now working. Okay, so finally, I'm just going to fix up this delete here, because obviously, if this changes at any point, it's just not going to work. So let's go over to our task item. And let's find that delete button that we've got here. And let's assign it a dusk attribute, task delete button. And let's go ahead and swap that over before we continue. So let's go ahead and change that, run the test again. And we're all good, even if that button text changes.