You want to print a message form an after hook to the console when running a scenario. If that scenario fails. Complete the code that will accomplish this. Puts “Something had happened â€
1.If scenario.failed?
2.If scenario.state.failure?
3.If scenario.state.fail
4.If scenario.failed
Posted Date:-2022-11-18 10:30:10