pretty_face icon indicating copy to clipboard operation
pretty_face copied to clipboard

Step messages not diaplayed in results

Open uscengineer opened this issue 11 years ago • 0 comments

If I output to the normal HTML any "puts" show up. However if I use the pretty_face output they do not. Normally we don't print in the steps but needed it for only one scenario. To env.rb I added: Before do |scenario| $world = self end

In the step I used: $world.puts "Fruit name: #{fruit_name}"

When outputting to html it shows up as

  • Fruit name: Washington Apple
  • Any way to have the prints appear in the results file with pretty_face? Thanks.

    uscengineer avatar Feb 09 '14 07:02 uscengineer