added case for failed steps
added story result