Closed grasshopper7 closed 3 years ago
Describe the bug The '✽' symbol is displayed in the stacktrace of the 'scenario-detail' page. This is on the line detailing the feature file location details. I am using the version 2.5.0, on windows.
To Reproduce Steps to reproduce the behavior:
Expected behavior The '?' or '✽' should be displayed. Seen the '?' in other reporting solutions but cucumber console displays '✽'. The later seems to be the correct, as per this - https://utf8-chartable.de/unicode-utf8-table.pl?start=9920&number=128&names=-&utf8=char. The relevant symbol is third from the bottom.
Maybe decoding the error_message byte array, by using the UTF_8 Charset could fix this.
Attachments Cucumber JSON report : result": { "error_message": "java.lang.AssertionError: error\r\n\tat stepdefs.Stepdefs.throwException (Stepdefs.java:48)\r\n\tat ✽.Throw exception(classpath:stepdefs/experiment.feature:15)\r\n",
result": { "error_message": "java.lang.AssertionError: error\r\n\tat stepdefs.Stepdefs.throwException (Stepdefs.java:48)\r\n\tat ✽.Throw exception(classpath:stepdefs/experiment.feature:15)\r\n",
Additional context Add any other context about the problem here.
Thanks for reporting this - will look into it for the next release.
This is just taken from the json as is. So the error must be before the report generation which is out of Cluecumber's scope.
Describe the bug The '✽' symbol is displayed in the stacktrace of the 'scenario-detail' page. This is on the line detailing the feature file location details. I am using the version 2.5.0, on windows.
To Reproduce Steps to reproduce the behavior:
Expected behavior The '?' or '✽' should be displayed. Seen the '?' in other reporting solutions but cucumber console displays '✽'. The later seems to be the correct, as per this - https://utf8-chartable.de/unicode-utf8-table.pl?start=9920&number=128&names=-&utf8=char. The relevant symbol is third from the bottom.
Maybe decoding the error_message byte array, by using the UTF_8 Charset could fix this.
Attachments Cucumber JSON report :
result": { "error_message": "java.lang.AssertionError: error\r\n\tat stepdefs.Stepdefs.throwException (Stepdefs.java:48)\r\n\tat ✽.Throw exception(classpath:stepdefs/experiment.feature:15)\r\n",
Additional context Add any other context about the problem here.