trivago / cluecumber

Clear and concise reporting for the Cucumber BDD JSON format.
https://www.softwaretester.blog
Apache License 2.0
271 stars 88 forks source link

v 3.0.1 does not show Exception if thrown in step below "Given" #302

Closed OxygeneIV closed 1 year ago

OxygeneIV commented 1 year ago

v 3.0.1 does not show Exception if Assert is triggered in step below "Given"

If we set an assertion in a step below the "Given" step the assertion is not shown in the report. I do get the Exception message if the Assert is made within the Given - step.

v 3.0.0: image

v 3.0.1: image

Assertion set in Step 3

image

bischoffdev commented 1 year ago

Hello, thanks for the report! This is very helpful. Could you please attach an example JSON for your case?

OxygeneIV commented 1 year ago

cucumber_301.json.txt

bischoffdev commented 1 year ago

Will look into it in a moment.

bischoffdev commented 1 year ago

Fixing now...

bischoffdev commented 1 year ago

Fixed in v3.0.2