porscheinformatik / cucumber-report-db

Stores results of BDD tests with Cucumber-JVM in a database and provides reporting capabilities
18 stars 21 forks source link

The "< >" symbols used by org.junit.ComparisonFailure are affecting the display of the exception inside the Error Log modal #33

Closed jaubuchon closed 9 years ago

jaubuchon commented 9 years ago

The "< >" symbols used by org.junit.ComparisonFailure are affecting the display of the exception inside the Error Log modal.

Tested browser: Chrome Version 39.0.2171.71 m

Scenario: image

Failed exception displayed in console (pretty-formatter): image

Failed exception displayed in cucumber-report-db: image

Inside the DOM view#1 image

Inside the DOM view#2 image

jaubuchon commented 9 years ago

Maybe enconding the "<" and ">" by "& l t ;" and "& g t ;" (with spaces removed) would resolve the issue?

klausbayrhammer commented 9 years ago

Thanks for the bug report and the perfect analysis! Should be working now - I've deployed a new version on heroku. Before closing the issue I'll try to track down other possible escaping.

jaubuchon commented 9 years ago

Wow! I'm really impressed by the speed you resolved this issue!

I have just deploy the new version and it fixed the problem like a charm!

Tanx a lot Klaus!