Lesson succesful or lesson failed?

When I teach a lesson and the task is performed as said but the result is negativ, has the performance been succesful or did it fail?

I taught r1 to search for the lowest price of a given product on ebay. As long as there are no hurdles on ebay (captchas, overlay adds) it finds the price. But as soon as there are captchas or overlay adds that keeps r1 from „pressing the buttons“ it can‘t perform the necessary steps to find the price anymore.

So…lesson failed or mission complete