Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ujjwalkeshri opened this issue Jul 14, 2023 · 1 comment
Open

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

ujjwalkeshri opened this issue Jul 14, 2023 · 1 comment

Comments

@ujjwalkeshri
Copy link

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
Copy link

bjarnesc commented Sep 19, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants