Before Success
Before Success + Show Info
To attach INFO to Any steps, use scenario.attach function in your step definitions as shown below.
If you pass HTML's to scenario.attach then reporter will format accordingly
Simple String : scenario.attach('sample data')
Pretty JSON : scenario.attach(JSON.stringify(json, null, 2))
HTML Link : scenario.attach('format the link with html-a tag'
When this feature runs with background Success
Given Fred runs a passing cucumber scenario Success
When he provides cucumber JSON file to reporter Success
Then cucumber-html-reporter should create HTML report Success
After Success