You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
Any way to have the prints appear in the results file with pretty_face?
Thanks.
The text was updated successfully, but these errors were encountered: