#if($scenarioStep.passed) $scenarioStep.description $scenarioStep.duration ms #else $scenarioStep.description $scenarioStep.duration ms + Show Error
$scenarioStep.result
Before 0s + Show Info
Tests INFO will print here.
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 0s
Given Fred runs a passing cucumber step with 2 seconds timeout 2s
When he provides cucumber JSON file to reporter 0s
Then cucumber-html-reporter should create HTML report 0s
Given Fred runs a failing cucumber scenario 0s
When he provides cucumber JSON file to reporter 0s
And
a failing scenario captures a screenshot
0s
Screenshot -
Then cucumber-html-reporter should create HTML report with Screenshot 0s