typhoon-hil / allure-docx

docx report generation based on allure-generated json files
MIT License
30 stars 14 forks source link

Allure report with @Step is throwing 'type' error #42

Open ujjwalkeshri opened 1 year ago

ujjwalkeshri commented 1 year ago

I am testing allure-docx on windows with TestNG framework to convert allure report into word format. My allure-report has @Step("") --> import from (import io.qameta.allure.Step). And when I am trying to convert this into doc I am getting 'type' error and word is not being generated. Can you please tell me how to resolve this ?

image

Thanks

bjarnesc commented 12 months ago

You seem to have an attachement that has no type (like "image"). I am not sure if this is supposed to be common behaviour. As of now the library only supports image types to print but should just ignore attachements that have a different type. However if the "type" key is missing, it will throw this error.

If you could provide the json results, this would help.